dynam is a diminutive build tool to archive, compile and install Java code.
Usage:
In its simplest form, dynam can be invoked without any parameters:
% dynam
Compiling "ZOE"...
Archiving...
Installing...
Done.
Alternatively, dynam can be invoked with the path of the directory to build:
% dynam /Path/To/Directory/To/Build
classpath
dydoc uses Sun’s tools.jar for its inner working. Make sure it’s available somewhere in your classpath.
configuration
dydoc uses 3 optional system properties:
-Dlib.dir=/Path/To/Jars/Directory
lib.dir points to a directory containing all the .jar files necessary to compile the source directory. If not specified, lib.dir defaults to ~/Library/Java.
-Dbin.dir=/Path/To/Install/Directory
bin.dir points to the directory where to install the resulting .jar file. If not specified, bin.dir defaults to lib.dir.
-Djava.io.tmpdir=/Path/To/Tmp/Directory
java.io.tmpdir points to the temporary directory used during the build process.
setup
The easiest way to setup dynam is to create a command line alias for it.
For example, in tcsh, add the following entry to aliases.mine:
alias dynam "java -jar /Path/To/dynam.jar"
Requirements:
· J2SE
Installation:
· Install dynam.jar in your classpath.
Example:
java -jar dynam.jar /Directory/To/Compile
Product's homepage