Re: Typdef/taskdef behaviour and introspection

2005-01-05 Thread Yves Martin
"Magali & Edouard sur Free" <[EMAIL PROTECTED]> writes: > As I understand, the Java XSLT API performs introspection by creating an > instance of the 'javax.xml.transform.TransformerFactory' abstract class, and > by looking at the Java system 'javax.xml.transform.TransformerFactory' > property. > >

Re: Typdef/taskdef behaviour and introspection

2005-01-04 Thread Antoine Levy-Lambert
Hello Edouard, I think your problem is the one described in the FAQ http://ant.apache.org/faq.html#delegating-classloader the work around is to have your xalan or saxon in the classpath before starting ant, or to start ant with : ant -lib [path to xalan] or ant -lib [path to saxon] on top of that,

Re: Re: Typdef/taskdef behaviour and introspection

2004-12-27 Thread edouard . ant
Hi to all; first of all, thanks a lot for your answers. I need to indicate that I need my Ant task to work both under JRE V1.3 and JRE V1.4+. OK, I need to perform XSLT that is supposed to be separate from the Ant process. So I guess that I'm out of luck ;-< But this is a general issue, since

Re: Typdef/taskdef behaviour and introspection

2004-12-27 Thread Antoine Levy-Lambert
Hello, Edouard, do not forget also that xalan is part of JDK 1.4 (I guess also of 1.5). Starting ant or java with a -Djava.endorsed.dirs="path to xalan.jar" or create a directory $JAVA_HOME/jre/lib/endorsed and put the version of xalan you need there might help. Cheers, Antoine Jacob Kjome wrote:

Re: Typdef/taskdef behaviour and introspection

2004-12-26 Thread Jacob Kjome
When your task performs XSLT, does it programmatically use Ant's XSLT task to perform the transformation or is it completely separate from any Ant specifics? If the former, then you are out of luck because your task would have to be at the same level as, or a parent of, Ant's main classloader.