ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shreedhar natarajan" <shreedh...@ami.com>
Subject Uptodate task
Date Fri, 20 Jan 2006 20:06:46 GMT
Hi Guys,

I have a question regarding using <mapper> task that is being used as a part of <uptodate>
task. I have a set of src files say one.src, two.src and they generate one.target and two.target.
If any of the source is updated both target has to be re-generated. I have problem matching
multiple target files ..

<project name="uptodate" basedir="." default="all">
<target name="all">
<uptodate property="buildClean">
	<srcfiles dir="." includes="*.src" />
	<mapper type="merge" to="one.target"/>
</uptodate>	
<echo Message="${buildClean}" />
</target>
</project>

The above snippet works for matching one target. But for multiple, not sure how to map it
?

Any ideas ?

Thanks and regards
Shreedhar

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


Mime
View raw message