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

Jar task wraps long lines in the manifest file

           Summary: Jar task wraps long lines in the manifest file
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The jar task is wrapping long lines (over 71 chars) in my manifest file.
This causes problems with weblogic 6.1 sp2.

The manifest is inside of a JAR located in WEB-INF/lib in my WAR.

Short report of the log file (partial stacktrace) -
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1525)
        at weblogic.utils.jars.ManifestEntry.stream(ManifestEntry.java:166)
        at weblogic.utils.jars.Manifest.stream(Manifest.java:81)
        at weblogic.servlet.internal.WebAppHelper.resolveManifestName
(WebAppHelper.java:398)
        at weblogic.servlet.internal.WebAppHelper.extractClassFiles
(WebAppHelper.java:177)
        at weblogic.servlet.internal.WebAppServletContext.extractClassFiles
(WebAppServletContext.java:3405)
        at weblogic.servlet.internal.WebAppServletContext.setDocroot
(WebAppServletContext.java:3376)
        at weblogic.servlet.internal.WebAppServletContext.init
(WebAppServletContext.java:862)
        at weblogic.servlet.internal.WebAppServletContext.<init>
(WebAppServletContext.java:815)
        at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
        at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
        at weblogic.j2ee.Application.deploy(Application.java:260)
        at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)

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

Reply via email to