ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ernst de Haan <er...@pensioenpage.com>
Subject Re: converting ant from a make file
Date Sat, 19 Sep 2009 20:13:44 GMT
Veena,


Here's a good example of what can be done with Ant, with a very  
complete collection of example code:
http://www.theserverside.com/news/thread.tss?thread_id=57900

About the execution of Perl: typically with Ant, you define a task  
(execution of Perl) and then define the files to include and exclude,  
the configuration settings for the task (such as properties/ 
parameters) and the output directory. Alternatively, you can just  
execute your old script (via exec), use <apply>, a <macrodef> or have  
one <exec> for each Perl invocation.

There are lots of options, but typically a dedicated task, possibly  
coded using an <apply> or <macrodef> is the way to go.

For more information on using <apply> to invoke Perl, see this article:
http://www.howardism.org/thoughts/001256.html

Cheers,


Ernst de Haan
PensioenPage B.V.
www.pensioenpage.com

tel. +31 6 20246157

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message