ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From david__schmidt <david4...@gmail.com>
Subject apply task with multiple filename mappings - how?
Date Fri, 18 Feb 2011 22:11:56 GMT

Hello, ant folks:

I am having trouble seeing how I can get a job done with apply task.  I
would like to give a fileset to apply, then send in several parameters based
on variations of the filenames.  So, for example... given "filename.s", I'd
like each command to look like this:
${assemblerPath}/ca65 -l filename.lst -m filename.map -o filename.o
filename.s

I can get one mapping pretty easily with a mapper:

<apply executable="${assemblerPath}/ca65"
dir="${projdir}/client/src/ip65/drivers" relative="true">
	<fileset dir="${projdir}/client/src/ip65/drivers" includes="**/*.s"/>
	<arg value="-l"/>
	<mapper type="glob" from="*.s" to="*.lst"/>
	<targetfile/>
	<srcfile/>
</apply>

but how can I do multiple mappings - multiple variations on the filename per
invocation?  Or is there another way to approach the problem?
-- 
View this message in context: http://ant.1045680.n5.nabble.com/apply-task-with-multiple-filename-mappings-how-tp3391863p3391863.html
Sent from the Ant - Users mailing list archive at Nabble.com.

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


Mime
View raw message