Custom processor for Xslt task?

2006-12-30 Thread Trevor Harmon
I'm trying to use Saxon instead of the built-in Xalan processor for the Xslt task. Supposedly, all I have to do is specify a classpath when calling the task [1], but I've never been able to get this to work. Ant always finds the built-in processor in its lib directory. I see that the Ant FA

Re: Custom processor for Xslt task?

2006-12-30 Thread Trevor Harmon
On Dec 30, 2006, at 4:30 PM, Trevor Harmon wrote: What about Xslt? Is it still broken? After more investigation, I believe that Xslt is indeed broken, and it's probably the exact same issue that afflicted Junit, as described in bug #38799 [1]. However, I should also point out

Re: Custom processor for Xslt task?

2006-12-30 Thread Trevor Harmon
On Dec 30, 2006, at 8:22 PM, Jay Bryant wrote: I get Ant to work with Saxon with tasks similar to this one: Disregarding my issue for a moment, I don't understand how this could possibly work. Okay, so the Saxon JAR is on the classpath. We could even assume it's the very first entry o

Re: Custom processor for Xslt task?

2007-01-02 Thread Trevor Harmon
On Jan 2, 2007, at 7:58 AM, Dominique Devienne wrote: On 12/30/06, Trevor Harmon <[EMAIL PROTECTED]> wrote: I'm trying to use Saxon instead of the built-in Xalan processor for the Xslt task. Supposedly, all I have to do is specify a classpath when calling the task [1], but I've

Re: Custom processor for Xslt task?

2007-01-06 Thread Trevor Harmon
On Jan 3, 2007, at 5:16 AM, Dominique Devienne wrote: I always used the -lib approach myself, Yes, that works for me too, but it's exactly what I'm trying to avoid! After all, having to specify -lib defeats the purpose of the override. and can't easily test this nowdays, sorry. It's qu

Re: Custom processor for Xslt task?

2007-01-08 Thread Trevor Harmon
On Jan 6, 2007, at 9:43 PM, Trevor Harmon wrote: It's definitely not a misspelling. The override workaround always results in a ClassNotFoundException. I've filed a bug on this issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=41314 I also found a workaround, which I d

javac task + sourcepathref + excluded files = impossible?

2007-04-09 Thread Trevor Harmon
I have a list of source files that must be supplied to javac as well as several other tasks. It's a complex list with excludes, so I want to factor it out as a path reference to avoid future copy-and-paste bugs. But this doesn't seem to be possible! My path reference is defined like this:

Re: To change directory in ANT

2007-04-11 Thread Trevor Harmon
On Apr 11, 2007, at 12:29 AM, query wrote: I want to use change directory in ANT scripts. But it is not changing directory.It will revert back to its original setting as soon as it comes out of shell prompt. Yes, that is the expected behavior. creates a new shell environment every time i