ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ditrick, Gregory" <>
Subject RE: Calling a String
Date Thu, 19 Jul 2007 15:02:10 GMT
It looks like you need to look into antcontrib.

The tasks propertycopy, propertyregex and propertyselector.

I may be wrong about what you are trying to do, but I have found that
ant with antcontrib and antXtra is the way to go.  It makes ant more of
a shell language with more logical controls.

Hope this helps, if you are not using them already. 


-----Original Message-----
From: Joshua Wunder [] 
Sent: Thursday, July 19, 2007 9:46 AM
To: Ant Users List
Cc: Shalom Deitch
Subject: Calling a String

Hello All!!


First time writing to the list.  I'm working for a Software Design
company that works primarily in JAVA.  I work in the Production
department, and started using ANT a month or two ago to automate our


So - I am stuck on something


I would like to create a documentation of my processes thru a CSV file.


The way my ANT works, I use a loop to process each file individually,
and the various details about the file [name, path, datemodified, action
performed with the file, etc] are echoed to a file with comma delimiters
to allow for filtering and sorting in Excel.


Here's my problem, I currently echo a full string of variables for each
file in each area I process files in different ways.  The problem with
this is that if I want to make a change, I need to change the string of
variables in every location I create this log.  I'd like to be able to
have some form of reference to a string that I can call in various
places, but only need to change in one.


Making a property with other properties doesn't work because properties
sets the value with the ${} and doesn't allow for them to be replaced.


I'd appreciate if anyone has any ideas.


I hope that my description is clear.  If not, please ask away ...







Joshua Wunder
Production Engineer
Cerylion Israel
39 HaShaked Street
Moshav Aminadav

Tel: 972-2-643-3399 @ 107
Work Home: 972-2-997-1004
Cell: 972-54-759-8887
Fax: 972-2-643-6066



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message