ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Probs running ant1.7.1 on AIX
Date Wed, 20 May 2009 04:00:13 GMT
On 2009-05-19, Rebhan, Gilbert <Gilbert.Rebhan@huk-coburg.de> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message