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/07/16 17:25:48 UTC

DO NOT REPLY [Bug 49605] New: Regression in 1.8: filesetmanifest="merge" doesn't work for with 'prefix' attribute

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.

DO NOT REPLY [Bug 49605] Regression in 1.8: filesetmanifest="merge" doesn't work for with 'prefix' attribute

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49605

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.8.2

--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2010-08-07 16:45:01 EDT ---
fixed in svn revision 983308

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