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 49605] New: Regression in 1.8: <jar> filesetmanifest="merge" doesn't work for <zipfileset> with 'prefix' attribute
Date Fri, 16 Jul 2010 15:25:48 GMT
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: notifications@ant.apache.org
        ReportedBy: Nikolay.Chashnikov@jetbrains.com


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.

Mime
View raw message