ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Waibel <sven.wai...@imbus.de>
Subject Exec Perl Prog with Arguments
Date Mon, 21 Mar 2005 09:54:00 GMT
Hi everybody,

a part of my build.xml

	<property file="build.properties" />

	<target name="translate_plugins" if="${perl}">
 	<path id="plugin.files.xsl">
		<fileset dir="./plugins" includes="*.xsl" />
	</path>
	<exec executable="${perl}" >
        	<arg path= "${perl.translate.script.name} {refid='plugin.files.xsl'}"/>
        </exec>

my build.properties:

perl =		d:/perl/bin/perl.exe
perl.translate.script.name	d:/db_transl/translate2.pl

My perl script renames files into files_en, so i want to execute my perl script and that should
rename all the files
ending with xsl.

perl script syntax: translate2.pl file

How do i get this work?

Thanks

Best regards
Sven


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


Mime
View raw message