DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15304>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15304

jar update skipped in v1.5+

           Summary: jar update skipped in v1.5+
           Product: Ant
           Version: 1.5
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi,

I have the following directory structure:

root
  classes
    com
      blah
        <compiled .class files>
  com
    blah
      MANIFEST.TXT
      <.java files>
      meta-inf
        <various bits and pieces>

>From "root", I use the following ant tasks to create a jar file:

<jar jarfile="product.jar" basedir="classes" includes="com/blah/**"/>
<jar jarfile="product.jar" basedir="com/blah" includes="meta-inf/**" 
manifest="com/blah/MANIFEST.TXT" update="yes"/>

The first call of <jar> creates the JAR file from all the compiled .class files.
The second call of <jar> adds the contents of the meta-inf folder to the JAR, 
and also a custom manifest.

This worked perfectly in v1.4 and v1.4.1 of Ant, but has stopped working in all 
later versions. The second <jar> is skipped for some reason.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to