rexec and setting env variables on remote host

2008-01-25 Thread Z W
Hi I tried using rexec task to invoke a shell script. The output is as follows: [rexec] /af/gord [echo] But when I check the local host of this unix box, the variables are set in .profile. When echoed, they are displayed. How do I make sure the shell sets these variables in Ant script

Ant saving property file settings in memory?????

2008-01-25 Thread jpyork
Ok, I would like to say thanks to everyone who has helped with the last two postings I have had and hopefully this will be the last one for my issue. Below is what I have setup:

Re: nohup and Ant question

2008-01-25 Thread Z W
Hi Chuck Appreciate your response. I'm using Ant 1.7 on Windows. I'm pretty sure it's an ANT issue that doesn't deal well with nohup. Is there a workaround with Ant. Running the unix script directly, the pid is found; not a shell script issue.

Re: Checking a property with ant

2008-01-25 Thread Gilbert Rebhan
> > > > > > > > > If I am understanding this correctly then, the above should reference the > buildresults property that is held in a property file and if it is set to > failed...the script should fail. The issue is that

Re: Create WEB-INF/lib based on path-structure

2008-01-25 Thread Wszeb
DATACOM - Diego-2 wrote: > > Hmmm, the guy said he had a "path structure", not a "fileset" (look > subject of the message). Unfortunately, if he cannot change his path > into a fileset, I think he is in trouble. I had exactly the same > problem with the War task. > > All these bugs seem to b

Re: Checking a property with ant

2008-01-25 Thread jpyork
This is what I have: If I am understanding this correctly then, the above should reference the buildresults property that is held in a property file and if it is set to failed...the script should fai

Re: adding an if-then statement to ftp target...

2008-01-25 Thread Christopher Styles
David, This is what I came up with... Do you think this will work...??? Thanks Chris

Re: adding an if-then statement to ftp target...

2008-01-25 Thread David Weintraub
Take a look at the task. To create an if-then type of statement, add a dependency to your task that runs a task that tests the condition, and have that set a property. Then have your original task depend upon that property: task. This is a bit easier to follow, but you now depend upon in

adding an if-then statement to ftp target...

2008-01-25 Thread Christopher Styles
Hi, I'm using the ant ftp task to ftp files from my local Windows 2003 Build Server to a remote Unix environment, and the issue I'm facing is the local folders(s) that contain the files that are to be ftp'ed don't always exist The folder(s) only get created if there are files in them that have

RE: exec with -t argument

2008-01-25 Thread Barry Pape
Looks like I found a solution. Using the wrapper script Bill Burton posted to redirect the output. Here's his post: http://marc.info/?l=ant-user&m=100621497023872&w=2 It's even documented on the CruiseControl FAQs: http://confluence.public.thoughtworks.org/display/CC/Running+Servertests+with+A

Re: Syncing very large directories

2008-01-25 Thread Dominique Devienne
On Jan 25, 2008 1:02 AM, Antti Luoma <[EMAIL PROTECTED]> wrote: > BTW, very large in this case means ~17 GB :) Well, transferring 17GB @ 100Mb/s takes in theory 1350 seconds (less than 23 minutes). You indicated a total time for the sync of 56667816 seconds, which is about 300 bytes / seconds. E

Re: Looking for help with context classloader

2008-01-25 Thread James Abley
On 23/01/2008, Toomey, Kevin H (ATS, IT) <[EMAIL PROTECTED]> wrote: > I'm writing a web application for among things, managing the building and > deploying of applications, and I'm using Ant (1.7.0) as the engine for those > pieces. The basic flow is: > > Project p = new Project(); > p.init(); >

Re: AW: AW: For each jar in a fileset

2008-01-25 Thread Clifton
Thanx Jan. That works too but only on Ant-1.7+. I'm running the build indirectly from a Maven pom via the ant-run plugin. Apparently Maven-ant-run is only 1.6.5 compatible so I need more magic. I'm going to move my question to the Maven mailing list because what I'm trying to do is a little more i

AW: AW: For each jar in a fileset

2008-01-25 Thread Jan.Materne
? Not tested - but should support resource sollections (and paths are rc's) Jan > -Ursprüngliche Nachricht- > Von: Clifton [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 25. Januar 2008 15:28 > An: user@ant.apache.org > Betreff: Re: AW: For each jar in a fileset > > > I'm sorry,

Re: nohup and Ant question

2008-01-25 Thread Chuck Holzwarth
You may have several problems here. Both nohup commands start asynchronous processes that don't end when the connection is broken and you may end up with zombies running. Both nohup commands write to nohup.out with the second one probably overwriting the same file. You can do this on Unix/Luni

Re: AW: For each jar in a fileset

2008-01-25 Thread Clifton
I'm sorry, yes that works but what I really meant to ask was how can I unjar each entry from a path reference? I've got it working using beanshell which is rather ugly and unportable. I need this to run on other dev boxes without the hassle of installing the bsf jar and dependencies and the bsh ja