Noob question about "delete"

2009-09-30 Thread Rodrigo Sebastián Alfonso
Hi guys, I have a very basic question, i dunno if its my error or just that ANT does not allow it, but when I call the delete command, like so: All it does is erase the children of ${bin.dir}, but not ${bin.dir} itself, I've tested this in windows 7 and ubuntu 9.04 but nothing seems to solve it

Re: not to display message 'deleting...'

2009-09-30 Thread David Weintraub
Ant normally displays each task it is executing, so the delete task will say [delete]. Have you tried running Ant with the -quiet switch? That should remove all the standard messages except for warnings. You can also look at the various loggers. For example, there's a log4j listener that will all

RE: Adding multiple external JARS using Ant

2009-09-30 Thread not4google
Thanks for the info I decided to specify each of the JARS as turned out only needed 3 in any case. Now when I run the app I get an error as a XML file cannot be found. I did the following in the ant target: and this file exists in my JAR but when running the JAR the file cannot be found?

RE: Adding multiple external JARS using Ant

2009-09-30 Thread Rebhan, Gilbert
-Original Message- From: not4google [mailto:kapil.x.jo...@jpmorgan.com] Sent: Wednesday, September 30, 2009 1:41 PM To: user@ant.apache.org Subject: RE: Adding multiple external JARS using Ant /* Thanks for the info but what I needed was to add all JARS within a directory rather than s

RE: Adding multiple external JARS using Ant

2009-09-30 Thread not4google
Thanks for the info but what I needed was to add all JARS within a directory rather than specifying each one if thats possible? Rebhan, Gilbert wrote: > > > > -Original Message- > From: not4google [mailto:kapil.x.jo...@jpmorgan.com] > Sent: Wednesday, September 30, 2009 1:22 PM > To:

RE: Adding multiple external JARS using Ant

2009-09-30 Thread Rebhan, Gilbert
-Original Message- From: not4google [mailto:kapil.x.jo...@jpmorgan.com] Sent: Wednesday, September 30, 2009 1:22 PM To: user@ant.apache.org Subject: Adding multiple external JARS using Ant /* Hi all I have the following target:

Adding multiple external JARS using Ant

2009-09-30 Thread not4google
Hi all I have the following target: When I run the JAR from the command line I get ClassNotFoundExceptions and

AW: Ant xslt task dand fatal errors

2009-09-30 Thread Knuplesch, Juergen
There is a try catch in antcontrib, that I use... -- Jürgen Knuplesch Von: Huditsch, Roman (LNG-VIE) [mailto:roman.hudit...@lexisnexis.at] Gesendet: Mittwoch, 30. September 2009 10:58 An: user@ant.apache.org Betreff: Ant xslt task dand fatal errors Hi eve

Re: Performance of Ant

2009-09-30 Thread Stefan Bodewig
On 2009-09-30, Raja Nagendra Kumar wrote: > Yes, I could but I loose the flexibility of calling from command line. original-content-of-your-target should work for that usecase. > To our surprise.. when such a changes are done, they work from xml but it > does not work cust

Re: Performance of Ant

2009-09-30 Thread Raja Nagendra Kumar
Yes, I could but I loose the flexibility of calling from command line. To our surprise.. when such a changes are done, they work from xml but it does not work custom task (based on project.createTask() and execute() ) methods. Regards, Nagendra Stefan Bodewig wrote: > > On 2009-09-30, Raja Na

not to display message 'deleting...'

2009-09-30 Thread EetieD
Is there a way not to display the message 'deleting a file...' when Apache ANT is actually deleting a file? When I do this: I see the message: [delete] Deleting: d:\pro.txt... For the product flow, it shouldn't display this message because of the clarity. I hope someone can help me. Thanks!

Ant xslt task dand fatal errors

2009-09-30 Thread Huditsch, Roman (LNG-VIE)
Hi everybody, I am doing several xslt transformations managed by an ant build file. The XSLT processor used is Saxon 9 since our stylesheets are written in XSLT 2.0. My problem now is that if Saxon is reporting a fatal error for the transformation of one input file, the ant task is breaking

Re: Performance of Ant

2009-09-30 Thread Stefan Bodewig
On 2009-09-30, Raja Nagendra Kumar wrote: > On a professional product build scripts, we see the need for calling many > times to call a particular target. However due to isolation level > for this target calls.. there is a huge penalty on performance. > Is there a way to call another target in

Performance of Ant

2009-09-30 Thread Raja Nagendra Kumar
Hi, On a professional product build scripts, we see the need for calling many times to call a particular target. However due to isolation level for this target calls.. there is a huge penalty on performance. Is there a way to call another target in the same build context and with no isolation n