ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Asher <thejoker...@yahoo.com>
Subject <mapper> / <uptodate> question
Date Tue, 08 Jul 2003 19:10:23 GMT
I am having trouble with an <uptodate> task i'm trying
to set up:

This one returns false:
<uptodate>
<srcfiles dir="${test.dir}" includes="**/*.java"/>
<mapper type="glob" from="*.java"
to="${build.dir}/*.class"/>
</uptodate>

This one returns true:
<uptodate>
<srcfiles dir="${test.dir}" includes="**/*.java"/>
<mapper type="glob" from="${test.dir}/*.java"
to="${build.dir}/*.class"/>
</uptodate>

I think the one that returns false is how it's
"supposed" to be written, but it should return true. 
The .class files all have later last-modified dates
than the .java files. 

Can someone shed some light on this for me, I'm quite
perplexed.

Thanks,
James

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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


Mime
View raw message