Use <macrodef> to write a macro which does that job.

Jan

>-----Ursprüngliche Nachricht-----
>Von: Patrick Luebbecke [mailto:[EMAIL PROTECTED] 
>Gesendet: Mittwoch, 24. September 2008 11:30
>An: [email protected]
>Betreff: Iterating through the build script
>
>
>Hi Folks,
>
>i'm currently writing a build script which will to the following tasks:
>
>
>1. unpack file a
>2. unpack file b (both files have the same directory and filestructure)
>
>3. Replace several strings within different files
>
>4. zip file a
>5. zip file b
>
>since file a and b have different filenames is there any way 
>to make ant to
>
>a) unpack file a
>b) replace the strings
>c) zip file a
>
>d) unpack file b
>e) replace the strings
>f) zip file b
>
>by invoking the "replace string"-target twice without changing my basic
>code structure (1-5) ?
>
>Regards
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to