I found an effective workaround on the Debian bug tracker

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446438

You need to merge ant.jar and ant-laucher.jar in a single ant.jar file
and replace the symlink
/usr/lib/eclipse/plugins/org.apache.ant_1.6.5/lib/ant.jar with it.

Here are the steps:

cd /tmp

mkdir ant

cd ant

cp /usr/share/ant/lib/ant.jar /usr/share/ant/lib/ant-launcher.jar .

jar xf ant-laucher.jar

jar uf ant.jar org

cd /usr/lib/eclipse/plugins/org.apache.ant_1.6.5/lib/

sudo cp ant.jar ant.jar.original

sudo mv /tmp/ant/ant.jar .

restart eclipse and now parsing should occur without problems.

Hope it helps
Paolo

-- 
Eclipse's Ant can't parse build.xml with sun-java6
https://bugs.launchpad.net/bugs/96423
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

Reply via email to