attached are two new tasks that i have written:

PropertyCopy - gives you the ability to copy the value of a named property
to another property (sort of a double - dereference, since referring to something
like "${org.${org}.name}" would be illegal in ant)

   <property name="org.my_org.name" value="My Organization" />
   <property name="org" value="my_org" />
   <propertycopy name="MyName" from="org.${org}.name" />

ForEach - Iterates over a seperated list (default seperator is ','), and calls a
particular target once for each item in the list, which the item as a parameter
(the name of the parameter is an attribute that you supply)

   <target name="my_target">
     <echo message="${message}" />
   </target>

   <foreach list="a,b,c" target="my_target" param="message" />

--
Matt Inger ([EMAIL PROTECTED])
Sedona Corporation
455 S. Gulph Road, Suite 300
King of Prussia, PA 19406
(484) 679-2213
"Self-respect - the secure feeling that no one,
as yet, is suspicious." -H.L. Mencken


Attachment: tasks.tar.gz
Description: Binary data

Reply via email to