05 Building the code - oldgreydog/CodeGenerator GitHub Wiki

I've included the project and classpath files for Eclipse since that's the IDE that I use.

The command line build only requires a JDK (I've been using OpenJDK) and ant.

I've included an ant build file in the root directory for command-line builds. Since Linux and Windows have slightly different command lines, I've had to create two different versions of the scripts. For Linux, run:

./java_build

NOTE! All of these scripts have a JAVA_HOME environment variable definition line in them so that if you are using a JDK other than the default JDK installed on your machine, then you can uncomment that line in each and set it to the path for your desired JDK.

The windows versions of the scripts just add ".cmd" on the names (well, they also have semicolons in the -cp list instead of colons used on linux):

java_build.cmd

Release build

There is also a Linux batch file called release_build that will do a clean build of the code and then assemble the same zip file that is put in the project releases.