ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roger day <rog3r....@gmail.com>
Subject running perl script from ant
Date Mon, 09 Aug 2004 21:02:16 GMT
Hi
I'm trying to run the following fragment:

 <!-- build the xml index files for each directory -->
  <target name="build-xml-indices">
    <apply executable="c:/perl/bin/perl.exe">
      <arg value="c:/cygwin/home/roger//writing/Poetry/index.pl"/>
      <srcfile/>
      <fileset dir="./Texts">
	<patternset>
	  <include name="**/title.txt"/>
	</patternset>
      </fileset>
    </apply>
  </target>

where the perl script creates the index.xml files. However, I cannot
get an argument into the script - the script is running as I can print
stuff, but it doesn't get any arguments although the document says it
should. Can anyone spot what I'm missing, please?

TIA,

Roger
-- 
http://www.badstep.net

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


Mime
View raw message