Public bug reported: Binary package hint: ant
There is an error in ant's launch script: /usr/share/ant/bin/ant the line defining the ant launch command erroneously uses the flag "-cp" where it should have used "-lib". Fix: Change ant_exec_command="exec \"$JAVACMD\" $ANT_OPTS -classpath \"$LOCALCLASSPATH\" -Dant.home=\"$ANT_HOME\" -Dant.library.dir=\"$ANT_LIB\" $ant_sys_opts org.apache.tools.ant.launch.Launcher $ANT_ARGS -cp \"$CLASSPATH\" $ant_exec_args" to ant_exec_command="exec \"$JAVACMD\" $ANT_OPTS -classpath \"$LOCALCLASSPATH\" -Dant.home=\"$ANT_HOME\" -Dant.library.dir=\"$ANT_LIB\" $ant_sys_opts org.apache.tools.ant.launch.Launcher $ANT_ARGS -lib \"$CLASSPATH\" $ant_exec_args" 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://us.archive.ubuntu.com gutsy/main Packages 100 /var/lib/dpkg/status ** Affects: ant (Ubuntu) Importance: Undecided Status: New -- ant fails with "Unknown argument: -cp" https://bugs.launchpad.net/bugs/207105 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs