Bug#433783: eclipse pde: plugin export fail with ant error (missing classpath entry)

Johannes Stezenbach js at linuxtv.org
Thu Jul 19 12:28:45 UTC 2007


Package: eclipse
Version: 3.2.2-2
Severity: normal

I created an example eclipse pluging using he "Hello world"
template in he "New Pluging Project" wizard. I then wanted
to export the plugin as "Deployable Plugins and Fragments"
into a zip file, which fails with an error:

"Could not find one or more classes:
"org.apache.tools.ant.launch.AntMain". Please check the Ant classpath."

I needed to manually add
/usr/lib/eclipse/plugins/org.apache.ant_1.6.5/lib/ant-launcher.jar
to the Ant classpath in the preferences to make it work.

Package: ant
Version: 1.7.0-2


Thanks,
Johannes


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21
Locale: LANG=C, LC_CTYPE=de_DE.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages eclipse depends on:
ii  eclipse-jdt                   3.2.2-2    Java Development Tools plug-ins fo
ii  eclipse-pde                   3.2.2-2    Plug-in Development Environment to
ii  eclipse-source                3.2.2-2    Eclipse source code plug-ins
ii  zenity                        2.18.2-1   Display graphical dialog boxes fro

Versions of packages eclipse recommends:
pn  eclipse-gcj                   <none>     (no description available)

-- no debconf information




More information about the pkg-java-maintainers mailing list