Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

Re: weird problem in including manifest file in jar

Hicks, James

2003-07-02


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@(protected)]
Sent: Wednesday, July 02, 2003 9:20 AM
To: J2EE-INTEREST@(protected)
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@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".


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@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".



©2008 junlu.com - Jax Systems, LLC, U.S.A.