Updated README.txt and added Craftbukkit.jar to the classpath when compiling.

This commit is contained in:
sk89q 2011-01-30 14:59:59 -08:00
parent 10b48e9344
commit c37ccb8df4
3 changed files with 9 additions and 43 deletions

View File

@ -1,41 +0,0 @@
Compiling
---------
Compiling WorldEdit requires a number of dependencies due to its dual
support for hMod and Bukkit. However, if you only need to compile WorldEdit
for one or the other, then you only need to compile the relevant files.
(Note that the build script doesn't support compiling for only one or
the other yet.)
Requirements:
- JDK 1.6 or newer
- Apache Ant
Main dependencies:
- truezip.jar (TrueZip)
Downloads at http://repo1.maven.org/maven2/de/schlichtherle/truezip/
hMod dependencies:
- Minecraft_Mod.jar (hMod)
- minecraft_server.jar (Server as distributed by Notch)
Bukkit dependencies:
- minecraft_server_cb.jar (Server as distributed by the Bukkit team; this
version has classes renamed to be friendly and thus is not compatible
with Notch's server distribution)
- CraftBukkit.jar
- Bukkit.jar
All of the files for hMod support reside in the default namespace (root
src/ folder). You can choose to not compile those files (or delete them
altogether) if you do not need hMod support.
For Bukkit support, the files can be found in com.sk89q.worldedit.bukkit,
and you can ignore or delete those files if you do not need Bukkit support.
Note that WorldEdit ties itself to CraftBukkit specifically because one,
the Bukkit API currently lacks some features that allow generated trees
to be undone, and second, there is no other implementation of Bukkit (yet).
To compile, place library .jar files into a lib/ folder and run the
Ant build script with the following line:
ant jar

View File

@ -16,5 +16,11 @@ http://wiki.sk89q.com/wiki/WorldEdit
Thanks
------
- grum for providing the area smooth code.
- toi for the TargetBlock class.
Thanks to the following individuals for their contributions to WorldEdit.
- Erik Broes
- Gunther De Wachter
- Dean Ward
- angelsl
- winzjany
- toi

View File

@ -12,6 +12,7 @@
<fileset dir="${lib.dir}" id="libs">
<include name="truezip.jar" />
<include name="Bukkit.jar" />
<include name="Craftbukkit.jar" />
<include name="GroupUsers.jar" />
<include name="Permissions.jar" />
<include name="js.jar" />