Re: AW: Obtaining error messages from xslt task

2005-11-29 Thread Simon Kitching
Simon Kitching wrote: Thanks for the responses. I've managed to create a simple example that demonstrates the problem. See the attached files. Running the ant script for me generates no errors. Oddly, removing the from the input.in file does cause the errors to be emitted. Hmm..the

Re: AW: Obtaining error messages from xslt task

2005-11-29 Thread Simon Kitching
wrote: Can you point to the buildfile, xmlfile, entities and stylesheet in SVN? Would be easier to retest... Jan -Ursprüngliche Nachricht- Von: Simon Kitching [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 29. November 2005 00:11 An: user@ant.apache.org Betreff: Obtaining error mes

Obtaining error messages from xslt task

2005-11-28 Thread Simon Kitching
Hi, The myfaces project has some documents that make heavy use of xml entity references (&foo;) to compose a JSP TLD file from multiple parts. The ant task is used to create a document with all these entity references expanded inline (plus a little pretty-printing). However some people (inc

Re: using arguments after the java command

2005-07-19 Thread Simon Kitching
On Tue, 2005-07-19 at 22:07 -0400, James Black wrote: > This is the error I get: > Exception caught: java.lang.IllegalArgumentException: Unknown command > line argument: -o filename.tini You should carefully read the ant manual for re the difference between Regards, Simon -

Re: Xslt task defaults to XSLTC with jdk1.5?

2005-07-19 Thread Simon Kitching
On Tue, 2005-07-19 at 12:42 -0400, Robert Koberg wrote: > Hi, > > Is it expected behavior for the Xslt task to default to XSLTC when using > jdk1.5? It does. When I threw the xalan jar in the ant lib directory it > used xalan-j. Perhaps it has to do with Sun's renaming of the xalan > classes (c

Re: need help adding a command to the compile task

2005-07-17 Thread Simon Kitching
On Sun, 2005-07-17 at 21:32 -0600, Paul Goepfert wrote: > I have been writing a java program with apache ant. When I complie I > get a warning that say to recompile with -Xlint:unchecked for details. > How do I do that in ant? > See the section on the "compilerarg" tag in the javac task docum

Re: Does Ant improves the performance in large c++ project than make?

2005-07-14 Thread Simon Kitching
On Fri, 2005-07-15 at 08:19 +0200, Juergen Hermann wrote: > On Thu, 14 Jul 2005 17:45:13 -0700, Alexey N. Solofnenko wrote: > > >It is quite possible. With make it is usually one file at a time > >compilation. ANT is smart enough to request a build for several files at > >a time. > > BTW, it so

Re: Creating tasks in Ant for C++ project

2005-07-14 Thread Simon Kitching
On Fri, 2005-07-15 at 08:17 +0200, Juergen Hermann wrote: > On Thu, 14 Jul 2005 17:32:54 -0700 (PDT), hiren patel wrote: > > >is it easy to create custom tasks in Ant to achieve the functionaly as > provided by make ? > >I want to move from make to ANT , so do you have an idea that what it ta

optional tasks and the ant/lib dir

2005-07-14 Thread Simon Kitching
Hi, I noticed the thread re junit and ftp tasks recently, and also had to deal with this myself to use junit task recently. Has anyone considered making taskdef use a child-first classloader in order to avoid having to move the relevant task jar out of the ant/lib dir? It is also possible to wr

Re: Does Ant improves the performance in large c++ project than make?

2005-07-14 Thread Simon Kitching
On Thu, 2005-07-14 at 17:27 -0700, hiren patel wrote: > Hi, > We are having a large,multi platform,complex,commercial C++ project which is > build by > using a make peer PVCS merant make. In oreder to tailor the functionality of > make, we have created the wrapper around it. > > Around 700 of

Re: Executing junit tests with differing classpaths

2005-07-05 Thread Simon Kitching
On Sun, 2005-06-26 at 12:07 +0200, Stefan Bodewig wrote: > On Sun, 26 Jun 2005, Simon Kitching <[EMAIL PROTECTED]> wrote: > > > Am I right in thinking that the task provides no way for the > > classloader setup in the forked JVM to be tweaked before the test is > >

Executing junit tests with differing classpaths

2005-06-25 Thread Simon Kitching
Hi, At the jakarta-commons-logging project we need to be able to execute various unit tests with different classpaths set. As an example test Test1 may need to have parent-classloader: lib1.jar child-classloader: lib2.jar, test-classes-dir The old way of executing unit tests is by using a t