Skip to content

Commit

Permalink
Added compiling information, removed dependency on internal Sun compo…
Browse files Browse the repository at this point in the history
…nents.
  • Loading branch information
sk89q committed Jan 30, 2011
1 parent c37ccb8 commit 9fed59c
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 157 deletions.
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
WorldEdit
=========

WorldEdit is a voxel and block manipulation library for Minecraft. It is
primarily a library but bindings to Bukkit (included) and SPC (external)
are available.

Compiling
---------

Some dependencies are required:

- TrueZip (http://java.net/projects/truezip) provides snapshot reading
- Bukkit (http://bukkit.org/) is a SMP plugin API
- Rhino (http://www.mozilla.org/rhino/) provides a JavaScript engine
- GroupUsers (http://forums.bukkit.org/threads/639/) provides an
permission system for Bukkit
- Permissions (http://forums.bukkit.org/threads/1403/) provides an
permission system for Bukkit

For links to downloads, check out
http://wiki.sk89q.com/wiki/WorldEdit/Development

To compile a .jar, use the Ant build file with the 'jar' target.

ant jar

Contributing
------------

We happily accept contributions. The best way to do this is to fork
WorldEdit on GitHub, add your changes, and then submit a pull request. We'll
look at it, make comments, and merge it into WorldEdit if everything
works out.

Your submissions have to be licensed under the GNU General Public License v3.
8 changes: 2 additions & 6 deletions src/com/sk89q/worldedit/WorldEdit.java
Original file line number Diff line number Diff line change
Expand Up @@ -860,12 +860,8 @@ public void runScript(LocalPlayer player, String filename, String[] args)
try {
engine = new RhinoCraftScriptEngine();
} catch (NoClassDefFoundError e) {
try {
engine = new SunRhinoCraftScriptEngine();
} catch (NoClassDefFoundError e2) {
player.printError("Failed to find an installed script engine.");
return;
}
player.printError("Please install a scripting engine.");
return;
}

engine.setTimeLimit(config.scriptTimeout);
Expand Down
61 changes: 0 additions & 61 deletions src/com/sk89q/worldedit/scripting/SunRhinoContextFactory.java

This file was deleted.

90 changes: 0 additions & 90 deletions src/com/sk89q/worldedit/scripting/SunRhinoCraftScriptEngine.java

This file was deleted.

0 comments on commit 9fed59c

Please sign in to comment.