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=18736>.
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=18736

manifest task will not create Name entry

           Summary: manifest task will not create Name entry
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


file:X:/VOBS_developed_DAA/FOBWS/src/build.xml:106: Specify the section name 
using the "name" attribute of the <section> element rather than using a "Name" 
manifest attribute

    <manifest file="unjar/META-INF/MANIFEST.MF" mode="update">
      <section>
        <attribute name="Name" value="APP-INF/lib/FOBSVC.jar"/>
        <attribute name="Name" value="APP-INF/lib/FOBSVCObjects.jar"/>
      </section>
    </manifest> 

Leaving section out produces the same error.  Both name and value are required 
by attribute.  Effect is to produce the following manifest:

Manifest-Version: 1.0
Created-By: Apache Ant 1.5

Name: FOBWebSvcEJB.jar

Name: META-INF/application.xml

Name: FOB_WebSvc.war

Name: APP-INF/lib/FOBSVC.jar

Name: APP-INF/lib/FOBSVCObjects.jar

Reply via email to