ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Cohen" <SCo...@sportvision.com>
Subject RE: running ant under cron
Date Tue, 27 May 2003 17:54:01 GMT
Ah, thanks, I was defining the vars but not exporting them.

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org] 
Sent: Tuesday, May 27, 2003 9:37 AM
To: user@ant.apache.org
Subject: Re: running ant under cron


On Tue, 27 May 2003, Steve Cohen <SCohen@sportvision.com> wrote:

> Ironically, this compile is the only compile I do which is NOT forked

which is the reason that you've never seen the message for the other
tasks - Ant won't look for the modern compiler when forking, it just
invokes javac.

> What am I doing wrong,

My guess is that JAVA_HOME is not set in the environment running cron,
and thus Ant won't pull in tools.jar.

Stefan

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


Mime
View raw message