Java Build Properties

Description

Properties for java compilation, JUnit and Jar targets.

Properties

NameDesciptionRequired
build.dirDirectory for build artifacts. All temporary files, class files, jars and wars are stored here. Type: Existing directoryNo; defaults to '${base.dir}/build'
project.nameName of the project. It is also used as the name for Jars and Wars.Yes
lib.dirDirectory containing jar files for the project, e.g., 'lib'. No; defaults to '${base.dir}/${lib.dirname}'
compile.jdk.versionJava compiler version. Type: enum( 1.4, 1.5 )No; defaults to '1.5'
compile.with.debugCompile with debug debug on. Type: bool( true, false )No; defaults to 'True'
test.include.patternAnt pattern specifying what test classes to run as part of JUnit 'test' target. No; defaults to '**/*Test.class'
test.exclude.patternAnt pattern specifying what test classes should be excluded from runningas part of JUnit 'test' target. Set it to **/** if you want to disable running JUnit. No
jar.resources.include.patternList of Ant patterns defining the files that will be included into the jar file along with class files.No; defaults to '**/*.properties **/*.xml **/*.xmi **/*.MF'
package.release.include.patternList of Ant patterns defining the files that will be included into the zip files with the source code.No; defaults to '${src.dirname}/** **/*.xml **/*.properties **/*.xsd **/*.dtd **/*.py **/*.doc **/*.bat **/*.sh **/*.jar **/*.jsp **/*.jspf **/*.gif **/*.html'
package.release.exclude.patternList of Ant patterns defining the files that will excluded from the zip files with the source code.No; defaults to '${build.dirname}/** **/classes/** *.notes **/*generated/** build_gen/**'