Created a custom build.xml file, took out the Netbeans projects file, and made a version number file.
Now the build file is custom to this project.
- 'ant compile' will compile all the src/ files into classes/
- 'ant dist' or just 'ant' will make an executable jar file in dist/ with a version number tacked onto it
- 'ant clean' cleans out classes/ (but not dist/)
Version number will now be available from ShootTheMoon if the project is built using 'ant dist' otherwise the version number will appear to be 'development'
You can still use Netbeans fairly easily by making a project using existing sources and an existing build.xml, the default ant calls should work. You will need to add src/ as a source directory when it asks you to.