MillScript Development

MillScript is currently being developed using two different tools for different purposes. The primary development environment is Eclipse, while distributions are being built with Maven.


The main project files for eclipse(".project" and ".classpath") are already checked into CVS. In order to build MillScript in Eclipse you will need to set two classpath variables, JUNIT_LIB and POSTGRES_LIB. These variables should point to an installed junit.jar and postgres.jar. From the Eclipse help: You can setup new classpath variables by selecting Window > Preferences, expand the Java category and select Classpath Variables.


MillScript is built with Maven 2 and only requires minimal configuration to build MillScript and it's associated libraries. In order to build any of the MillScript projects available you must install three JARs into your local repository. Run the following two commands from with the MillScript-VFS project to install the required GNU activation and inetlib libraries:

mvn install:install-file -Dfile=./lib/activation-1.1.1.jar -DgroupId=gnu -DartifactId=activation -Dversion=1.1.1 -Dpackaging=jar
mvn install:install-file -Dfile=./lib/inetlib-1.1.1.jar -DgroupId=gnu -DartifactId=inetlib -Dversion=1.1.1 -Dpackaging=jar

Now run the following command from within the MillScript project to install the required line editing and command line option parsing libraries:

mvn install:install-file -Dfile=./lib/te-common-3.0.0-pre3.jar -DgroupId=com.townleyenterprises -DartifactId=te-common -Dversion=3.0.0-pre3 -Dpackaging=jar