projectCreator

Generates an Ant buildfile or Eclipse project.

projectCreator [-ant projectName] [-eclipse projectName] [-out dir] [-overwrite] [-ignore]

-antGenerate an Ant buildfile to compile source (.ant.xml will be appended)
-eclipseGenerate an eclipse project
-outThe directory to write output files into (defaults to current)
-overwriteOverwrite any existing files
-ignoreIgnore any existing files; do not overwrite

Example

 ~/Foo> projectCreator -ant Foo -eclipse Foo
 Created directory src
 Created directory test
 Created file Foo.ant.xml
 Created file .project
 Created file .classpath

Running ant -f Foo.ant.xml will compile src into bin. The buildfile also contains a package target for bundling the project into a jar.

.project can be imported into an Eclipse workspace.