Re: exec - Cannot run program 'start' CreateProcess error=2

2009-12-16 Thread as rao
Though *vmlauncher="false"* worked for me, it has the following problem: This means control is being done by OS (not JVM). My script start multiple managed servers in a sequence. Once the 1st server is started and in the 'RUNNING' mode, Ant should get the control back so that it can start the 2nd

Re: AW: AW: How to know if a perticular macro is defined or not

2009-12-16 Thread Raja Nagendra Kumar
Thank you Jan. This solution is nice and straight. Regads, Nagendra -- View this message in context: http://old.nabble.com/How-to-know-if-a-perticular-macro-is-defined-or-not-tp26808155p26824142.html Sent from the Ant - Users mailing list archive at Nabble.com. ---

AW: AW: How to know if a perticular macro is defined or not

2009-12-16 Thread Jan.Materne
>It may be good idea to have api to know the list of macros >available too (it >may be of help in few other contexts than this). /** * Return the current task definition hashtable. The returned hashtable is * "live" and so should not be modified. * * @return a map of fro

Re: Question ant script --> extract RAR-File --> XALAN --> XSLT, XML

2009-12-16 Thread Antoine Levy-Lambert
Hello Tamer, I suggest you open the ant manual that you can find online, and you look at the tasks mkdir, unzip, xslt. Regards, Antoine Tamer Demirel wrote: > Hello, > > i like to automatise my transformations xslt and . So i don't want to > build class files. > Can somebody give me a short exa

Does the "sql" task not close its connection when done?

2009-12-16 Thread KARR, DAVID (ATTCINW)
I'm trying to build a test suite using an embedded Derby server. In my build.xml, I have a "sql" task that executes my "create table" sql, and then I run "junit" to run my tests that use the database. I'm finding that Derby is giving me an error while in the test class, saying that "Another insta

Question ant script --> extract RAR-File --> XALAN --> XSLT, XML

2009-12-16 Thread Tamer Demirel
Hello, i like to automatise my transformations xslt and . So i don't want to build class files. Can somebody give me a short example how i can use ant to achieve it? I need the commands or example File. What i have: Folder: PROJECT Subfolder: RAR (here are my RAR-File) Subfolder: XSLT (here a

Re: AW: How to know if a perticular macro is defined or not

2009-12-16 Thread Matt Benson
You want the condition. See the list of supported conditions under the task. On Dec 16, 2009, at 6:02 AM, Raja Nagendra Kumar wrote: Thank you jan. It may be good idea to have api to know the list of macros available too (it may be of help in few other contexts than this). Pl. consi

Re: AW: Cruisecontrol Ant deploy application in OC4J 10.1.3

2009-12-16 Thread Sri123
Thanks Jan for your reply. I see from my OC4J container logs that there are few problems: 1) Exception occurred getting connection pool sizes from data source connection pool 'OracleDS_connectionPool'. Exception: 'java.sql.SQLException: java.lang.reflect.InvocationTargetException'. 2) Error seria

Re: exec - Cannot run program 'start' CreateProcess error=2

2009-12-16 Thread as rao
Hi Thank you all. The build.xml is given by the vendor of the app server, and is a complex build file. I am OK to make changes, but only minor changes. I tried adding attribute *vmlauncher="false"* to exec and it worked for me. cheers a s On Wed, Dec 16, 2009 at 2:59 PM, Dalton, Tom wrote:

Re: AW: How to know if a perticular macro is defined or not

2009-12-16 Thread Raja Nagendra Kumar
Thank you jan. It may be good idea to have api to know the list of macros available too (it may be of help in few other contexts than this). Pl. consider this as a new requirement. Regards, Nagendra -- View this message in context: http://old.nabble.com/How-to-know-if-a-perticular-macro-is-de

RE: exec - Cannot run program 'start' CreateProcess error=2

2009-12-16 Thread Dalton, Tom
You probably need to specify the working dir for the start executable and might also need to add ./ to start if wherever it is located isn't in the system PATH. E.g. Hope that helps! Tom -Original Message- From: as rao [mailto:asrao.y...@gmail.com] Sent: 16 December 2009 07:40 T

AW: How to know if a perticular macro is defined or not

2009-12-16 Thread Jan.Materne
>Which are the ant API we should use to know if a macro with name xyz is >defined or not.. > >for knowing the existing of targets I can use project.getTargets() to check >out is there a similar thing for macros.

AW: exec - Cannot run program 'start' CreateProcess error=2

2009-12-16 Thread Jan.Materne
http://ant.apache.org/faq.html#CreateProcess_error_2 http://ant.apache.org/manual/CoreTasks/exec.html "start" is not an executable. You have to start "cmd" instead and use "start" as first argument. Jan >-Ursprüngliche Nachricht- >Von: as rao [mailto:asrao.y...@gmail.com] >Gesendet:

How to know if a perticular macro is defined or not

2009-12-16 Thread Raja Nagendra Kumar
Hi, Which are the ant API we should use to know if a macro with name xyz is defined or not.. for knowing the existing of targets I can use project.getTargets() to check out is there a similar thing for macros. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in conte

How to know if a perticular macro is defined or not

2009-12-16 Thread Raja Nagendra Kumar
Hi, Which are the ant API we should use to know if a macro with name xyz is defined or not.. for knowing the existing of targets I can use project.getTargets() to check out is there a similar thing for macros. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in conte