https://issues.apache.org/bugzilla/show_bug.cgi?id=45680
Stefan Bodewig <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |1.7.1
--- Comment #1 from Stefan Bodewig <[EMAIL PROTECTED]> 2008-08-25 01:36:40 PST
---
Ant 1.5 is not exactly fresh ...
a clean build means there is no target jar at all, right?
OK, with the following build file and Ant 1.7.1
<project>
<jar destfile="test" basedir="." includes="*.xml" update="true"/>
</project>
the output is
$ ant -f /tmp/j.xml
Buildfile: /tmp/j.xml
[jar] Building jar: /tmp/test
BUILD SUCCESSFUL
Total time: 6 seconds
and after touching j.xml
$ ant -f /tmp/j.xml
Buildfile: /tmp/j.xml
[jar] Updating jar: /tmp/test
BUILD SUCCESSFUL
Total time: 2 seconds
so there is no warning in Ant 1.7.1 and I'm too lazy to find the exact version
of Ant where the bug has been fixed.
The workaround is to upgrade to a more recent version of Ant.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.