dev@wadl.java.net

Re: Merging???

From: Wilfred Springer <wilfredspringer_at_gmail.com>
Date: Wed, 21 Nov 2007 20:55:30 +0100

I'm able to reproduce the problem.

All of the different jar files are currently located by the ClassPath
entries in the Manifest.mf file of wadl-cmdline.jar. If I do a build using
NetBeans, then all jar files listed in the ClassPath entry are prefixed with
lib. I noticed NetBeans is using Maven 2.0.5; that may be the reason that
we're having this problem. I will see if I can fix it tomorrow morning, CET.


Cheers,

Wilfred

2007/11/21, Marc Hadley <Marc.Hadley_at_sun.com>:
>
> On Nov 21, 2007, at 2:33 PM, Wilfred Springer wrote:
>
> > Hmmm, that's awkward. It works for me. It could be Maven, but I'd be
> > surprised it is.
> >
> Hmm, that is odd.
>
> >
> > Hold on. I haven't run the Windows script yet. Do you happen to run
> > Windows?
> >
> No, I'm running on a Mac. You don't happen to have JAXB in your
> endorsed directory or anything like that ?
>
> Marc.
>
> >
> > 2007/11/21, Wilfred Springer <wilfredspringer_at_gmail.com>:
> >>
> >> I have been running Java 6 for a couple of days. Give me a minute,
> >> I will
> >> remove it and see what happens.
> >>
> >> 2007/11/21, Marc Hadley <Marc.Hadley_at_sun.com >:
> >>>
> >>> On Nov 21, 2007, at 11:31 AM, Wilfred Springer wrote:
> >>>>
> >>>> I merged the two code based locally, and everything looks fine. Are
> >>>> you ok
> >>>> with me moving ahead? (I'll be on my way for the next two hours,
> >>>> but
> >>>> I'll
> >>>> check my email afterwards. I will only start merging if everybody
> >>>> agrees.)
> >>>>
> >>> I think there's a problem. I just did a completely clean checkout,
> >>> the
> >>> build worked OK but the binary distribution isn't working, I get:
> >>>
> >>> Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/
> >>> codemodel/JClassAlreadyExistsException
> >>>
> >>> When I try to run the bin/wadl2java or samples/cmdline/run scripts.
> >>>
> >>> It looks like the JAXB impl classes are missing, I'm running JDK
> >>> 5.0,
> >>> I wonder if you are running with JDK 6 and hence don't need JAXB
> >>> classes on the classpath ?
> >>>
> >>> Marc.
> >>>
> >>> ---
> >>> Marc Hadley < marc.hadley at sun.com>
> >>> CTO Office, Sun Microsystems.
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: dev-unsubscribe_at_wadl.dev.java.net
> >>> For additional commands, e-mail: dev-help_at_wadl.dev.java.net
> >>>
> >>>
> >>
>
> ---
> Marc Hadley <marc.hadley at sun.com>
> CTO Office, Sun Microsystems.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_wadl.dev.java.net
> For additional commands, e-mail: dev-help_at_wadl.dev.java.net
>
>