Hi,
When I try to export a product from my workspace, the process fails, due
to reasons that have something to do with ant. Evidently, the export
uses some ant script to do its magic. I get a lot of "Malformed URL"
errors in my log (attached).
As you can see, ant is trying to "addLibraries()" but a
getURLConverter() in the eclipse core throws NPEs at it:
============================
java.lang.NullPointerException
at
org.eclipse.core.internal.runtime.Activator.getURLConverter(Activator.java:313)
at org.eclipse.core.runtime.FileLocator.toFileURL(FileLocator.java:163)
at
org.eclipse.ant.core.AntCorePreferences.addLibraries(AntCorePreferences.java:834)
============================
After several failed calls to addLibraries(), ant goes on to do
something else and fails with:
============================
java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:323)
============================
It's been a while since I've exported a product from my workspace so I
can't attribute this to some specific modification in my eclipse
installation. The most recent change was updating to Eclipse 3.3.1.1. My
about box says:
Eclipse SDK
Version: 3.3.1.1
Build id: M20071023-1652
I've started up with a clean workspace, used the RCP wizard to
create a "Hello world" application and attempted an export with the same
results.