Hi all, I developed a plugin for udg with the SDK 1.1.1, I created the jar with the Export wizard. In this plugin I put only one sample view, that uses FormToolkit class from org.eclipse.ui.forms_3.3.0.v20070511.jar (that is inside the plugins folder of udig installation). When I test my plugin by launching an eclipse application from eclipse ide it works, while testing it on Udig it doesn't work (Udig doesn't find the jar in its classpath) and the log is:
!ENTRY org.eclipse.ui 4 0 2009-09-03 11:49:21.250 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NoClassDefFoundError: org/eclipse/ui/forms/widgets/FormToolkit at it.test.SelectionView.dispose(SelectionView.java:74) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:458) at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:227) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592) ... The plugin org.eclipse.ui.forms is listed in "required plugin" list on Dependencies tab of MANIEST.MF file. I tried adding the jar to the classpath via the Runtime tab but it doesn't work. I tried adding the jar to the classpath via the Extra Classpath Entries in Build tab but it doesn't work. It seems that the plugin can't see the jar content, infact if I copy all the .class files from org.eclipse.ui.forms_3.3.0.v20070511.jar to the class directory of the plugin, it works! What should I do to obtain a running plugin on Udig? Regards. _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel