Skip to content

BuildRunningApplication

melvinzhang edited this page Oct 5, 2014 · 3 revisions

See the documentation for cloning the repository before reading this guide.

In order to build the package, we need to use the build.xml file provided, this tells the system how to build and compile the source code. Right click on build.xml, select Run As -> Ant build.

screenshots/Building%20Package%20using%20Ant%20tool.jpg

screenshots/Build%20Successful.jpg

If everything was successful then a new “build” directory will be created in the Package Explorer and an executable Magarena.jar file will appear in the “release” directory. Double click on Magarena.jar to launch the application.

If the Ant build fails because it can not find the javac compiler, make sure that tools.jar is added to the Ant’s classpath. You can add items to Ant’s classpath from the Ant > Runtime preference page.

Clone this wiki locally