ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29683] Jar task with zipgroupfileset always builds the jar file
Date Tue, 23 Sep 2008 10:45:38 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=29683


Emmanuel Bourg <ebourg@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.6.1                       |1.7.1




--- Comment #4 from Emmanuel Bourg <ebourg@apache.org>  2008-09-23 03:45:37 PST ---
Here is the trace when Ant is run with the -v option:

[jar] foo omitted as C:\anttest\foo.jar:foo/ is up to date.
[jar] foo\Bar.java omitted as C:\anttest\foo.jar:foo/Bar.java is up to date.
[jar] foo added as foo/ is outdated.
[jar] foo\BarTest.java omitted as C:\anttest\foo.jar:foo/BarTest.java is up to
date.
[jar] Building jar: C:\anttest\foo.jar
[jar] adding directory META-INF/
[jar] adding entry META-INF/MANIFEST.MF
[jar] adding directory foo/
[jar] adding entry foo/Bar.java
[jar] adding entry foo/BarTest.java
[jar] No Implementation-Title set.No Implementation-Version set.No
Implementation-Vendor set.
[jar] Location: C:\anttest\build.xml:6:


The foo directory in src/test is more recent than foo in src/main, that may
explain why the task thinks it has been updated and rebuilds the jar. If the
two fileset are inverted the jar is no longer rebuild.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message