Here's a simple Ant build script for the existing directory structure. Sorry if it duplicates an existing capability. It includes targets suitable for use on the command line or in a NetBeans free-form project.
$ ant -p
Buildfile: build.xml
Main targets:
build Build a jar file.
clean Clean the project.
compile Compile the program.
debug-nb Debug the program in NetBeans.
default Default clean and build.
doc Generate the javadoc.
init Initialize the build process.
run Run the program.
Default target: default
It might be useful to move "com" into a "src" directory and change srcDir in the script. For example
svn mkdir src
svn mv com src/.
svn commit -m "..."
rm -rf com
The packagedirectory.xml file is included, but DirManager would have to be modified to read it from there.
Thanks,
John
Ant build.xml