ssh exectuion failure from build task in

2010-02-22 Thread vino_hymi
Hi, I am calling ant task for shell script to execute in the ftp machine. But it fails to execute and throws WRAPPER - start method threw an exception. But when i run the script from the unix machine directly it executes.

Re: Exec Connection Not Closing

2010-02-22 Thread Antoine Levy-Lambert
Barry Pape wrote: > I changed the ant task to use sshexec instead of exec with ssh as the > executable. I still have the seemingly random hung process. I executed > the ant task from outside cruisecontrol and it completed successfully. > The last time I found a hung process I grabbed a thread dum

RE: Exec Connection Not Closing

2010-02-22 Thread Barry Pape
I changed the ant task to use sshexec instead of exec with ssh as the executable. I still have the seemingly random hung process. I executed the ant task from outside cruisecontrol and it completed successfully. The last time I found a hung process I grabbed a thread dump and am including it here

RE: Include Macros Defined in a Single Directory

2010-02-22 Thread ja...@webamoeba.co.uk
Thanks Adam for the reply. Seems I was being dumb about 1.8.0 (no comment lol). I had not come across before, will have to have a play with that when I get a chance :) Original Message: - From: Adam Peck adamp...@smarttech.com Date: Mon, 22 Feb 2010 08:12:28 -0700 To: user@ant.ap

RE: Include Macros Defined in a Single Directory

2010-02-22 Thread ja...@webamoeba.co.uk
Seems I'm having another senior moment. No I'm not using Ant 1.8.0... next time I will engage my brain before reading responses (or at least try to engage my brain!). I have no reason not to upgrade, so will give this a go when I get a chance. thanks for pointing that out Tom. And sorry Matt I did

RE: Include Macros Defined in a Single Directory

2010-02-22 Thread Adam Peck
If it does not support fileset that means you are using a version earlier than 1.8.0. If you use ant-contrib you can do this: -Adam -Original Message- From: James Kennard [mailto:ja...@webamoeba.co.uk] Sent: Sunday

Re: Ant task to get artifacts from Nexus Repository

2010-02-22 Thread Stephen Connolly
get will not work if somebody deploys a relocation pom... get will not play nice with the network bandwidth if the file is big and you already downloaded it from a maven build... (i guess the same for ivy) however get will work if you need it -Stephen P.S. http://old.nabble.com/BASH-port-of-me

Re: AW: How do I use a property inside an element

2010-02-22 Thread dfl
Thanx for the quick and helpful reply. In the meantime I found out that the use-network flag could also be used as an attribute, right within the mxmlc element. Out of curiosity, I'll check out the echoxml task. Could you post your code of invoking the Flex compiler? It would be easier to help .

AW: Ant task to get artifacts from Nexus Repository

2010-02-22 Thread Jan.Materne
Dont forget the simple Jan >-Ursprüngliche Nachricht- >Von: Matt Benson [mailto:gudnabr...@gmail.com] >Gesendet: Donnerstag, 18. Februar 2010 18:25 >An: Ant Users List >Betreff: Re: Ant task to get artifacts from Nexus Repository > >Maven Ant tasks or Ivy can pull from Nexus, which is

Re: AW: How do I use a property inside an element

2010-02-22 Thread Antoine Levy Lambert
Jan's idea makes sense. You could generate on the fly a mini-ant project containing the invocation of the Flex compiler and invoke this mini-build file with the task from your main build. In fact Adobe does not make the life of it's users easy by choosing to use the text of a nested element t

AW: How do I use a property inside an element

2010-02-22 Thread Jan.Materne
Could you post your code of invoking the Flex compiler? It would be easier to help ... For the meanwhile: you could create a textfile ${use-network} Jan >-Ursprüngliche Nachricht- >Von: dfl [mailto:dfl.pr...@gmail.com] >Gesendet: Montag, 22. Februar 2010 10:45 >An: user@ant.apache.

RE: Include Macros Defined in a Single Directory

2010-02-22 Thread Dalton, Tom
Are you using Ant 1.8.0? Tom -Original Message- From: James Kennard [mailto:ja...@webamoeba.co.uk] Sent: 21 February 2010 11:11 To: Ant Users List Subject: Re: Include Macros Defined in a Single Directory Hi Matt thanks for the suggestion. Unfortunately import does not appear to suppo

How do I use a property inside an element

2010-02-22 Thread dfl
Hi, I'm using Ant to build a Flex application. One of the Flex compiler's flags is set with an element: [true|false] I'd like to take this value from a property, but so far I was only able to use props in XML attributes, not as text nodes. I'd be happy to get advice on how to accomplish this. C