Created a custom build.xml file, took out the Netbeans projects file, and made a...
commit5cb4df2d30c408290968c5d37d9f8ebf629cd177
authorBen Willard <ben@ben-laptop.(none)>
Wed, 10 Oct 2007 05:09:44 +0000 (10 01:09 -0400)
committerBen Willard <ben@ben-laptop.(none)>
Wed, 10 Oct 2007 11:41:21 +0000 (10 07:41 -0400)
tree717e92b9137c5c45e48570d21b1c46c41a48577e
parent763e6603acd621cd93b8dc47bab9818dcf3d9b2b
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.
build.xml
manifest.mf
nbproject/build-impl.xml [deleted file]
nbproject/genfiles.properties [deleted file]
nbproject/private/private.properties [deleted file]
nbproject/project.properties [deleted file]
nbproject/project.xml [deleted file]
src/shoot_the_moon/ShootTheMoon.java
version.xml [new file with mode: 0644]