-----Original Message-----
From: Stephane Bailliez [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 8:58 AM
To: [EMAIL PROTECTED]
Subject: RE: antstructure bombs-----Original Message-----
From: Steve Buroff [mailto:[EMAIL PROTECTED]]
-----Original Message-----
From: Stephane Bailliez [mailto:[EMAIL PROTECTED]][..]
>>Normally, you should have a 'verify error' if it was built with xalan1 and you try to run it with the compatibility jar.>That's exactly what happens. I tried the compatibility version (after reading your mail)
>and now I get:>java.lang.VerifyError: (class: org/apache/tools/ant/taskdefs/optional/
>junit/AggregateTransformer, method: getXSLStreamSource signature: (Lja
>va/lang/String;)Lorg/apache/xalan/xslt/XSLTInputSource;) Incompatible
>object argument for function call>So, I guess that's the problem Ant probably should be compiled with the latest versions
>of xalan and xerces As a minimum, compiling with the compatibility version of the
>jar file should help if folks know about it.I talked about this with Conor before the release, but I guess I wasn't very clear about the issues (I wasn't very sure also since this was pretty new and I didn't have time to do extensive testing and was also fighting bugs and exception swallowing in xalan.). So in any case, I'm somewhat guilty for this problem.
Plus I also stated in the JUnitReport doc that it works with the xalan 2 compatibility jar, which is not the case if it is not compiled with it, I anticipated a little bit.
I don't know if it would make sense to do another build for 1.3 to fix this problem.
As a workaround, you can use xalan 1.2.2 jar with Xalan 2 jar (but not the compatibility jar)
The xalan2 jar gives you the TRaX compliant transformer and the xalan1 jar gives you the 'xalan' processor.--
St�phane Bailliez
Software Engineer, Paris - France
iMediation - http://www.imediation.com
Disclaimer: All the opinions expressed above are mine and not those from my company.
> -----Original Message-----
> From: Steve Buroff [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 06, 2001 1:11 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Cc: Buroff, Steven
> Subject: RE: antstructure bombs
>
>
> Great - thanks. Maybe ant needs to be updated to
> the latest versions of xalan and xerces.
>
> Steve Buroff
>
> -----Original Message-----
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 06, 2001 7:04 AM
> To: [EMAIL PROTECTED]
> Subject: Re: antstructure bombs
>
>
> Steve Buroff <[EMAIL PROTECTED]> wrote:
>
> > I have ant 1.3. When I try to do an <antstructure>, I get:
> >
> > java.lang.NoClassDefFoundError:
> > org/apache/xalan/xslt/XSLTInputSource
> >
> > Any idea what the problem might be?
>
> I think this class is from Xalan 1.1 - Xalan 1.2 would probably use
> the TraX liaison. I'll have a look at <antstructure> to see why it
> fails.
>
> Stefan
>
Title: RE: antstructure bombs
Thanks
for the detailed explanation. Unfortunately, I no longer
have
xalan 1.1 around and its not really worth getting it for
this
problem. I'll just wait until they build an ant with the
newest
xalan.
Again, thanks for all the help.
Steve
- antstructure bombs Steve Buroff
- Re: antstructure bombs Stefan Bodewig
- RE: antstructure bombs Steve Buroff
- RE: antstructure bombs M.A.Dunphy
- Re: antstructure bombs Stefan Bodewig
- RE: antstructure bombs Stephane Bailliez
- RE: antstructure bombs Steve Buroff
- RE: antstructure bombs Stephane Bailliez
- Steve Buroff
