RE: Passing environment to cron

2007-10-21 Thread Russell, Archie
Hi Arun, Sourcing your .bashrc from inside your perl script won't have the effect you want. Have you tried Scott's advice? First source the .bashrc then kick off ant. `. /root/.bashrc`; <-- starts new shell, sets up environment for THAT shell only, then disappears. print "CATALINA_HOME =

RE: Advice on making a new task class

2006-04-28 Thread Russell, Archie
Thanks a lot, I'll give it a try -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 8:55 PM To: user@ant.apache.org Subject: Re: Advice on making a new task class On Thu, 27 Apr 2006, Archie Russell <[EMAIL PROTECTED]> wrote: > I'm new to

Advice on making a new task class

2006-04-27 Thread Russell, Archie
Hi, I'm new to Ant and would like to make a new task class. The examples I've online found are good pretty basic, they show an "execute()" method that seems to be run under all circumstances. I'd like to make tasks that are only rerun if they've failed in the most recent attempt (similar to