Ant Script Library: asl-common.xml
Overview
asl-common.xml
contains properties and targets that are
common to all other ASL
modules. In addition, it defines the standard way in which property values
may be overridden through external property files.
Property Override Mechanism
Before any properties are defined, this script tries to load externally defined properties from the following locations:
${user.home}/asl.properties
asl.properties
Any properties defined within those files will override the default values defined within the Ant scripts.
Properties
All properties defined with this module are prefixed with
"common.
".
Name | Default Value | Description |
---|---|---|
common.target-dir |
target |
The target directory for all output from the Ant scripts |
common.dist-dir |
${common.target-dir}/dist |
The directory containing the distributable artifacts from the Ant scripts. |
Targets
clean
Deletes all files generated by the Ant scripts. In effect, it just
deletes the directory ${common.target-dir}
.
-init-time
Initialises the standard time properties ${DSTAMP}
and
${TSTAMP}
, as well as initialising some extra formatted date
properties:
Name | Pattern | Description |
---|---|---|
common.timestamp |
yyyy-MM-dd HH:mm |
A short date. For example: 2009-11-14 13:03 |
common.timestamp-long |
d-MMMM-yyyy HH:mm |
A long date. For example: 14-November-2009 13:03 |
common.year |
yyyy |
The current year. Useful for putting in copyright notices. |
Is there a problem or mistake on this page? Do you want to contribute some changes? Send me an email at joe@exubero.com.