ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Inger <>
Subject task sumbission
Date Thu, 02 Aug 2001 16:06:41 GMT
how do i go about submitted a custom task to ant for the
optional tasks library?

I've written quite a few, but some of the more useful ones are:

    Prompt  - ask for user input on the command line.  allows for 
                of input values, and for default values.

    ReplaceRegExp - replaces a regular expression in a file, processing
                the file as a whole, or line by line.   Uses Perl5 RE 
syntax, and
                requires the jakarta-oro package.

    PropertyCopy - a sort of double deference.  you supply a property name
                to set, and a name to copy from, and it will get the 
value of the
                property name you give it, and copy that value to the 
                Instead of  (which is not valid):
                    <property name="myprop" value="${x.${y}.z}" />
                you would use:
                    <propertycopy name="myprop" from="x.${y}.z" />


View raw message