ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: Is there a dependency on XML parser for Ant 1.2
Date Wed, 07 Feb 2001 10:26:15 GMT
> -----Original Message-----
> From: Yusuf Goolamabbas [mailto:yusufg@outblaze.com]
> Sent: Wednesday, February 07, 2001 8:59 AM
> To: ant-dev@jakarta.apache.org
> Subject: Is there a dependency on XML parser for Ant 1.2
> 
> Hi I had posted a query to ant-user and the response I got was to use
> 'fork="yes"' in my java task to workaround this. I had used Ant 1.2
> earlier to write programs using Xerces/Xalan and required no such
> workaround. 
> 
> After upgrading to Xeces 1.3 and Xalan 2.0, I seem to require this.
> 
> Whilst I am okay with the workaround, is there a specific reason for
> this and should we always use fork=yes for java tasks which call
> classes using Xerces/Xalan

That must be due to a classloader / classpath problem I suppose.
IMHO the problem should disappear if you use xerces/xalan for ant instead of
jaxp.jar/parser.jar
xalan 2.0 includes the jaxp 1.1 interface and default parser is xerces.

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



Mime
View raw message