Ant does not resolve my environment

2007-10-20 Thread Arun
Hi, I have a problem running ant script as a cronjob. The cron tells BUILD FAILED /home/build/mobchannel/mobchannelWEB/build.xml:230: /home/build/mobchannel/mobchannelWEB/${env.CATALINA_HOME}/bin not found. But when I directly execute the build.xml using ant this error does not occur.

Re: Ant does not resolve my environment

2007-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arun, Arun wrote: > Why does my ant script do this when run from a cronjob using perl script. cron does not run any shell setup scripts like .profile, .bash_profile, .bashrc, .cshrc, .cshrc, etc. before running your command. You might have to set up