| java.lang.Object net.xoetrope.builder.editor.ant.JarBuilder
JarBuilder | public class JarBuilder (Code) | | Class to generate a jar file for distribution. Includes class files, screens
and resources. Uses Ant to build so the Ant jar file needs to be included in
the classpath. The version of Ant used for initial development was 1.5.
|
JarBuilder | public JarBuilder()(Code) | | |
buildJar | public void buildJar(String fileName, String rootDir)(Code) | | Build the jar for the project including classes, screens and resources
Parameters: fileName - The name of the jar file to be built Parameters: rootDir - the root directory of the project |
zipDir | public void zipDir(JarOutputStream jos, Jar jar, String rootDir, String dir)(Code) | | recursive function which builds up the directory based on the new directory
name found
Parameters: zos - ZippedOutputStream for the jar file Parameters: jar - the Ant Jar object used for writing out the file streams Parameters: rootDir - the root directory for the files (the project root) Parameters: dir - the offset dir being build up (as in the case of packages) |
|
|