ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: Ant1.5.4: using Andariel Xpath: Provider com.icl.saxon.om.DocumentBuilderFactoryImpl not found
Date Sun, 12 Jun 2005 06:39:57 GMT
Hello David,
you got hit by the delegating_classloader problem :
http://ant.apache.org/faq.html#delegating-classloader
Cheers,
Antoine

Karr, David wrote:

>I installed saxon6.5.2, and
>my taskdef has a classpath referencing both the andariel and saxon jars.
>When I run my test, I just get:
>
>javax.xml.parsers.FactoryConfigurationError: Provider
>com.icl.saxon.om.DocumentBuilderFactoryImpl not found
>
>After a little more research, it appears this is another symptom (I've
>seen this before) of the problem where setting the classpath on a
>taskdef isn't enough, it requires me to copy the jar into $ANT_HOME/lib.
>When I just copied my saxon.jar file into $ANT_HOME/lib, I was able to
>get past this.  I would really prefer to just reference the required
>jars in the taskdef itself.  Is this not possible to get around in Ant
>1.5.4?
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message