Common Build Targets
ClearCase
Code Quality: Static Analysis, Testing, Metrics
JAXB
Text and XML Creation and Modification
Documentation Generation
Other
ClearCase
cc.apply.label.to.dir - apply a given label to a directory and all files and dirs under it
- vob.root - the clearcase vob directory that your project is using
- root.dir - the root directory for the location of this projects WSAD projects
- cc.workspace.project - the name of any project within your workspace
- vob.dir - the directory which contains the dir to label
- cc.label - the clearCase label to use
- cc.dir.to.label - the directory on which to apply the label
cc.apply.label.to.file - apply a label to a single file
- vob.root - the clearcase vob directory that your project is using
- root.dir - the root directory for the location of this projects WSAD projects
- cc.workspace.project - the name of any project within your workspace
- vob.dir - the directory which contains the file to label
- cc.label - the clearCase label to use
- cc.file.to.label - the file on which to apply the label
cc.create.label - create a label
- vob.root - the clearcase vob directory that your project is using
- root.dir - the root directory for the location of this projects WSAD projects
- cc.workspace.project - the name of any project within your workspace
- vob.dir - the directory which contains the file to label
- cc.label - the clearCase label to create
CC.Show.My.Checkouts.and.Private.View.Files - show all files checked out AND those files not yet under ClearCase control
- cc.workspace.project - the name of any project within your workspace
- cc.check.root.dir - the directory to start checking from
Code Quality: Static Analysis, Testing, Metrics
checkstyle - run the CheckStyle static analysis reporter
- vob.root - the clearcase vob directory that your project is using
- root.dir - the root directory for the location of this projects WSAD projects
- cc.workspace.project - the name of any project within your workspace
- source.dir - the directory containing the source code
- report.dir - the directory where to write the resulting report to
CloverJ2EE - recompile a project with Clover (NOTE: this still needs the report task to be done - under construction)
- vob.root - the clearcase vob directory that your project is using
- root.dir - the root directory for the location of this projects WSAD projects
- cc.workspace.project - the name of any project within your workspace
- project.name - WSAD name of the project to be Clover'd
- source.dir - the directory containing the source code
- test.source.dir - the directory containing the test source code
- classes.dir - the directory containing the compiled classes
- report.dir - the directory where to write the resulting report to
- html.title - the title to use on the HTML reports
cpd - detect copy-paste blocks of code
- vob.root - the clearcase vob directory that your project is using
- root.dir - the root directory for the location of this projects WSAD projects
- cc.workspace.project - the name of any project within your workspace
- source.dir - the directory containing the source code
- report.dir - the directory where to write the resulting report to
FindBugsJ2EE - run the FindBugs code analysis reporter
- vob.root - the clearcase vob directory that your project is using
- root.dir - the root directory for the location of this projects WSAD projects
- cc.workspace.project - the name of any project within your workspace
- project.name - WSAD name of the project to be checked
- source.dir - the directory containing the source code
- classes.dir - the directory containing the compiled classes
- report.dir - the directory where to write the resulting report to
javancss - run the source code metrics reporter
- vob.root - the clearcase vob directory that your project is using
- root.dir - the root directory for the location of this projects WSAD projects
- cc.workspace.project - the name of any project within your workspace
- source.dir - the directory containing the source code
- report.dir - the directory where to write the resulting report to
jdepend - run the class dependency reporter
- vob.root - the clearcase vob directory that your project is using
- root.dir - the root directory for the location of this projects WSAD projects
- cc.workspace.project - the name of any project within your workspace
- source.dir - the directory containing the source code
- classes.dir - the directory containing the compiled classes
- report.dir - the directory where to write the resulting report to
junit - run the JUnit tests and reporter
- vob.root - the clearcase vob directory that your project is using
- root.dir - the root directory for the location of this projects WSAD projects
- cc.workspace.project - the name of any project within your workspace
- test.source.dir - the directory containing the source code
- classes.dir - the directory containing the compiled classes
- report.dir - the directory where to write the resulting report to
pmd - run the project mess detector reporter
- vob.root - the clearcase vob directory that your project is using
- root.dir - the root directory for the location of this projects WSAD projects
- cc.workspace.project - the name of any project within your workspace
- source.dir - the directory containing the source code
- report.dir - the directory where to write the resulting report to
JAXB
jaxb - run the JAXB compiler
- jaxb.package - name of the package
- jaxb.schema - name of the schema to use
- jaxb.target - where to create the classes
jaxb.with.classpath - run the JAXB compiler with given classpath
- jaxb.package - name of the package
- jaxb.schema - name of the schema to use
- jaxb.target - where to create the classes
- jaxb.classpath - classpath to use
jaxb.with.classpath.nopackage - run the JAXB compiler with given classpath, but without a globally enforced package
- jaxb.schema - name of the schema to use
- jaxb.target - where to create the classes
- jaxb.classpath - classpath to use
Text and XML Creation and Modification
prepend.text.to.file - puts given text at the start of a file
- text.to.prepend - the text to add the start of the file
- file.to.prepend - the file to add the text to
update.manifest - adds custom info to a manifest file
- vob.root - the clearcase vob directory that your project is using
- root.dir - the root directory for the location of this projects WSAD projects
- cc.workspace.project - the name of any project within your workspace
- src.root.dir - the directory containing the source code
- package.name - package name to put into the manifest
- manifest.version - version text to put into the manifest
xmltask.attr.value - set an attribute value into an XML file
- xml.source - source XML file
- xml.dest - the destination XML file
- xml.xpath - XPath for the attribute
- xml.attr - the attribute
- xml.value - the value to set
xmltask.replace.text - replace some value in an XML file
- xml.source - source XML file
- xml.dest - the destination XML file
- xml.xpath - XPath to locate the text
- xml.replace.text - the text to replace with
Documentation Generation
guide.transformer - generate guides using a stylesheet
- gt.basedir - directory to read the guides to be transformed from
- gt.destdir - directory to write the generated guides to
- gt.stylesheet - the stylesheet to be used when transforming the guides
javadoc - generate JavaDocs
- vob.root - the clearcase vob directory that your project is using
- root.dir - the root directory for the location of this projects WSAD projects
- cc.workspace.project - the name of any project within your workspace
- javadoc.dir - directory where to generate the JavaDocs to
- source.dir - the directory containing the source code
- classes.dir - the directory containing the compiled classes
- html.title - the title to use for the generated HTML
Other
NNTP - send a post to a NEWS server
- nntp.server - news server to post to
- nntp.group - news group to post to
- nntp.email - email address of the poster
- nntp.author - who the post is from
- nntp.subject - subject title for the post
- nntp.text - the actual post text
serialver - create the serialVersionUID value for some class(es)
- vob.root - the clearcase vob directory that your project is using
- root.dir - the root directory for the location of this projects WSAD projects
- cc.workspace.project - the name of any project within your workspace
- project.name - WSAD name of the project to be Clover'd
- serialver.package - the package name to be gone over
- serialver.class - the class to create the id for (this property is optional)
DeadEd.com
http://www.deaded.com/staticpages/index.php/commonbuildtargets