ClassNotFoundException: webdsl.WebDSLVersionPropertyProvider (1)
Bernhard Merkle reported this issue when trying to build the lwc project using the WebDSL distribution used for SPLASH 2010:
the current lwc example (svn revision 21298) seems to have a
dependency to WebDSL….
when running build (or ant) I get the following exception ….java.lang.ClassNotFoundException: webdsl.WebDSLVersionPropertyProvider
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:494)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
at org.eclipse.ant.core.AntCorePreferences$WrappedClassLoader.findClass(AntCorePreferences.java:116)
at java.lang.ClassLoader.loadClass(Unknown Source)What’s up with that? Does this class exist in the plugin? Is it included in the distribution?
Submitted by Lennart Kats on 26 October 2010 at 15:09
Issue Log
IRC conversation about this:
15:13:16 maar de webdsl distributie heeft toch geen zichtbare spoofax?
15:13:29 <Chip_Zero> wel zichtbare webdsl :(
15:13:36 <Chip_Zero> dat was het probleem
15:13:44 <Chip_Zero> hij heeft daarna spoofax eroverheen geinstalleerd
15:14:28 die versionprovider is zo’n ant ding
15:14:41 IAntPropertyValueProvider
15:15:07 <Chip_Zero> ja die ken ik
15:15:20 <Chip_Zero> maar het klinkt een beetje alsof hij die klasse niet kan vinden
15:15:21 <Chip_Zero> (“ClassNotFoundException”)
15:16:46 <Chip_Zero> waar wordt die property voor gebruikt? kan je webdsl ook zonder gebruiken?
15:16:54 <Chip_Zero> of had het dan al eerder stuk moeten gaan?
15:17:45 <antProperty
15:17:45 class=“webdsl.WebDSLJarAntPropertyProvider”
15:17:45 name=“plugindir”>
15:17:45 <antProperty class=“webdsl.WebDSLVersionPropertyProvider”
15:17:45 name=“webdsl.plugin.version”>
15:17:46
15:17:57 er zijn er twee
15:18:32 die plugindir is het belangrijkst maar version wordt ook gebruikt om te herkennen dat er een clean build moet gebeuren
It is an Ant property provider (org.eclipse.ant.core.IAntPropertyValueProvider) and is included in the WebDSL plugin, not sure why it complains when running the Spoofax Ant build…
The plugin.xml of WebDSL explicitly imports this class:
<extension point="org.eclipse.ant.core.antProperties"> <antProperty class="webdsl.WebDSLJarAntPropertyProvider" name="plugindir"> </antProperty> <antProperty class="webdsl.WebDSLVersionPropertyProvider" name="webdsl.plugin.version"> </antProperty> </extension>
Log in to post comments