Re: How to specify xml configuration file from Ant Task

2009-10-02 Thread supareno
not4google a écrit : Hi all I have some code which relies on a xml configuration file being available. I have built my JAR from ant ANT task and after looking in the JAR i can see that the file is there. However when I try and execute the JAR on Windows from the command line e.g. java -jar T

Re: Wierdness With Java Task

2009-10-02 Thread Eric Fetzer
I take it back.  In DOS, I have to check %errorlevel% which on one machine returns 13 and the other 0.  I should be able to figure it out now based on using -verbose in java... From: Eric Fetzer To: Ant Users List Sent: Friday, October 2, 2009 11:33:56 AM Su

Re: Wierdness With Java Task

2009-10-02 Thread Eric Fetzer
When I run this from the command line with the arguments shown: [java] Executing 'C:\IBM\WebSphere\AppServer\java\bin\java.exe' with arguments: [java] '-Xmx512m' [java] '-classpath' [java] 'C:\Versata\BRE-6.3\workbench\startup.jar' [java] 'org.eclipse.core.launcher.Main'

Wierdness With Java Task

2009-10-02 Thread Eric Fetzer
I have a task that I'm using as such on two separate machines:                                                   Up until this point, the log shows identical (version of ant, version of

Re: Performance of Ant

2009-10-02 Thread Raja Nagendra Kumar
Oops.. It is nice to know that ant-contrib already has it. -- View this message in context: http://www.nabble.com/Performance-of-Ant-%3Cantcall%3E-tp25676250p25716730.html Sent from the Ant - Users mailing list archive at Nabble.com.

RE: Performance of Ant

2009-10-02 Thread Rebhan, Gilbert
-Original Message- From: Stefan Bodewig [mailto:bode...@apache.org] Sent: Friday, October 02, 2009 3:25 PM To: user@ant.apache.org Subject: Re: Performance of Ant /* On 2009-10-02, Raja Nagendra Kumar wrote: > I have put the summary of discussion and need for a new task as per this

Re: Tracking Dependencies for Releases Question

2009-10-02 Thread Archie Cobbs
On Fri, Oct 2, 2009 at 8:47 AM, Kelly Dolan wrote: > If a product does not have artifacts, we don't have anything to publish and > therefore don't get an ivy.xml that records the versions of each dependency > used. I guess we could manually make a copy of ivy.xml and go through each > dependency

Re: properties echo with absolute values

2009-10-02 Thread David Weintraub
A property is just a string. It may or may not be a file name. You can try the task to see if that will put the full path to a file. This type of task isn't all that simple and requires some assumptions about the OS. I always prepend file and directory names in my ant script with ${dirname

Re: Performance of Ant

2009-10-02 Thread Stefan Bodewig
On 2009-10-02, Raja Nagendra Kumar wrote: > I have put the summary of discussion and need for a new task as per this > discussions in ant-contrib. I think you've misunderstood what I was trying to say. ant-contrib already has such a task:

Re: Performance of Ant

2009-10-02 Thread Raja Nagendra Kumar
Hi Stefan I have put the summary of discussion and need for a new task as per this discussions in ant-contrib. The same is available at http://www.nabble.com/Need-for-a-new-task-to-call-the-target-without-isolation-to25714539.html Regards, Nagendra -- View this message in context: http://ww

How to specify xml configuration file from Ant Task

2009-10-02 Thread not4google
Hi all I have some code which relies on a xml configuration file being available. I have built my JAR from ant ANT task and after looking in the JAR i can see that the file is there. However when I try and execute the JAR on Windows from the command line e.g. java -jar Test.jar I get an except

Re: Performance of Ant

2009-10-02 Thread Stefan Bodewig
On 2009-10-02, Raja Nagendra Kumar wrote: >> I will note that the ant-contrib project provides a task to invoke a >> target. > O.k, thanks. Do I need to post this in ant-contrib forum. If you have question about ant-contrib's task(s), then their forum will be better suited than this list, yes.

Re: Performance of Ant

2009-10-02 Thread Raja Nagendra Kumar
> Ant's goal is to be declarative in nature. O.k > I will note that the ant-contrib project provides a task to invoke a > target. O.k, thanks. Do I need to post this in ant-contrib forum. Regards, Nagendra -- View this message in context: http://www.nabble.com/Performance-of-Ant-%3Cantcall%

Re: Performance of Ant

2009-10-02 Thread Stefan Bodewig
On 2009-10-02, Raja Nagendra Kumar wrote: > This could be one workaround due to lack of straight approach to call the > target. > I am surprised why such a thing did not exist from day one.. Pl. let me know > if this approach has any ant design related issues. Any ability to call directly makes