ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From david__schmidt <>
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 -o filename.o

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"/>

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:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message