Hi,
The problem is that you don't have execute permission on 'ant' not on your script. Login and change current directory to where you'll start your script from. Then write in the command line:
./util/ant/bin/ant -buildfile deploy.xml
and you should see the same error. Go to util/ant/bin directory and check the permissions of 'ant' file. Change them (chmod command) or ask the owner to do that for you. Then try your script again.
As yuzh already said it would be better to use the full path. You may do something like:
ANT_HOME=${PWD}/util/ant
Regards, Geo
Main Topics
Browse All Topics





by: yuzhPosted on 2005-02-14 at 17:43:11ID: 13310168
ANT_HOME=./util/ant ?
n
should use FULL PATH, eg:
ANT_HOME=/path-to/util/ant
PATH==$PATH:${ANT_HOME}/bi