in reply to Ant and Perl
I'd be surprised if you found any resources regarding Perl and Ant. The existing framework for building/testing/distributing Perl modules is fairly well-documented and ubiquitous, and most Perl projects use make if they need something more.
Running Perl scripts from Ant just requires the exec task, and the only thing to note is that the executable is the perl binary and your script is the first argument, like:
<target name="generate_session_descriptor" depends="init" description="Descriptor fragments for a session bean"> <exec executable="perl"> <arg value="${generate}/generate_session_descriptors.pl"/> <arg value="-d ${meta-inf}"/> <arg value="-n ${bean_name}"/> <arg value="-r ${bean_name}"/> <arg value="-h ${bean_name}Home"/> </exec> </target>
Hope this helps.
Chris
M-x auto-bs-mode
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Ant and Perl
by P0w3rK!d (Pilgrim) on May 30, 2002 at 21:15 UTC | |
by lachoy (Parson) on May 31, 2002 at 02:12 UTC | |
by P0w3rK!d (Pilgrim) on May 31, 2002 at 14:16 UTC | |
by lachoy (Parson) on May 31, 2002 at 15:53 UTC |