Re: Obtaining error messages from xslt task

2005-11-28 Thread Antoine Levy-Lambert
Hello Simon, ant 1.6 has a bug concerning XML processing of documents containing entities, when the main document is in a directory whose path contains spaces. but this is not your problem. these targets from ant's main build file could help you : Cheers, Antoine Simo

AW: Obtaining error messages from xslt task

2005-11-28 Thread Jan.Materne
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 messages fr

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: apply task trouble for command using < and >

2005-11-28 Thread Steve Loughran
Jakob Fix wrote: Jan, On 28/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I think these steps should works - compile the class (needs ant.jar on classpath) - , e.g. - use the "new" task Now I feel really stupid, but what the hell ... ok, I compiled the class like this javac -classp

Re: AntDoc fails under JDK 1.5

2005-11-28 Thread Dominique Devienne
> I am trying to use antDoc with JDK 1.5, but it doesn't work. I get an error > (see below). Do I have to install another JDK version in order to get it > work or I have to install specific library?, I am using Ant 1.6.5 This is the Ant list, not the AntDoc list ;-) > Do yo know about any other s

AW: apply task trouble for command using < and >

2005-11-28 Thread Jan.Materne
>> I think these steps should works >> - compile the class (needs ant.jar on classpath) >> - , e.g. > name="apply2"/> >> - use the "new" task > >Now I feel really stupid, but what the hell ... ok, I compiled >the class like this > javac -classpath "./lib/ant.jar" Apply.java > >which indeed create

AntDoc fails under JDK 1.5

2005-11-28 Thread David
I am trying to use antDoc with JDK 1.5, but it doesn't work. I get an error (see below). Do I have to install another JDK version in order to get it work or I have to install specific library?, I am using Ant 1.6.5 Do yo know about any other similar product?, it seem to me the author is not going

RE: Writing files

2005-11-28 Thread Jon Skeet
> Does any body know how to create a property file and write > some properties in it from ant? Do you know any ant task > which can do that? Absolutely - the optional task. Jon Clearswift monitors, controls and protects all its messaging traffic in compliance with its corporate email policy

Re: apply task trouble for command using < and >

2005-11-28 Thread Jakob Fix
Jan, On 28/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I think these steps should works > - compile the class (needs ant.jar on classpath) > - , e.g. > - use the "new" task Now I feel really stupid, but what the hell ... ok, I compiled the class like this javac -classpath "./lib/an

AW: Starting processes in parallel

2005-11-28 Thread Jan.Materne
or define that start process in and refer to that in individual and the parallel targets. Jan >-Ursprüngliche Nachricht- >Von: D. Bollmann [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 28. November 2005 10:57 >An: user@ant.apache.org >Betreff: Starting processes in parallel > >Hi,

AW: Writing files

2005-11-28 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Andrei [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 28. November 2005 11:11 >An: Ant Users List >Betreff: Writing files > >Does any body know how to create a property file and write >some properties in it from ant? Do you know any ant task which >

Writing files

2005-11-28 Thread Andrei
Does any body know how to create a property file and write some properties in it from ant? Do you know any ant task which can do that? Thanks, Andrei - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Starting processes in parallel

2005-11-28 Thread D. Bollmann
Hi, I am using the same build file to start (JMS) publishers and subscribers: ... ... I would like to use these targets to define a new target for starting i publishers and j subscribers in parallel (They should be able to send messages to each other). I am thinking about something li

AW: apply task trouble for command using < and >

2005-11-28 Thread Jan.Materne
ggrrr next try (why does Alt-S sends (as Ctrl-Return does) and doesnt select the subject... "nice" outlook...) >>That's terrific, thanks a lot! However, unfortunately, I do not know >>how to integrate your extension of the Apply class into my >current Ant >>setup. I think these steps

AW: apply task trouble for command using < and >

2005-11-28 Thread Jan.Materne
Sorry, touched the wrong key ... More inside >>That's terrific, thanks a lot! However, unfortunately, I do not know >>how to integrate your extension of the Apply class into my >current Ant >>setup. I think these steps should works - compile the class (needs ant.jar on classpath) - the c

AW: apply task trouble for command using < and >

2005-11-28 Thread Jan.Materne
>> I'll try to update the "real" apply task next week, but you can use >> the custom task below in the mean time (it just "plugs in" at the >> right time to create the directories, without duplicating >the >> code itself. Ant's maps to ExecuteOn). > >That's terrific, thanks a lot! However, u

Re: apply task trouble for command using < and >

2005-11-28 Thread Jakob Fix
Dominique, On 26/11/05, Dominique Devienne <[EMAIL PROTECTED]> wrote: > > Hmm, just one small problem I couldn't solve yet. Apply will bail out > > if it tries to output a file to a directory that doesn't exist. > > I ran into the same issue in the past, and had to "patch" to > solve it, as you