| Import Definitions | ||
|---|---|---|
| File | Description | Comment |
| ${keros.locale.HOME}/keros-messages.xml | Import local specific messages. | Import locale specific messages. |
| Task Definitions | ||
|---|---|---|
| Resource | Description | Comment |
| Not Defined | Needed to use Castor. | Castor definition... |
| Not Defined | Needed to use FindBugs. | FindBugs definition... |
| net/sf/antcontrib/antlib.xml | Needed to use ant-contrib. | Ant Contrib definition... |
| org/apache/ivy/ant/antlib.xml | Needed to use ivy. | Ivy definition... |
| Macro Definitions | ||
|---|---|---|
| Name | Description | URI |
| ant2html | Converts Ant scripts to HTML | http://keros.sourceforge.net |
| antDoc | Converts Ant scripts to HTML | http://keros.sourceforge.net |
| assert-dir-exists | Determines if @{dir} exists and if not, fails with @{error-msg}. | http://keros.sourceforge.net |
| assert-equal | Determines if @{str1} is equal to @{str2}. If the two are not equal, message defined in @{error-msg} is displayed. | http://keros.sourceforge.net |
| assert-file-exists | Determines if @{file} exists and if not, fails with @{error-msg}. | http://keros.sourceforge.net |
| assert-is-number | Determines if @{number} is a number. If @{number} is not a number, @{error-msg} will be displayed. | http://keros.sourceforge.net |
| assert-not-equal | Determines if @{str1} is not equal to @{str2}. If the two are equal, message defined in @{error-msg} is displayed. | http://keros.sourceforge.net |
| assert-ref-id | Determines if @{ref-id} is a ref id and if not fails with an error message defined in @{error-msg}. | http://keros.sourceforge.net |
| auto-property | Define setting properties using either environment variables or default values. The property entitled @{property} will not be re-set if it is currently defined (set). | http://keros.sourceforge.net |
| basename | Same as Ant's stock basename task - however, this allows the property to be reset. | http://keros.sourceforge.net |
| compute-branch | Compute the branch based upon a root dir, @{root}, and full path, @{full-path}. The branch represents the full path minus the root dir. Please note: if @{root} does not exist in @{full-path}, @{property} will be set with an empty value. | http://keros.sourceforge.net |
| 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}. | http://keros.sourceforge.net |
| compute-class-info | Compute information about a class - namely its parent dir and file name (less the .class). | http://keros.sourceforge.net |
| compute-file-extension | Computes the extension of @{file}. | http://keros.sourceforge.net |
| compute-number-left-trim | Trim preceeding 0's from @{number} and store in the property entitled @{property}. | http://keros.sourceforge.net |
| compute-number-right-trim | Trim ppostceeding 0's from @{number} after decimal and store in the property entitled @{property}. | http://keros.sourceforge.net |
| compute-number-trim | Trim ppostceeding 0's from @{number} after decimal and store in the property entitled @{property}. | http://keros.sourceforge.net |
| compute-replacement | Replace characters from @{str}. The characters to be replaced are contained in @{to-replace}. The replacement characters are contained in @{replacement}. The replaced data is stored in property @{property}. Please note if @{str} does not contain any data in @{to-replace} the value of @{property} will be @{str}. | http://keros.sourceforge.net |
| compute-timestamp | Compute the current time stamp in YYYY-MM-DD_HH-MM-SS. | http://keros.sourceforge.net |
| conditional-set-property | This will conditionally set a property whether. If @{property} is set it will use @{set} otherwise @{unset}. | http://keros.sourceforge.net |
| console-input | Will prompt for input if property not set (or if the @{always} attribute is true). If @{always} is true and @{property} is set and @{default} is empty, the value of @{property} becomes the @{default} value. If the attribute @{required} is true and no value is set for @{property}, this macro will cause a fail to be invoked. Please note that if @{default} is set and input is prompted but the user does not enter anything, the value of @{default} will be used to set the property! | http://keros.sourceforge.net |
| copy | This will copy from @{src} to @{dest-dir}. | http://keros.sourceforge.net |
| copy-dir | This will copy the contents of a directory from @{src-dir} to @{dest-dir}. Please note: if @{dest-dir} does not exist, it will be created. | http://keros.sourceforge.net |
| copy-ref-id | This will copy from @{src-ref-id} to @{dest-dir}. Please note: if @{dest-dir} does not exist, it will be created. | http://keros.sourceforge.net |
| delete-file | Deletes @{file} if @{is-deletable} is yes or true. | http://keros.sourceforge.net |
| dirname | Same as Ant's stock dirname task - however, this allows the property to be reset. | http://keros.sourceforge.net |
| equality-set-property | This will set the value of the property entitled @{name} based upon a comparison to the value contained by the property ${property}. If @{property} equals @{value}, @{name} will be set to @{equal}, otherwise it will be set to @{unequal}. | http://keros.sourceforge.net |
| execute-java-app | Execute a java class whose class name is @{class-property}. If this property is not set, the user will be prompted for the class name. | http://keros.sourceforge.net |
| for | This implements a for loop with starting and ending values for the loop. | http://keros.sourceforge.net |
| HtmlAnchor | Generates an HTML anchor | http://keros.sourceforge.net |
| HtmlAttribute | Generates an HTML attribute | http://keros.sourceforge.net |
| HtmlBreak | Generates n HTML break | http://keros.sourceforge.net |
| HtmlDiv | Generates an HTML unordered list | http://keros.sourceforge.net |
| HtmlDocument | Generates an HTML document | http://keros.sourceforge.net |
| HtmlElement | Generates an HTML element | http://keros.sourceforge.net |
| HtmlFrame | Generates an HTML frame | http://keros.sourceforge.net |
| HtmlFrameSet | Generates an HTML frameset | http://keros.sourceforge.net |
| HtmlHeader | Generates an HTML header | http://keros.sourceforge.net |
| HtmlLeafElement | Generates an HTML element | http://keros.sourceforge.net |
| HtmlLink | Generates an HTML anchor | http://keros.sourceforge.net |
| HtmlText | Generates and HTML text value | http://keros.sourceforge.net |
| HtmlUnorderedList | Generates an HTML unordered list | http://keros.sourceforge.net |
| if-dir-exists | Determines if @{dir} exists and will act accordingly. | http://keros.sourceforge.net |
| if-file-exists | Determines if @{file} exists and will act accordingly. | http://keros.sourceforge.net |
| install-tar-bz2 | Download and install a tar.bz2 | http://keros.sourceforge.net |
| install-tar-gz | Download and install a tar.gz | http://keros.sourceforge.net |
| javacc2java | Defines a simpler javacc - acting similar to javacc. One does not need to specify each and every JavaCC file - simply provide a root or @{src-dir} location from which to start finding javacc files for invocation with the javacc task. The branch directory from @{dest-dir} is computed from @{src-dir} and the javacc files found. | http://keros.sourceforge.net |
| lib-install-file | Install a library jar | http://keros.sourceforge.net |
| lib-install-tar-bz2 | Install a library from an application | http://keros.sourceforge.net |
| lib-install-tar-gz | Install a library from an application | http://keros.sourceforge.net |
| lib-install-zip | Install a library from an application | http://keros.sourceforge.net |
| load-file | This will load a file into a property. If @{property} was already set, it will be overridden. | http://keros.sourceforge.net |
| NavDef | Define a navigation HTML window | http://keros.sourceforge.net |
| NavItem | An item that is navigatable | http://keros.sourceforge.net |
| NavItemIndent | An item that is navigatable | http://keros.sourceforge.net |
| number-compare | Implements a simplistic switch/case for comparing two numbers - less than, greater than, equal to or not equal. | http://keros.sourceforge.net |
| print-ref-id | Print the contents of @{ref-id} to the console. | http://keros.sourceforge.net |
| process-list | Allows one to iterate over a list/files and for each element in the list know the previous, current and next values. | http://keros.sourceforge.net |
| property-default | Give a property a default value if not set | http://keros.sourceforge.net |
| release | Create a release. | http://keros.sourceforge.net |
| set-property | This will set a property whether its set or not. | http://keros.sourceforge.net |
| svn2html | Converts Subversion output to HTML | http://keros.sourceforge.net |
| svn-xml-log | Retrieve the log information from subversion in XML format. | http://keros.sourceforge.net |
| truncate-file-extension | Truncates the extension of @{file}. | http://keros.sourceforge.net |
| unpack | Will untar tar.bz2/tar.gz files as well as unzip zip files | http://keros.sourceforge.net |
| unpack-bz2 | Will bunzip2/untar tar.bz2 files | http://keros.sourceforge.net |
| unpack-gz | Will gunzipz/untar tar.gz files | http://keros.sourceforge.net |
| unpack-tar | Will untar tar files | http://keros.sourceforge.net |
| unpack-zip | Will gunzipz/untar tar.gz files | http://keros.sourceforge.net |
| Script Definitions | |||
|---|---|---|---|
| Name | Language | Description | URI |
| compute-file-modification-date | beanshell | Store the file modification date in @{property}. | http://keros.sourceforge.net |
| compute-locale | beanshell | Sets the locale of the current JVM. | http://keros.sourceforge.net |
| replace-url | beanshell | Converts static text URL to an HTML a-href. | http://keros.sourceforge.net |
| Target Definitions | |||
|---|---|---|---|
| Name | Depends | Unless | Description |
| keros.print-properties | Not Defined | Not Defined | Not Defined |
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| basedir | The directory in which to start searching for Ant scripts. | Not Defined |
| dest-dir | The directory in which the transformation will occur. | Not Defined |
| includes | The file pattern to include when transforming. | Not Defined |
| version | The version number/value to include in the heading. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{basedir} = the directory in which to start searching for Ant scripts.
@{dest-dir} = the directory in which the transformation will occur.
@{includes} = the file pattern to include when transforming.
@{version} = the version number/value to include in the heading.
@{description} = information about calling this macro.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| dir | The directory to start recursively applying AntDoc. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{dir} = the directory to start recursively applying AntDoc.
@{description} = information about calling this macro.
@{dir} exists and if not, fails with @{error-msg}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| dir | The name of the directory that should exist. | Not Defined |
| error-msg | The message to display if @{dir} does not exist. | ${keros.assert-dir-exists.error-msg} |
| description | Information about this macro call. | Not Defined |
@{dir} exists and if not, fails with @{error-msg}.
Attributes
@{dir} = the name of the directory that should exist.
@{error-msg} = the message to display if @{dir} does not exist.
@{description} = information about calling this macro.
@{str1} is equal to @{str2}. If the two are not equal, message defined in @{error-msg} is displayed.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| str1 | Compared to @{str2}. | Not Defined |
| str2 | Compared to @{str1}. | Not Defined |
| error-msg | The message to display if @{str1} not equal to @{str2}. | ${keros.assert-equal.error-msg} |
| description | Information about this macro call. | Not Defined |
@{str1} is equal to @{str2}. If the two are not equal,
message defined in @{error-msg} is displayed.
Attributes
@{str1} = compared to @{str2}.
@{str2} = compared to @{str1}.
@{error-msg} = if @{str1} not equal to @{str2}, the message when failing will be displayed.
@{description} = information about calling this macro.
@{file} exists and if not, fails with @{error-msg}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The name of the file that should exist. | Not Defined |
| error-msg | The message to display if @{file} does not exist. | ${keros.assert-file-exists.error-msg} |
| description | Information about this macro call. | Not Defined |
@{file} exists and if not, fails with @{error-msg}.
Attributes
@{file} = the file that should exist.
@{error-msg} = if @{dir} does not exist, the message to display.
@{description} = information about calling this macro.
@{number} is a number. If @{number} is not a number, @{error-msg} will be displayed.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| number | Used to determine if a number or not. | Not Defined |
| error-msg | The message to display if @{number} is not a number. | ${keros.assert-is-number.error-msg} |
| description | Information about this macro call. | Not Defined |
@{number} is a number. If @{number} is not a number,
@{error-msg} is displayed.
Attributes
@{number} = used to determine if a number.
@{error-msg} = if @{number} is not a number, the message to be displayed.
@{description} = information about calling this macro.
@{str1} is not equal to @{str2}. If the two are equal, message defined in @{error-msg} is displayed.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| str1 | Compared to @{str2}. | Not Defined |
| str2 | Compared to @{str1}. | Not Defined |
| error-msg | The message to display if @{str1} equals @{str2}. | ${keros.assert-not-equal.error-msg} |
| description | Information about this macro call. | Not Defined |
@{str1} is not equal to @{str2}. If the two are equal,
message defined in @{error-msg} is displayed.
Attributes
@{str1} = compared to @{str2}.
@{str2} = compared to @{str1}.
@{error-msg} = if @{str1} equal to @{str2}, the message when failing will be displayed.
@{description} = information about calling this macro.
@{ref-id} is a ref id and if not fails with an error message defined in @{error-msg}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| ref-id | The name of the ref id that should be a ref id. | Not Defined |
| error-msg | The message to display if @{ref-id} is not a ref id. | ${keros.assert-ref-id.error-msg} |
| description | Information about this macro call. | Not Defined |
@{ref-id} is a ref id and if not fails with an error
message defined in @{error-msg}.
Attributes
@{ref-id} = the name of the ref id that "should" be a ref id.
@{error-msg} = if @{property} is not set, the message when failing will be displayed.
@{description} = information about calling this macro.
@{property} will not be re-set if it is currently defined (set).
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| property | The name of the property to set. | Not Defined |
| default | The default value to use if the property named, @{property}, is not set. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{property} will not be re-set
if it is currently defined (set).
Attributes
@{property} = the name of the property to set.
@{default} = default value to use if the property named @{property} is not set.
@{description} = information about calling this macro.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The path to take the basename of. | Not Defined |
| property | The name of the property to set. | Not Defined |
| suffix | The suffix to remove from the resulting basename (specified either with or without the .). | Not Defined |
| prepend | Information to prepend to property's value. | Not Defined |
| append | Information to append to property's value. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{file} = the path to take the basename of.
@{property} = the name of the property to set.
@{suffix} = the suffix to remove from the resulting basename (specified either with or without the ".").
@{prepend} = information to prepend to property's value.
@{append} = information to append to property's value.
@{description} = information about calling this macro.
@{root}, and full path, @{full-path}. The branch represents the full path minus the root dir. Please note: if @{root} does not exist in @{full-path}, @{property} will be set with an empty value.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| root | The root of the path defined in @{full-path}. | Not Defined |
| full-path | The absolute path for which @{root} is the root of the path and the branch computed is this path minus the root. | Not Defined |
| property | The property to set with the branch. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{root}, and full path, @{full-path}. The
branch represents the full path minus the root dir. Please note: if @{root} does not
exist in @{full-path}, @{property} will be set with an empty value.
Attributes
@{root} = the root of the path defined in @{full-path}.
@{full-path} = the absolute path for which @{root} is the root of the path and
the branch computed is this path minus the root.
@{property} = the property to set with the branch.
@{description} = information about calling this macro.
Example
@{root} = /foo/bar/alpha
@{full-path} = /foo/bar/alpha/beta/theta/zeta
Result
@{property} = beta/theta/zeta.
Example
@{root} = /hello/world
@{full-path} = /foo/bar/alpha/beta/theta/zeta
Result
@{property} =
@{class-name} is stored in property @{property}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| class-name | The fully qualified class name. | Not Defined |
| property | The property to set when @{class-name} is converted to path notation. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{class-name} is stored in property @{property}
Attributes
@{class-name} = the fully qualified class name to convert.
@{property} = the property to store the class branch information.
@{description} = information about calling this macro.
Example
@{class-name} = com.foo.bar.Alpha
Result
@{property} = com/foo/bar/Alpha
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| class-name | The fully qualified class name for which a directory and file name are sought. | Not Defined |
| dir-property | The name of the property that will hold the directory of @{class-name}. | Not Defined |
| file-property | The name of the property that will hold the file name of @{class-name}. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{class-name} = the fully qualified name of a class for which the directory name and file name are sought.
@{dir-property} = the name of the property that will hold the directory of @{class-name}.
@{file-property} = the name of the property to store the file name of @{class-name}.
@{description} = information about calling this macro.
Example
@{class-name} = com.foo.bar.Alpha
Result
@{dir-property} = com/foo/bar
@{file-property} = Alpha
@{file}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The name of the file for whom we wish to compute the extension. | Not Defined |
| property | The name of the property to set. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{property}.
Attributes
@{file} = the name of the file for whom we wish to compute the extension.
@{property} = the name of the property to set.
@{description} = information about calling this macro.
@{number} and store in the property entitled @{property}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| property | The name of the property to store the results of triming preceeding 0's from @{number}. | Not Defined |
| number | The number who will have preceeding 0's trimmed. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{number} and store in the property
Attributes
@{property} = the name of the property to store the results of triming preceeding 0's from @{number}.
@{number} = the number who will have preceeding 0's trimmed.
@{description} = information about calling this macro.
Example
@{number} = 0030006
Result
@{property} = 30006
@{number} after decimal and store in the property entitled @{property}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| property | The name of the property to store the results of triming postceeing 0's from decimal point from @{number}. | Not Defined |
| number | The number who will have preceeding 0's trimmed. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{number} after decimal and store in the property
entitled @{property}.
Attributes
@{property} = the name of the property to store the results of triming postceeding 0's from @{number}.
@{number} = the number who will have preceeding 0's trimmed.
@{description} = information about calling this macro.
Example
@{number} = 30006.123980192830000
Result
@{property} = 30006.12398019283
@{number} after decimal and store in the property entitled @{property}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| property | The name of the property to store the results of triming postceeing 0's from decimal point from @{number}. | Not Defined |
| number | The number who will have preceeding 0's trimmed. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{number} after decimal and store in the property
entitled @{property}.
Attributes
@{property} = the name of the property to store the results of triming postceeding 0's from @{number}.
@{number} = the number who will have preceeding 0's trimmed.
@{description} = information about calling this macro.
Example
@{number} = 000030006.123980192830000
Result
@{property} = 30006.12398019283
@{str}. The characters to be replaced are contained in @{to-replace}. The replacement characters are contained in @{replacement}. The replaced data is stored in property @{property}. Please note if @{str} does not contain any data in @{to-replace} the value of @{property} will be @{str}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| str | The string containing characters to be replaced. | Not Defined |
| to-replace | The characters to replace in @{str}. | Not Defined |
| replacement | The replacement characters that will replace @{to-replace} in @{str}. | Not Defined |
| property | The name of the property to hold the replaced characters. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{str}. The characters to be replaced are contained in
@{to-replace}. The replacement characters are contained in @{replacement}. The
replaced data is stored in property @{property}. Please note: if @{str} does not
contain any data in @{to-replace} the value of @{property} will be @{str}.
Attributes
@{str} = the string containing characters to be replaced.
@{to-replace} = the characters to replace in @{str}.
@{replacement} = replacement characters that will replace @{to-replace} in @{str}.
@{property} = the property to store the class branch information.
@{description} = information about calling this macro.
Example
@{str} = Hello World
@{to-replace} = lo Wo
@{replacement} = YES
Result
@{property} = HelYESrld
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| property | The property to set with the current time stamp. | Not Defined |
| prefix | The prefix for property when time stamp is computed and stored in @{property}. | Not Defined |
| suffix | The suffix for property when time stamp is computed and stored in @{property}. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{property} = the property to set with the current time stamp.
@{prefix} = the prefix for property when time stamp is computed and stored in @{property}.
@{suffix} = the suffix for property when time stamp is computed and stored in @{property}.
@{description} = information about calling this macro.
Example
@{prefix} = foo_
@{suffix} = _bar
@{property} = foo_2005-02-10_11-05-30_bar
@{property} is set it will use @{set} otherwise @{unset}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| name | The name of the property to set. | Not Defined |
| property | The name of the property to examine to see if set. | Not Defined |
| set | The value to use if @{property} is set. | Not Defined |
| unset | The value to use if @{property} is not set. | Not Defined |
| is-warnable | A flag, if true states a warning should be displayed - anything else no warning is outputted. | true |
| warning-msg | if set to anything and the property named, name, is set, will echo the value of this param. Please note, the property will still be set. | ${keros.conditional-set-property.warning-msg} |
| description | Information about this macro call. | Not Defined |
@{name}. If @{property} is set, then the
value of @{set} is used, otherwise the value of @{unset} is used.
Attributes
@{name} = the name of the property to set.
@{property} = the name of the property to examine to see if set.
@{set} = the value to use if @{property} is set.
@{unset} = the value to use if @{property} is not set.
@{is-warnable} = a flag, if true implies a warning should be displayed (if @{property}
is currently set), or false no warning message.
@{warning-msg} = if set to anything and the property named, name, is set, will
echo the value of this param. Please note, the property will
still be set.
@{description} = information about calling this macro.
@{always} attribute is true). If @{always} is true and @{property} is set and @{default} is empty, the value of @{property} becomes the @{default} value. If the attribute @{required} is true and no value is set for @{property}, this macro will cause a fail to be invoked. Please note that if @{default} is set and input is prompted but the user does not enter anything, the value of @{default} will be used to set the property!
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| prompt | When requesting input, the message to display. | Not Defined |
| property | The property to set. | Not Defined |
| default | The default value to use if upon input, nothing entered. | Not Defined |
| always | If true will prompt for input regardless if property has been set. | false |
| required | If true, after input the property must be set or failure will occur. | true |
| error-msg | If @{property} is required and no value set, the error message to display. | ${keros.console-input.error-msg} |
| description | Information about this macro call. | Not Defined |
@{always} attribute is true). If @{always} is true
and @{property} is set and @{default} is empty, the value of @{property} becomes the @{default} value.
If the attribute @{required} is true and no value is set for @{property}, this macro will cause a fail
to be invoked. Please note that if @{default} is set and input is prompted but the user does not enter
anything, the value of @{default} will be used to set the property!
Attributes
@{prompt} = when requesting input, the message to display.
@{property} = the property to set.
@{default} = the default value to use if upon input, nothing entered.
@{always} = if true will prompt for input regardless if property has been set.
@{required} = if true, after input the property must be set or failure will occur.
@{error-msg} = if @{property} is required and no value set, the error message to display.
@{description} = information about calling this macro.
@{src} to @{dest-dir}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| src | The source to copy from - be it a file, dir or ref id. | Not Defined |
| dest-dir | The directory to copy to. | Not Defined |
| error-msg | Error message to display if @{src} does not exist or is not a file, dir or ref id. | ${keros.copy.error-msg} |
| description | Information about this macro call. | Not Defined |
@{src} to @{dest-dir}.
If @{src} represents:
@{dest-dir} does not exist, it will be created.
Attributes
@{src} = the source to copy from - be it a file dir or ref id.
@{dest-dir} = the directory to copy files to.
@{error-msg} = the error message to display if @{src} does not exist or
is not a file, dir or ref id.
@{description} = information about calling this macro.
@{src-dir} to @{dest-dir}. Please note: if @{dest-dir} does not exist, it will be created.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| src-dir | The source dir copy from. | Not Defined |
| dest-dir | The directory to copy to. | Not Defined |
| error-msg | Error message to display if @{src-dir} does not exist. | ${keros.copy-dir-set-property.error-msg} |
| description | Information about this macro call. | Not Defined |
@{src-dir} to @{dest-dir}.
Please note: if @{dest-dir} does not exist, it will be created.
Attributes
@{src-dir} = the source to copy from.
@{dest-dir} = the directory to copy files to.
@{error-msg} = the error message to display if @{src-dir} does not exist.
@{description} = information about calling this macro.
@{src-ref-id} to @{dest-dir}. Please note: if @{dest-dir} does not exist, it will be created.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| src-ref-id | The source to copy from - be it a file, dir or ref id. | Not Defined |
| dest-dir | The directory to copy to. | Not Defined |
| error-msg | Error message to display if @{src-ref-id} is not a ref id. | ${keros.copy-ref-id.error-msg} |
| description | Information about this macro call. | Not Defined |
@{src-ref-id} to @{dest-dir}.
Please note: if @{dest-dir} does not exist, it will be created.
Attributes
@{src-ref-id} = the source ref id to copy from.
@{dest-dir} = the directory to copy files to.
@{error-msg} = the error message to display if @{src-ref-id} is not a ref-id.
@{description} = information about calling this macro.
@{file} if @{is-deletable} is yes or true.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | A file to delete if @{is-deletable} is true or yes. | Not Defined |
| is-deletable | If yes or true, @{file} will be removed. | true |
| description | Information about this macro call. | Not Defined |
@{file} if @{is-deletable} is yes or true.
Attributes
@{file} = the file to be deleted.
@{is-deletable} = flag, if true/yes (case insensitive) @{file} will be deleted.
@{description} = information about calling this macro.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The path to take the basename of. | Not Defined |
| property | The name of the property to set. | Not Defined |
| prepend | Information to prepend to property's value. | Not Defined |
| append | Information to append to property's value. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{file} = the path to take the dirname of.
@{property} = the name of the property to set.
@{prepend} = information to prepend to property's value.
@{append} = information to append to property's value.
@{description} = information about calling this macro.
@{name} based upon a comparison to the value contained by the property ${property}. If @{property} equals @{value}, @{name} will be set to @{equal}, otherwise it will be set to @{unequal}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| name | The name of the property to set. | Not Defined |
| property | The name of the property to examine for equality/inequality. | Not Defined |
| value | The value to compare against @{property}. | Not Defined |
| equal | the value to use if @{property} equals @{value}. | Not Defined |
| unequal | The value to use if @{property} not equal to @{value}. | Not Defined |
| is-warnable | A flag, if true states a warning should be displayed - anything else no warning is outputted. | true |
| warning-msg | The message to emit if @{name} is currently set. | ${keros.equality-set-property.warning-msg} |
| description | Information about this macro call. | Not Defined |
@{name} based upon a comparison to the value contained
by the property ${property}. If @{property} equals @{value}, @{name} will be set to @{equal},
otherwise it will be set to @{unequal}.
Attributes
@{name} = the name of the property to set.
@{property} = the name of the property to examine to see if set.
@{value} = the value to compare @{property} to.
@{equal} = the value to use if @{property} equals @{value}.
@{unequal} = the value to use if @{property} is not equal to @{value}.
@{is-warnable} = a flag, if true states a warning should be displayed - anything
else no warning is outputted.
@{warning-msg} = The message to emit if @{name} is currently set.
@{description} = information about calling this macro.
@{class-property}. If this property is not set, the user will be prompted for the class name.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| class-property | The name of the property who has the fully qualified class name to execute. | Not Defined |
| class-path-ref | The class path for executing the java app. | Not Defined |
| args-property | The name of the property who has the arguments to pass to the class. | Not Defined |
| class-prompt-msg | The message to use if the property defined by class-property name has not been set. | ${keros.execute-java-app.class-prompt-msg} |
| args-prompt-msg | The message to use if the property defined by args-property name has not been set. | ${keros.execute-java-app.args-prompt-msg} |
| description | Information about this macro call. | Not Defined |
@{class-property}. If this property
is not set, the user will be prompted for the class name.
Attributes
@{description} = information about calling this macro.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| property | The name of the property that will contain the current value of the loop. | Not Defined |
| start | The start value of the loop. | 1 |
| end | The end value of the loop | Not Defined |
| inc | The value to increment (or decrement) when looping. | 1 |
| description | Information about this macro call. | Not Defined |
@{property} = the name of the property that will contain the current value of the loop.
@{start} = the start value of the loop.
@{end} = the end value of the loop.
@{inc} = value to increment (or decrement) while looping.
@{description} = information about calling this macro.
Elements
@{loop} = the children will be executed for each iteration of the loop.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The file to write the anchor to | Not Defined |
| charset | Description unavailable | Not Defined |
| coords | Description unavailable | Not Defined |
| href | Description unavailable | Not Defined |
| hreflang | Description unavailable | Not Defined |
| name | Description unavailable | Not Defined |
| rel | Description unavailable | Not Defined |
| rev | Description unavailable | Not Defined |
| shape | Description unavailable | Not Defined |
| target | Description unavailable | Not Defined |
| type | Description unavailable | Not Defined |
| text | The text of the anchor | Not Defined |
| description | Description unavailable | Not Defined |
@{file}. Please see the attributes for real HTML
anchor for a description of attributes charset - type.
Attributes
@{file} = the file to write the anchor to.
@{text} = the text for the anchor
@{description} = information about calling this macrodef.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The file to write the attribute and value to | Not Defined |
| name | The literal attribute name | Not Defined |
| value | The literable attribute value | Not Defined |
| description | Information about calling this macrodef | Not Defined |
@{file}. If value is empty ("") nothing
is emitted to @{file}.
Attributes
@{file} = the file to write the attribute to.
@{name} = the name of the attribute.
@{value} = the value of the attribute.
@{description} = information about calling this macrodef.
Example
@{file} = /foo/bar.html
@{name} = theta
@{value} = beta
Result
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | File to write the HTML break to | Not Defined |
| description | Description unavailable | Not Defined |
@{file}.
Attributes
@{file} = the file to write the break to.
@{description} = information about calling this macrodef.
Example
@{file} = /foo/bar.html
Result
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The file to write the anchor to | Not Defined |
| class | Description unavailable | Not Defined |
| id | Description unavailable | Not Defined |
| style | Description unavailable | Not Defined |
| title | Description unavailable | Not Defined |
| dir | Description unavailable | Not Defined |
| lang | Description unavailable | Not Defined |
| accesskey | Description unavailable | Not Defined |
| tabindex | Description unavailable | Not Defined |
| description | Description unavailable | Not Defined |
@{file}. Please see the attributes for real HTML
div for a description of attributes charset - type.
Attributes
@{file} = the file to write the div to.
@{description} = information about calling this macrodef.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The file to write the html element to | Not Defined |
| description | Description unavailable | Not Defined |
@{file}.
Attributes
@{file} = the file to write the html element to.
@{description} = information about calling this macrodef.
Elements
@{HtmlDocumentBody} = the body of the HTML dcoument element.
Example
@{file} = /foo/bar.html
@{name} = Theta
Result
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The file to write the HTML element to | Not Defined |
| name | The literal name of the element | Not Defined |
| description | Information about calling this macrodef | Not Defined |
@{file}. Please note, this macrodef will not generate leaf nodes
like: <Foo/> as it has no way of knowing if there are any elements (via the @{HtmlElementBody}
subelement). So, this macrodef will always generate opening and closing leafs like
<Foo> </Foo>
Attributes
@{file} = the file to write the attribute to.
@{name} = the name of the element.
@{description} = information about calling this macrodef.
Elements
@{HtmlAttributes} = if defined, should contain HtmlAttribute elements.
@{HtmlElementBody} = the body of the HTML element.
Example
@{file} = /foo/bar.html
@{name} = Theta
Result
@{name}] [whatever contained in HtmlAttributes]>[whatever is contained in HtmlElementBody]</[value of @{name}]>
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The file to write the frame to | Not Defined |
| frameborder | Description unavailable | Not Defined |
| longdesc | Description unavailable | Not Defined |
| marginheight | Description unavailable | Not Defined |
| marginwidth | Description unavailable | Not Defined |
| name | Description unavailable | Not Defined |
| noresize | Description unavailable | Not Defined |
| scrolling | Description unavailable | Not Defined |
| src | Description unavailable | Not Defined |
| description | Description unavailable | Not Defined |
@{file}. Please see the attributes for real HTML
frame for a description of attributes frameborder - src.
Attributes
@{file} = the file to write the frame to.
@{description} = information about calling this macrodef.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The file to write the frame set to | Not Defined |
| cols | Description unavailable | Not Defined |
| rows | Description unavailable | Not Defined |
| description | Description unavailable | Not Defined |
@{file}. Please see the attributes for real HTML
frame set for a description of attributes cols - rows.
Attributes
@{file} = the file to write the frame set to.
@{description} = information about calling this macrodef.
Elements
@{FrameSetBody} = The contents of the frame set.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The file to write the HTML header to | Not Defined |
| number | The header number - for example H1 | Not Defined |
| text | The text of the header | Not Defined |
| description | Description unavailable | Not Defined |
@{file}.
Attributes
@{file} = the file to write the header to.
@{description} = information about calling this macrodef.
Example
@{file} = /foo/bar.html
@{number} = 1
@{text} = Hello World
Result
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The file to write the HTML element to | Not Defined |
| name | The literal name of the element | Not Defined |
| description | Information about calling this macrodef | Not Defined |
@{file}.
Attributes
@{file} = the file to write the attribute to.
@{name} = the name of the element.
@{description} = information about calling this macrodef.
Elements
@{HtmlAttributes} = if defined, should contain HtmlAttribute elements.
@{HtmlElementBody} = the body of the HTML element.
Example
@{file} = /foo/bar.html
@{name} = Theta
Result
@{name}] [whatever contained in HtmlAttributes]>[whatever is contained in HtmlElementBody]</[value of @{name}]>
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The file to write the anchor to | Not Defined |
| charset | Description unavailable | Not Defined |
| href | Description unavailable | Not Defined |
| hreflang | Description unavailable | Not Defined |
| media | Description unavailable | Not Defined |
| rel | Description unavailable | Not Defined |
| rev | Description unavailable | Not Defined |
| target | Description unavailable | Not Defined |
| type | Description unavailable | Not Defined |
| description | Description unavailable | Not Defined |
@{file}. Please see the attributes for real HTML
links for a description of attributes charset - type.
Attributes
@{file} = the file to write the link to.
@{description} = information about calling this macrodef.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The file to write the value of @{text} to | Not Defined |
| text | The literal text to write to @{file} | Not Defined |
| description | Description unavailable | Not Defined |
@{file}.
Attributes
@{file} = the file to write the text to.
@{text} = the text to emit to @{file}.
@{description} = information about calling this macrodef.
Example
@{file} = /foo/bar.html
@{text} = Theta
Result
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The file to write the anchor to | Not Defined |
| class | Description unavailable | Not Defined |
| id | Description unavailable | Not Defined |
| style | Description unavailable | Not Defined |
| title | Description unavailable | Not Defined |
| dir | Description unavailable | Not Defined |
| lang | Description unavailable | Not Defined |
| accesskey | Description unavailable | Not Defined |
| tabindex | Description unavailable | Not Defined |
| description | Description unavailable | Not Defined |
@{file}. Please see the attributes for real HTML
unordered list for a description of attributes class - tabindex.
Attributes
@{file} = the file to write the unordered to.
@{description} = information about calling this macrodef.
@{dir} exists and will act accordingly.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| dir | The name of the directory to check for existance. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{dir} = the to directory examine for its existance.
@{description} = information about calling this macro.
Elements
@{then} = the block of code to execute if @{dir} exists.
@{else} = the block of code to execute if @{dir} does not exist.
@{file} exists and will act accordingly.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The name of the file that should exist. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{file} = the to file examine for its existance.
@{description} = information about calling this macro.
Elements
@{then} = the block of code to execute if @{file} exists.
@{else} = the block of code to execute if @{file} does not exist.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| url | The URL containing a tar.bz2 file for download | Not Defined |
| download-dir | Directory to perform download | Not Defined |
| download-file | File name of @{url} for download | Not Defined |
| install-dir | Installation directory | Not Defined |
| description | Information about calling this macro | Not Defined |
@{url} = the name of the directory that should exist.
@{download-dir} = directory to perform download
@{download-file} = file name of @{url} for download
@{install-dir} = installation directory
@{description} = information about calling this macro.
Elements
@{depends} = All dependency work should be placed within this element.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| url | The URL containing a tar.gz file for download | Not Defined |
| download-dir | Directory to perform download | Not Defined |
| download-file | File name of @{url} for download | Not Defined |
| install-dir | Installation directory | Not Defined |
| description | Information about calling this macro | Not Defined |
@{url} = the name of the directory that should exist.
@{download-dir} = directory to perform download
@{download-file} = file name of @{url} for download
@{install-dir} = installation directory
@{description} = information about calling this macro.
Elements
@{depends} = All dependency work should be placed within this element.
@{src-dir} location from which to start finding javacc files for invocation with the javacc task. The branch directory from @{dest-dir} is computed from @{src-dir} and the javacc files found.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| src-dir | The directory from which to start searching for javacc files. | Not Defined |
| dest-dir | The directory where javacc should generate - this is really the root directory from which javacc generation will be relative. | Not Defined |
| javacc-home | The location where JavaCC is installed. | Not Defined |
| static | Static generation flag for javacc. | true |
| listfiles | If true, information will be displayed as to which files are being javac'd. | true |
| description | Information about this macro call. | Not Defined |
@{src-dir} location from which to start finding javacc
files for invocation with the javacc task. The branch directory from @{dest-dir} is computed
from @{src-dir} and the javacc files found.
Attributes
@{src-dir} = the directory from which to start searching for javacc files.
@{javacc-home} = the directory containing JavaCC.
@{dest-dir} = the directory where javacc should generate - this is really the root directory
from which javacc generation will be relative.
@{static} = static generation flag for javacc.
@{listfiles} = if set to true, information will be displayed as to which files are being javacc'd.
@{description} = information about calling this macro.
Example
@{src-dir} = /foo/bar
@{dest-dir} = /beta/theta
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| url | The URL containing a tar.bz2 file for download | Not Defined |
| download-file | File name of @{url} for download | Not Defined |
| lib-dir | Library directory where @{includes} will be copied | Not Defined |
| description | Information about calling this macro | Not Defined |
@{url} = the name of the directory that should exist.
@{download-dir} = directory to perform download
@{download-file} = file name of @{url} for download
@{lib-dir} = library directory where @{includes} will be copied
@{description} = information about calling this macro.
Elements
@{depends} = All dependency work should be placed within this element.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| url | The URL containing a tar.bz2 file for download | Not Defined |
| download-dir | Directory to perform download | Not Defined |
| download-file | File name of @{url} for download | Not Defined |
| install-dir | Installation directory | Not Defined |
| lib-dir | Library directory where @{includes} will be copied | Not Defined |
| description | Information about calling this macro | Not Defined |
@{url} = the name of the directory that should exist.
@{download-dir} = directory to perform download
@{download-file} = file name of @{url} for download
@{install-dir} = installation directory
@{lib-dir} = library directory where @{includes} will be copied
@{description} = information about calling this macro.
Elements
@{includes} = Resource collection from @{install-dir} that will be copied to !{lib-dir}.
@{depends} = All dependency work should be placed within this element.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| url | The URL containing a tar.bz2 file for download | Not Defined |
| download-dir | Directory to perform download | Not Defined |
| download-file | File name of @{url} for download | Not Defined |
| install-dir | Installation directory | Not Defined |
| lib-dir | Library directory where @{includes} will be copied | Not Defined |
| description | Information about calling this macro | Not Defined |
@{url} = the name of the directory that should exist.
@{download-dir} = directory to perform download
@{download-file} = file name of @{url} for download
@{install-dir} = installation directory
@{lib-dir} = library directory where @{includes} will be copied
@{description} = information about calling this macro.
Elements
@{includes} = Resource collection from @{install-dir} that will be copied to !{lib-dir}.
@{depends} = All dependency work should be placed within this element.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| url | The URL containing a tar.bz2 file for download | Not Defined |
| download-dir | Directory to perform download | Not Defined |
| download-file | File name of @{url} for download | Not Defined |
| install-dir | Installation directory | Not Defined |
| lib-dir | Library directory where @{includes} will be copied | Not Defined |
| description | Information about calling this macro | Not Defined |
@{url} = the name of the directory that should exist.
@{download-dir} = directory to perform download
@{download-file} = file name of @{url} for download
@{install-dir} = installation directory
@{lib-dir} = library directory where @{includes} will be copied
@{description} = information about calling this macro.
Elements
@{includes} = Resource collection from @{install-dir} that will be copied to !{lib-dir}.
@{depends} = All dependency work should be placed within this element.
@{property} was already set, it will be overridden.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| src-file | The location of the file to load and store in @{property}. | Not Defined |
| property | The property to hold @{src-file}. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{property} was already set,
it will be overridden.
Attributes
@{src-file} = the location of the file to load and store in @{property}.
@{property} = the property to hold @{src-file}.
@{description} = information about calling this macro.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| main-file | The main file containing the frameset | Not Defined |
| cols | Columns attribute of the frameset | 25%,75% |
| toc-file | The table of contents file | Not Defined |
| toc-title | The title for the table of contents | Not Defined |
| toc-name | The frame name of the table of contents | toc-frame |
| content-name | The frame name for the content | content-frame |
| default-content | The default page to display in the content frame | Not Defined |
@{main-file} = the main file containing the frameset.
@{cols} = the cols attribute of the frameset.
@{toc-file} = the table of contents file.
@{toc-title} = the header (title) for the table of contents.
@{toc-name} = the name of the frame that holds the table of contents.
@{content-name} = the name of the frame that holds the contents.
@{description} = information about calling this macrodef.
Elements
@{NavDefBody} = contents of the navdef.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| toc-file | Table of contents file to write anchor and break to | Not Defined |
| text | Text of the HTML anchor | Not Defined |
| href | Link for the HTML anchor | Not Defined |
| target | Target of the HTML anchor | content-frame |
| description | Description unavailable | Not Defined |
@{toc-file}. Should be used in conjunction
with NavDef.
Attributes
@{toc-file} = the file to write the anchor and break to.
@{text} = text of the HTML anchor.
@{href} = link for the HTML anchor.
@{target} = target of the HTML anchor.
@{description} = information about calling this macrodef.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| toc-file | Table of contents file to write anchor and break to | Not Defined |
| text | Text of the HTML anchor | Not Defined |
| href | Link for the HTML anchor | Not Defined |
| target | Target of the HTML anchor | content-frame |
| description | Description unavailable | Not Defined |
@{toc-file}. Should be used in conjunction
with NavDef.
Attributes
@{toc-file} = the file to write the anchor and break to.
@{text} = text of the HTML anchor.
@{href} = link for the HTML anchor.
@{target} = target of the HTML anchor.
@{description} = information about calling this macrodef.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| arg1 | Compared against @{arg2}. | Not Defined |
| arg2 | Compared against @{arg1}. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{arg1} = compared against @{arg2}.
@{arg2} = compared against @{arg1}.
@{description} = information about calling this macro.
Elements
@{equal} = the block of code to execute if @{arg1} = @{arg2}.
@{not-equal} = the block of code to execute if @{arg1} != @{arg2}.
@{less} = the block of code to execute if @{arg1} < @{arg2}.
@{greater} = the block of code to execute if @{arg1} > @{arg2}.
@{ref-id} to the console.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| ref-id | The name of the ref id to display. | Not Defined |
| indent | String to use for indenting the contents of refid. | Not Defined |
| error-msg | When printing @{ref-id}, if a directory does not exist and ant raises an error, this value will be displayed instead. | ${keros.print-ref-id.error-msg} |
| description | Information about this macro call. | Not Defined |
@{ref-id} to the console.
Attributes
@{refid} = the name of the ref id to display.
@{indent} = string to use for indenting the contents of refid.
@{error-msg} = when printing @{ref-id}, if a directory does not exist,
an error is raised by Ant. Instead of that error being
displayed, the value of @{error-msg} is displayed instead.
@{description} = information about calling this macro.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| list | The list to process. | Not Defined |
| delimiter | The delimiter for @{list}. | , |
| previous | Name of property to hold previous value in list. | keros.PREVIOUS |
| current | Name of property to hold current value in list. | keros.CURRENT |
| next | Name of property to hold next value in list. | keros.NEXT |
| description | Information about this macro call. | Not Defined |
@{previous},
@{current} and @{next}.
Attributes
@{list} = list to process.
@{delimiter} = separator for elements in @{list}.
@{previous} = name of property that will hold the previous element.
@{current} = name of property that will hold the current element.
@{next} = name of property that will hold the next element.
@{description} = information about calling this macro.
Elements
@{path} = should hold a file list to process.
@{process} = called for each iteration of elements in the list. The various
elements can be accessed via the properties named in @{previous},
@{current} and @{next}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| name | The name of the property for which a default value may be set | Not Defined |
| default-value | If @{property} is not set, this is the valeu that it will have as a default | Not Defined |
| description | Information about calling this macro | Not Defined |
@{property} the value @{value} if @{property} has not been set. This macrodef
is library agnostic - it requires no third party libraries.
Attributes
@{dir} = the name of the directory that should exist.
@{error-msg} = the message to display if @{dir} does not exist.
@{description} = information about calling this macro.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| dir | The directory to create the release files. | Not Defined |
| stage-dir | The staging directory where the created release files will be copied when completed. | Not Defined |
| base-file | The base name of the tar, zip, bzip and gzip files. | Not Defined |
| base-dir | Directory name where the release when unpacked will reside. | @{base-file} |
| description | Information about this macro call. | Not Defined |
@{dir} = the directory to create the release files.
@{stage-dir} = the staging directory where the created release files will be copied when completed.
@{base-file} = the base name of the tar, zip, bzip and gzip files.
@{base-dir} = Directory name where the release when unpacked will reside.
@{description} = information about calling this macro.
Elements
@{pre-processing} = will perform any pre-processing before the release is created.
@{pre-stage-processing} = will perform an pre-stage processing before copying files.
@{release-fileset} = should contain a fileset that will include all release files.
@{post-stage-processing} = will perform an post-stage processing before tar'ing/gzip/bzip/zip work.
@{post-processing} = will perform any post-processing after the release is created.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| property | The name of the property to set. | Not Defined |
| value | The value to set the property to set. | Not Defined |
| is-warnable | A flag, if true states a warning should be displayed - anything else no warning is outputted. | true |
| warning-msg | if set to anything and the property named, property, is set, will echo the value of this param. Please note, the property will still be set. | ${keros.set-property.warning-msg} |
| description | Information about this macro call. | Not Defined |
@{property} = the name of the property to set.
@{value} = the value to set the property to set.
@{is-warnable} = a flag, if true states a warning should be displayed - anything else no warning is outputted.
@{warning-msg} = if set to anything and the property named, property, is set, will
echo the value of this param. Please note, the property will
still be set.
@{description} = information about calling this macro.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| src-dir | The base directory in which to gather Subversion log information. | Not Defined |
| dest-dir | The directory in which the transformation will occur. | Not Defined |
| log-file | The file that will contain the outputted XML. | svn-log.xml |
| html-file | The file that will contain HTML conversion from @{log-file} | svn-log.html |
| rev-start | The Subversion starting revision number. | 0 |
| rev-end | The Subversion ending revision number. | HEAD |
| version | The version number/value to include in the heading. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{src-dir} = The base directory in which to gather Subversion log information.
@{dest-dir} = The directory in which the transformation will occur.
@{log-file} = The file that will contain the outputted XML.
@{html-file} = The file that will contain HTML conversion from @{log-file}.
@{rev-start} = The Subversion starting revision number.
@{rev-end} = The Subversion ending revision number.
@{rev-end} = The version number/value to include in the heading.
@{version} = the version number/value to include in the heading.
@{description} = information about calling this macro.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| dir | The directory in which to gather logging information. | Not Defined |
| file | The file that will contain the outputted XML. | Not Defined |
| rev-start | The starting revision number. | 0 |
| rev-end | The ending revision number. | HEAD |
| description | Information about this macro call. | Not Defined |
@{dir} = the directory in which to start gather log information
@{file} = the file that will contain the outputted XML.
@{rev-start} = the starting revision number.
@{rev-end} = the ending revision number.
@{description} = information about calling this macro.
@{file}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The name of the file for whom we wish to truncate the extension. | Not Defined |
| property | The name of the property to set. | Not Defined |
| description | Information about this macro call. | Not Defined |
@{file}.
Attributes
@{file} = the name of the file whose extension will be truncated.
@{property} = the name of the property to set.
@{description} = information about calling this macro.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | The file to unpack. | Not Defined |
| uncompress-dir | Directory where @{file} may uncompress before unpacking. | ${keros.tar.HOME} |
| unpack-dir | The root directory where directories/files contained within @{file} will be unpacked. | Not Defined |
| clean-up | If yes or true (case insensitive), any intermediary files will be removed (for example tar files). | true |
| description | Information about this macro call. | Not Defined |
@{file} = the file to unpack.
@{uncompress-dir} = the directory where @{file} may uncompress before unpacking.
@{unpack-dir} = the directory where the unpacked file will be expanded.
@{clean-up} = if yes or true (case insensitive), any intermediary
files will be removed (for example tar files).
@{description} = information about calling this macro.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| bz2-file | The bz2 file to unpack. | Not Defined |
| bunzip-dir | The directory where @{bz2-file} will be unpacked containing as a tar file. | ${keros.tar.HOME} |
| untar-dir | The directory where @{bz2-file}'s tar file will be unpacked. | Not Defined |
| clean-up | If yes or true, the tar file will be removed. | true |
| description | Information about this macro call. | Not Defined |
@{bz2-file} = the file to unpack.
@{bunzip-dir} = the directory where @{bz2-file} will be unpacked containing as a tar file.
@{untar-dir} = the directory where @{bz2-file}'s tar file will be unpacked.
@{clean-up} = if yes or true (case insensitive) will remove the gz and tar file.
@{description} = information about calling this macro.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| gz-file | The gz file to unpack. | Not Defined |
| gunzip-dir | The directory where @{gz-file} will be unpacked containing as a tar file. | ${keros.tar.HOME} |
| untar-dir | The directory where @{gz-file}'s tar file will be unpacked. | Not Defined |
| clean-up | If yes or true, the tar file will be removed. | true |
| description | Information about this macro call. | Not Defined |
@{gz-file} = the file to unpack.
@{gunzip-dir} = the directory where @{gz-file} will be unpacked containing as a tar file.
@{untar-dir} = the directory where @{gz-file}'s tar file will be unpacked.
@{clean-up} = if yes or true (case insensitive) will remove the bz2 and tar file.
@{description} = information about calling this macro.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| tar-file | The tar file to unpack. | Not Defined |
| untar-dir | The directory where @{tar-file} will be untar'd. | Not Defined |
| clean-up | If yes or true, the tar file will be removed. | true |
| description | Information about this macro call. | Not Defined |
@{tar-file} = the file to untar.
@{untar-dir} = the directory where @{tar-file}'s file will be untar'd.
@{clean-up} = if yes or true (case insensitive) will remove the tar file.
@{description} = information about calling this macro.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| zip-file | The zip file to unpack. | Not Defined |
| unzip-dir | The directory where @{gz-file} will be unpacked containing as a tar file. | Not Defined |
| clean-up | If yes or true, the tar file will be removed. | true |
| description | Information about this macro call. | Not Defined |
@{zip-file} = the file to unpack.
@{unzip-dir} = the directory where @{zip-file} will be unpacked.
@{clean-up} = if yes or true (case insensitive) will remove the zip file.
@{description} = information about calling this macro.
@{property}.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | Description unavailable | Not Defined |
| property | Description unavailable | Not Defined |
| format | Description unavailable | Not Defined |
@{file} and stores in the property denoted as @{property}.
Attributes
@{file} = the name of the file for which the modification date is desired.`
@{property} = the name of the property to store the modification date or empty if @{file}
does not exist.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| property | Description unavailable | Not Defined |
@{property}.
Attributes
@{property} = the name of the property to set to the locale of the current JVM.
| Attribute Definitions | ||
|---|---|---|
| Name | Description | Default |
| file | Description unavailable | Not Defined |
@{file} = fully qualified file name of a file containing non "a" ref URL's.
@{name}@{property}@{dir-property}@{file-property}@{file-property}@{dir-property}@{property}@{property}@{property}@{property}@{name}@{name}@{name}@{name}@{property}@{property}@{property}@{property}@{property}@{class-property}@{args-property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{property}@{previous}@{current}@{next}@{current}@{next}@{previous}@{current}@{next}