ant fails with "Unknown argument: -cp"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ant (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ant
There is an error in ant's launch script:
/usr/share/
the line defining the ant launch command erroneously uses the flag "-cp" where it should have used "-lib".
Fix:
Change
ant_exec_
to
ant_exec_
Further information:
$ lsb_release -rd
Description: Ubuntu 7.10
Release: 7.10
$ apt-cache policy ant
ant:
Installed: 1.7.0-3
Candidate: 1.7.0-3
Version table:
*** 1.7.0-3 0
500 http://
100 /var/lib/
Changed in ant: | |
status: | New → Invalid |
According to the sources in Launcher.java using -cp is correct. Can you please add a use case where we can reproduce your failure?
I'm not able to reproduce your "Unknown argument: -cp".