forked from Bukkit/Bukkit
-
Notifications
You must be signed in to change notification settings - Fork 22
Compiling
FrozenCow edited this page Jan 3, 2011
·
12 revisions
Bukkit primarily uses Maven to build and package from source to jar, but you can also use ant if you're used to that.
Go to the root of your local repository (where build.xml
is located) and execute the following:
ant
To get Maven do the following:
- Windows (requires Cygwin) http://maven.apache.org/download.html#Installation
- Ubuntu
sudo apt-get install maven2
- Arch Linux (note: Maven will be installed under
/opt/maven/bin/mvn
)
sudo pacman -S maven
Go to the root of your local repository (where pom.xml
is located) and execute the following:
mvn install
Maven will compile and create a jar file. If this executed successfully, target/bukkit-0.0.1-SNAPSHOT.jar
has been created.
To clean your directory use:
mvn clean