+1 for keeping the code buildable on Java SE 5.
Chathura
> -----Original Message-----
> From: Ajith Ranabahu [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 11, 2005 9:45 AM
> To: [email protected]; Dong Liu
> Subject: Re: [Axis2]Dependency on Crimson
>
> Hi,
> Yes the dependency is indeed there. Will fix it ASAP.
>
>
> On 7/10/05, Dong Liu <[EMAIL PROTECTED]> wrote:
> > The same issue is found when testing the WSDL2Java facility on Java SE
> > 5 described in the user guide. The message
> >
> > >WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -o
> > ..\samples\src -p org.apache.axis2.userguide
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/crimson/tree/XmlDocument
> > at
> org.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter.createDOM
> DocuementForSkeleton(MultiLanguageClientEmitter.java:524)
> > at
> org.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter.writeSkel
> eton(MultiLanguageClientEmitter.java:220)
> > at
> org.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter.emitSkele
> ton(MultiLanguageClientEmitter.java:345)
> > at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGeneration
> Engine.java:100)
> > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:28)
> > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:22)
> >
> > Cheers,
> >
> > Don
> >
> > On 7/9/05, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> > > +1 to fix this ASAP!
> > >
> > > On 7/9/05, Changshin Lee <[EMAIL PROTECTED]> wrote:
> > > > Hi all,
> > > >
> > > > I found that
> > > > org.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter
> used
> > > > org.apache.crimson.XmlDocument, which causes Axis 2 WSDL2Java to
> fail to
> > > > run on Java SE 5. The reason is that Sun's JDK 1.4 contains Crimson
> as a
> > > > JAXP implementation and Java SE 5 doesn't. As we agreed, Axis 2
> should
> > > > be able to be build and run on Java SE 5.
> > > >
> > > > Cheers,
> > > >
> > > > Ias
> > > >
> > >
> > >
> > > --
> > > Davanum Srinivas -http://blogs.cocoondev.org/dims/
> > >
> >
>
>
> --
> Ajith Ranabahu