-
Notifications
You must be signed in to change notification settings - Fork 1
Ant How To For building SMEE packages
Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of Java applications.
But Ant can easily used to build and deploy any kind of software, even for building a Starbound mod.
First if you haven't download a Eclipse distribution: http://www.eclipse.org/downloads/ Good thing besides using it for Ant is, there are also plugins for JSON and LUA.
Setup a new empty Projekt named "Starbound-Mass-Effect-Edition". Copy your contents of your Starbound-Mass-Effect-Edition folder in this new one (also .git).
Hit F5 to refresh your project. You now see all SMEE files in your Package Explorer.
Now click on "External Tools" the green play button with the suitcase in the icon bar. Click on External Tool configuration. Create a new launch configuration.
In the main tab add:
Buildfile: ${workspace_loc:/Starbound-Mass-Effect-Edition/ant/buildSMEE.xml}
Base Directory: ${workspace_loc}
In the JRE tab you may have to adjust the jre path. This happens if you have installed more than one Java runtime parallel. Like me, I installed 64 and 32 bit parralel. If you only have one Java Runtime, you can skip this.