On 2009-05-19, Rebhan, Gilbert <[email protected]> wrote:
> starting an ant script on AIX worked with Ant 1.6.5, but not
> with Ant 1.7.1
> a simple test script =
> export ANT_HOME=/deploy/entwicklung/ant_1_7_1
> export JAVA_HOME=/usr/java5
> export PATH=${PATH}:${ANT_HOME}/bin
> ant
> gives me =
> ./test_gilbert[5]: ant: not found.
The obvious reasons: the file doesn't exist or is not executable.
Less obvious but common: you have DOS linefeeds in your ant script
which makes the first line read #!/bin/sh\r and the system certainly
doesn't find sh\r in /bin.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]