dev@wadl.java.net

Re: Merging???

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

Hmmm, that's awkward. It works for me. It could be Maven, but I'd be
surprised it is.

If I run the Maven dependencies report on wadl-core, I get this list of
dependencies:


   - org.jvnet.ws.wadl:wadl-core:jar<file:///home/wilfred/workspace/wadl-mavenized/wadl-core/target/site/dependencies.html#org.jvnet.ws.wadl:wadl-core:jar>
      - javax.activation:activation:jar<file:///home/wilfred/workspace/wadl-mavenized/wadl-core/target/site/dependencies.html#javax.activation:activation:jar>
      - junit:junit:jar<file:///home/wilfred/workspace/wadl-mavenized/wadl-core/target/site/dependencies.html#junit:junit:jar>
      - com.sun.localizer:localizer:jar<file:///home/wilfred/workspace/wadl-mavenized/wadl-core/target/site/dependencies.html#com.sun.localizer:localizer:jar>
      - com.sun.xml.bind:jaxb-impl:jar<file:///home/wilfred/workspace/wadl-mavenized/wadl-core/target/site/dependencies.html#com.sun.xml.bind:jaxb-impl:jar>
         - javax.xml.bind:jsr173_api:jar<file:///home/wilfred/workspace/wadl-mavenized/wadl-core/target/site/dependencies.html#javax.xml.bind:jsr173_api:jar>
      - javax.xml.bind:jaxb-api:jar<file:///home/wilfred/workspace/wadl-mavenized/wadl-core/target/site/dependencies.html#javax.xml.bind:jaxb-api:jar>
      - com.sun.xml.bind:jaxb-xjc:jar<file:///home/wilfred/workspace/wadl-mavenized/wadl-core/target/site/dependencies.html#com.sun.xml.bind:jaxb-xjc:jar>
      - com.sun.localizer:comresrcgen:jar<file:///home/wilfred/workspace/wadl-mavenized/wadl-core/target/site/dependencies.html#com.sun.localizer:comresrcgen:jar>

(This will also be the list when calculating the jars that need to be
appended to the ClassPath variable of the wadl-cmdline jar.)

It seems everything is there. The samples and the commandline work fine for
me.

Hold on. I haven't run the Windows script yet. Do you happen to run Windows?



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
> >
> >
>