AW: How to use nested if in ant script?

2009-03-09 Thread Jan.Materne
>>> Use ;) >> >> That brings me to ask: Does the new (?)

Re: How to use nested if in ant script?

2009-03-09 Thread Brian Pontarelli
Use ;) That brings me to ask: Does the new (?)

How to prevent "unknown resolver" errors?

2009-03-09 Thread Daniel Dekany
I declared own cache for all resolvers that I use, and that solved this problem for a while. But if I resolve something that is also in the default cache of Ivy (I mean ${user.home}/.ivy2/cache) the project pollutes or otherwise access it, and that will cause "unknown resolver" errors again. For e

RE: xslt Task

2009-03-09 Thread cknell
> The XSLT runs fine together with Saxon processor. Then use the Saxon processor in ANT. I set the CLASSPATH to include the saxon.jar file, then I set the value of the "processor" attribute to "trax" as shown below. processor="trax" -- Charles Knell ckn...@onebox.com - email -Origina

AW: xslt Task

2009-03-09 Thread Knuplesch, Juergen
I found online an solution. I just needed to add the saxon jar into the Ant classpath. It worked, amazing! Thanks for help anyway. Greetings Juergen -- Jürgen Knuplesch -Ursprüngliche Nachricht- Von: Francis Galiegue [mailto:f...@one2team.com] Gesendet: Montag, 9. März 2009 17:01 A

Re: xslt Task

2009-03-09 Thread Francis Galiegue
Le lundi 09 mars 2009, Knuplesch, Juergen a écrit : > Hello, > > we want to intergrate a xsl-Transformation into our Buildprocess. The XSLT runs fine together with Saxon processor. Inside Ant it does not run. > > Why cant Ants XSLT not understnad this XSLT? > > What is a good solution? > Integr

xslt Task

2009-03-09 Thread Knuplesch, Juergen
Hello, we want to intergrate a xsl-Transformation into our Buildprocess. The XSLT runs fine together with Saxon processor. Inside Ant it does not run. Why cant Ants XSLT not understnad this XSLT? What is a good solution? Integrate saxon into Ant? How? Greetings Juergen -- Jürgen Knuplesch

Re: XML

2009-03-09 Thread Brian Agnew
You can do something like this using XMLTask. e.g. Found a node with text ${path} The above will call the target 'callback' with the text content of each node that is matched by the XPath expression //*. See http://www.oopsconsultancy.com/software/xmltask/ and in pa

RE: Trim leading spaces line by line

2009-03-09 Thread Felix Dorner
I found the solution my self in the ant manual: It would be nice to do this on-the-fly, so that source and dest are the same. Is this possible somehow? ---

AW: XML

2009-03-09 Thread Jan.Materne
>Is it possible to iterate over a XML file? How can this be done? It is a very long time ago that I have seen a PropertyHelper implementation for XPath. With that and AntContrib you could do something like The buildfile contains these targets: @{target} >have you looked at x

RE: XML

2009-03-09 Thread Martin Gainty
have you looked at xslt task? http://ant.apache.org/manual/CoreTasks/style.html Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This

XML

2009-03-09 Thread Guy Catz
Hi. Is it possible to iterate over a XML file? How can this be done? Thanks, Guy.

Trim leading spaces line by line

2009-03-09 Thread Felix Dorner
Hey, I prefer my xml files to look nice, so I indent multi-line-echoes (these go to a file). Is there a simple ant way to remove all the spaces that were caused by the indentation afterwards? Felix - To unsubscribe, e-mail: us

Re: How to use nested if in ant script?

2009-03-09 Thread Peter Reilly
On Mon, Mar 9, 2009 at 8:44 AM, Felix Dorner wrote: > >> Use ;) > > That brings me to ask: Does the new (?)

RE: How to use nested if in ant script?

2009-03-09 Thread Felix Dorner
> Use ;) That brings me to ask: Does the new (?)

AW: Invoking Ant programmatically with an Java-String

2009-03-09 Thread Jan Bartel
Hi Stefan and Gilbert, thank you for your help :-) >Not easily. Ant's projecthelper implementation wants to read from a >File and you really need a file when you want to resolve relative >paths and so on.:t > I suppose reimplementing the projecthelper would fit my requirements . Isn't there a

RE: [Personnal task] Executing javac from a task container

2009-03-09 Thread Gervais
d by ESET NOD32 Antivirus. > > http://www.eset.com > > > > > > - > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For