Please read the manifest spec!!!.
There is a lomit on the line size and you should break the line and continue in a new line with one space character first.
So there is no problem with your menifest, it looks weird but it should be like that.
-----Original Message-----
From: Marco Mistroni [mailto:Marco.Mistroni@NOKIA.COM]
Sent: Thursday, July 03, 2003 8:58 AM
To: J2EE-INTEREST@JAVA.SUN.COM
Subject: Re: weird problem in including manifest file in jar
no, i m using ant to do everything.
but...apologies...the class that wls 7.0 cannot found is not in castor, but in
xerces. i thought wls 7.0 comes along with an XMl parser (i didnt have that problem
with wls 6.1)
so, it's not a manifest problem.
sorry.
regards
marco
> -----Original Message-----
> From: ext Hicks, James [mailto:James.Hicks@LMBERRY.COM]
> Sent: 02 July, 2003 17:59
> To: J2EE-INTEREST@JAVA.SUN.COM
> Subject: Re: weird problem in including manifest file in jar
>
>
> Are you using ant to create the manifest, or are you copying one you
> created?
>
> Thanks,
> James Hicks
>
> -----Original Message-----
> From: Marco Mistroni [mailto:Marco.Mistroni@NOKIA.COM]
> Sent: Wednesday, July 02, 2003 9:20 AM
> To: J2EE-INTEREST@JAVA.SUN.COM
> Subject: weird problem in including manifest file in jar
>
> hi all,
> i have encountered a weird problem while pacaking my
> jar file with a
> manifest.
> i am trying to deploy an .ear file, made of multiple jars and
> ejbs, and i
> have written
> a manifest file since one of the jars have to reference
> classes in another.
>
> here is the original manifest file
>
> Manifest-Version: 1.0
> Created-By: 1.3.1_07 (Sun Microsystems Inc.)
> Class-Path: commerce.jar castor-0.9.3.9.jar
> castor-0.9.3.9-xml.jar sapws.jar
>
>
> after packaging the jar, i have extracted all the files to see if the
> manifest was still correct..
> and, surprise surprise, here is the output
>
> Manifest-Version: 1.0
> Ant-Version: Apache Ant 1.5.3
> Created-By: 1.3.1_07 (Sun Microsystems Inc.)
> Class-Path: commerce.jar castor-0.9.3.9.jar castor-0.9.3.9-xml.jar sap
> ws.jar
>
>
> so, it looks like during packaging there is a maximum lenght
> for a line...
>
> and then, when i run wls 7.0 it always complain that it
> cannot find one
> class contained in castor xml files.....
>
> anyone has any idea of the problem?
>
> regards
> marco
>
> ==============================================================
> ============To
> unsubscribe, send email to listserv@java.sun.com and include
> in the body
> of the message "signoff J2EE-INTEREST". For general help,
> send email to
> listserv@java.sun.com and include in the body of the message "help".
>
>
> The information transmitted is intended only for the person
> or entity to
> which it is addressed and may contain confidential,
> proprietary, and/or
> privileged material. Any review, retransmission,
> dissemination or other use
> of, or taking of any action in reliance upon this information
> by persons or
> entities other than the intended recipient is prohibited. If
> you received
> this email in error, please contact the sender and delete the
> material from
> all computers.
>
> ==============================================================
> =============
> To unsubscribe, send email to listserv@java.sun.com and
> include in the body
> of the message "signoff J2EE-INTEREST". For general help,
> send email to
> listserv@java.sun.com and include in the body of the message "help".
>
>
==========================================================================To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".