forked from EngineHub/CraftBook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
COMPILING.txt
29 lines (23 loc) · 1.05 KB
/
COMPILING.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Requirements
------------
* Java JDK - http://www.oracle.com/technetwork/java/javase/downloads/index.html
* Apache ANT - http://ant.apache.org/ivy/download.cgi
* Official minecraft server JAR - http://minecraft.net/download.jsp
* hey0's hMod JAR - http://wiki.hey0.net/index.php/Main_Page
* WorldEdit JAR - https://github.com/sk89q/worldedit/downloads
* JFlex (optional) - http://jflex.de/download.html
Directory layout
----------------
craftbook/
<contents of craftbook repo here>
minecraft_server.jar
WorldEdit.jar
Minecraft_Mod.jar
JFlex.jar
Change to the craftbook directory, and execute 'ant' to generate CraftBook.jar,
which you can then install as normal. (see INSTALL.txt) JFlex is not needed for
this operation.
Note that if the grammar definition files (they have the .lex extension), you
must run 'ant run-jflex' for your changes to take effect. Jflex is required
for this operation. It should also be noted that the .lex files re-compiled by
run-jflex are hardcoded, and build.xml must be modified to add new ones.