https://issues.apache.org/bugzilla/show_bug.cgi?id=49605
Summary: Regression in 1.8: <jar> filesetmanifest="merge"
doesn't work for <zipfileset> with 'prefix' attribute
Product: Ant
Version: 1.8.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: regression
Priority: P2
Component: Core tasks
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=25771)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25771)
Test project illustrating the problem is attached
Suppose that we have MANIFEST.MF file with the following content in root
directory:
Manifest-Version: 1.0
Main-Class: MyClass
In Ant 1.7.1 the Jar task below correctly merge the supplied manifest with the
default one:
<jar destfile="${basedir}/mantest.jar" filesetmanifest="merge">
<zipfileset file="${basedir}/MANIFEST.MF" prefix="META-INF"/>
</jar>
However, using the same task in Ant 1.8.1 results in default MANIFEST.MF in the
mantest.jar (without Main-Class attribute).
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.