development-macros 1.1

Summary

JPlate development macros

Import Summary

Import Definitions
FileDescriptionComment
common.xmlContains all JPlate common work. Imports...
utility-macros.xmlContains all JPlate utility functionality. Imports...

Task Definition Summary

Task Definitions
ResourceDescriptionComment
Not DefinedNeeded to use FindBugs. Need this for FindBugs to work.

Macro Definition Summary

Macro Definitions
NameDescriptionURI
compute-class-branchCompute the class' branch information converting dots to OS file separator. By branch the meaning is to convey the branch in the CLASSPATH. The path representation of @{class-name} is stored in property @{property}.http://jplate.sourceforge.net/development
compute-class-infoCompute information about a class - namely its parent dir and file name (less the .class).http://jplate.sourceforge.net/development
javaccDefines a simpler javacc - acting similar to javacc. One does not need to specify each and every JavaCC file - simply provide a root or @{srcdir} location from which to start finding javacc files for invocation with the javacc task. The branch directory from @{destdir} is computed from @{srcdir} and the javacc files found.http://jplate.sourceforge.net/development
releaseCreate a release.http://jplate.sourceforge.net/development
svn-xml-logRetrieve the log information from subversion in XML format.http://jplate.sourceforge.net/development

Details

Macro Definition Details

compute-class-branch

Compute the class' branch information converting dots to OS file separator. By branch the meaning is to convey the branch in the CLASSPATH. The path representation of @{class-name} is stored in property @{property}.

Attribute Definitions
NameDescriptionDefault
class-nameThe fully qualified class name.Not Defined
propertyThe property to set when @{class-name} is converted to path notation.Not Defined
descriptionInformation about this macro call.Not Defined

compute-class-info

Compute information about a class - namely its parent dir and file name (less the .class).

Attribute Definitions
NameDescriptionDefault
class-nameThe fully qualified class name for which a directory and file name are sought.Not Defined
dir-propertyThe name of the property that will hold the directory of @{class-name}.Not Defined
file-propertyThe name of the property that will hold the file name of @{class-name}.Not Defined
descriptionInformation about this macro call.Not Defined

javacc

Defines a simpler javacc - acting similar to javacc. One does not need to specify each and every JavaCC file - simply provide a root or @{srcdir} location from which to start finding javacc files for invocation with the javacc task. The branch directory from @{destdir} is computed from @{srcdir} and the javacc files found.

Attribute Definitions
NameDescriptionDefault
javacchomeThe location of javacc.Not Defined
srcdirThe directory from which to start searching for javacc files.Not Defined
destdirThe directory where javacc should generate - this is really the root directory from which javacc generation will be relative.Not Defined
staticStatic generation flag for javacc.false
listfilesIf true, information will be displayed as to which files are being javac'd.false
descriptionInformation about this macro call.Not Defined

release

Create a release.

Attribute Definitions
NameDescriptionDefault
dirThe directory to create the release files.Not Defined
stage-dirThe staging directory where the created release files will be copied when completed.Not Defined
base-fileThe base name of the tar, zip, bzip and gzip files.Not Defined
base-dirDirectory name where the release when unpacked will reside.@{base-file}
descriptionInformation about this macro call.Not Defined

svn-xml-log

Retrieve the log information from subversion in XML format.

Attribute Definitions
NameDescriptionDefault
dirThe directory in which to gather logging information.Not Defined
fileThe file that will contain the outputted XML.Not Defined
rev-startThe starting revision number.0
rev-endThe ending revision number.HEAD
descriptionInformation about this macro call.Not Defined



PrevUpNext