ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shatzer, Larry" <Larry.Shat...@MIROtechnologies.com>
Subject RE: cvs task failing from cron
Date Thu, 07 Jul 2005 13:36:59 GMT
Well you can't do that from your shell, since cron's shell is stripped, like
I said. So you will have to set the PATH variable in your script that calls
the ant script. If you don't have a shell script that calls your ant script,
create one for the purpose of building up the environment you need.

-- Larry

> -----Original Message-----
> From: blackwater dev [mailto:blackwaterdev@gmail.com] 
> Sent: Thursday, July 07, 2005 6:34 AM
> To: Ant Users List
> Subject: Re: cvs task failing from cron
> 
> 
> So cvs should be in my path env variable?  How do I check that?
> 
> echo $PATH?
> 
> On 7/7/05, Shatzer, Larry <Larry.Shatzer@mirotechnologies.com> wrote:
> > Make sure your script for cron sets up your path so cvs is 
> in your path.
> > Cronjobs run in a minimal environment.
> > 
> > -- Larry

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message