You probally have the jpackage verison of ant on your system.
Check the file /etc/ant.conf, it it exists then you do have the jpackage
version. This *CANNOT* be used with an ant version from the ant
distribution.
Just delete the /etc/ant.conf file or use ant --noconfig
Peter
Deron Johnson wrote:
When I type:
./ant -version
I get the following error message:
Unknown argument: -cp
ant [options] [target [target2 [target3] ...]]
Options:
-help, -h print this message
-projecthelp, -p print project help information
...
I'm not even giving it a '-
CTED]
>Gesendet: Freitag, 28. Oktober 2005 21:33
>An: user@ant.apache.org
>Betreff: ant is giving me a spurious "Unknown argument" error
>
>
>When I type:
>
>./ant -version
>
>I get the following error message:
>
>Unknown argument: -cp
>ant [o
When I type:
./ant -version
I get the following error message:
Unknown argument: -cp
ant [options] [target [target2 [target3] ...]]
Options:
-help, -h print this message
-projecthelp, -p print project help information
...
I'm not even giving it a '-cp' argument.
Any ide