Wayne, that seems like a different error.  You shouldn't have Class-Path
entries in the EAR's manifest (including Java EE 1.4) These entries belong
in the modules within the ear, i.e. the EJB JAR's, etc.

Though Max is technically right, its still ugly!!!  :D!

Alex

On 10/25/06, Wayne Fay <[EMAIL PROTECTED]> wrote:

Glassfish's application verifier (SJAS 9.1) actually complains about
any Class-Path entry in your EAR MANIFEST... Apparently the most
recent J2EE spec disallows this, haven't looked into it much myself,
we're finally targeting JEE5 for our next release so I'm sure I'll
learn a lot of new things.

Test Name : tests.app.EARFileUsesClassPath
Test Assertion : Manifest file of an EAR file should not contain
Class-Path entries.

Wayne

On 10/25/06, Max Cooper <[EMAIL PROTECTED]> wrote:
> I agree that it is ugly, but the Jar Specification requires the
> wrapping, see "Line length" in this section:
>
>
http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Notes%20on%20Manifest%20and%20Signature%20Files
>
> The plugin is doing the right thing.
>
> -Max
>
> pjungwir wrote:
> > Yeah, I wish maven wouldn't wrap the Class-Path entry, too.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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




--
"What lies behind us and what lies in front of us is of little concern to
what lies within us." -Ralph Waldo Emerson

Reply via email to