You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2010/04/12 04:27:21 UTC
DO NOT REPLY [Bug 49090] New: Possible filesetmanifest="merge"
regression 1.8.0
https://issues.apache.org/bugzilla/show_bug.cgi?id=49090
Summary: Possible <jar> filesetmanifest="merge" regression
1.8.0
Product: Ant
Version: 1.8.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: javabrett@gmail.com
In 1.7.1, given a src/META-INF/MANIFEST.MF of:
Build-Date: 2010-04-12T11:32:38+1000
and
<project default="jar">
<target name="jar">
<delete file="my.jar" />
<jar destfile="my.jar" filesetmanifest="merge">
<fileset dir="src" />
</jar>
</target>
</project>
The resulting JAR will contain (merged):
jar:
[delete] Deleting: C:\workspace\testjartask\my.jar
[jar] Building jar: C:\workspace\testjartask\my.jar
[jar] Building jar: C:\workspace\testjartask\my.jar
BUILD SUCCESSFUL
Total time: 1 second
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
Build-Date: 2010-04-12T11:32:38+1000
On 1.8.0, the Build-Date is missing for the same build:
jar:
[delete] Deleting: C:\workspace\testjartask\my.jar
[jar] Building jar: C:\workspace\testjartask\my.jar
BUILD SUCCESSFUL
Total time: 1 second
and the resulting JAR contains:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.0
Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
Note that in the run on 1.8.0, the [jar] task only reports as running once,
whereas is reports as running a double-pass on 1.7.1. This resonates with some
changes in the code around double-pass processing, but I can't point at the
exact problem yet (and probably won't have the time to work on that either -
have dropped back to 1.7.1 for this build).
Sample project attached.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 49090] Possible filesetmanifest="merge"
regression 1.8.0
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49090
--- Comment #1 from Brett Randall <ja...@gmail.com> 2010-04-11 22:29:49 EDT ---
Created an attachment (id=25261)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25261)
Test project
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 49090] Possible filesetmanifest="merge"
regression 1.8.0
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49090
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |1.8.1
--- Comment #2 from Stefan Bodewig <bo...@apache.org> 2010-04-13 10:19:56 EDT ---
it's not the double file pass mode but the fact that you are using Windows,
will be fixed in a few minutes.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 49090] Possible filesetmanifest="merge"
regression 1.8.0
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49090
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Stefan Bodewig <bo...@apache.org> 2010-04-13 10:26:46 EDT ---
fixed with svn revision 933630
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.