When I have had problems with a Class-Path entry in the manifest.mf of a
weblogic ejb jar file, I have always been able to fix the problem by adding
a space at the end of the line. Not sure if that would always fix it but
it's worth a try. I can't recall for sure if the problem was with Weblogic
or with the Ant EJB task but changing the length of the line has made the
problem go away on several occasions that I know of. There must be a weird
parsing error that manifests itself in some cases.

> -----Original Message-----
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 02, 2002 6:21 PM
> To: Struts Developers List
> Subject: Re: Plugins and Modules (Sub-Apps)
>
>
>
>
> On Wed, 2 Oct 2002, Eddie Bush wrote:
>
> > Date: Wed, 02 Oct 2002 14:32:43 -0500
> > From: Eddie Bush <[EMAIL PROTECTED]>
> > Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> > To: Struts Developers List <[EMAIL PROTECTED]>
> > Subject: Re: Plugins and Modules (Sub-Apps)
> >
> > Compiling 1 source file to
> > /home/eddie/dvel/projects/jakarta-struts/target/library/classes
> > Note:
> >
> /home/eddie/dvel/projects/jakarta-struts/src/share/org/apache/
> struts/taglib/html/JavascriptValidatorTag.java
> > uses or overrides a deprecated API.
> > Note: Recompile with -deprecation for details.
> > Transforming into
> /home/eddie/dvel/projects/jakarta-struts/target/library
> > Manifest is invalid: The attribute "Class-Path" may not
> occur more than
> > once in the same section
> > build.xml [341] Invalid Manifest:
> > /home/eddie/dvel/projects/jakarta-struts/conf/share/MANIFEST.MF
> > BUILD FAILED
> >
>
> Sigh ... I wish product vendors would get this kind of thing
> right ... :-(
>
> The spec for MANIFEST.MF files *explicitly* allows more than one
> Class-Path entry, so the above error message is probably a bug in
> NetBeans.  You might recall that we split up the initial (very long)
> classpath line because WebLogic's JVM croaked on it, even
> though that is
> lega as well.
>
> Sheesh.
>
> Craig
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>


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

Reply via email to