I'm unable to use the Designer Editor, because it fails to load a module.
This module is actually pretty basic, and its only reason to be is to include a package with TransferObjects, with the <source path="..." /> tag. Thing is, this TransferObjects are in a different project, not the one the module is defined in (meaning, the project where the .gwt.xml is located). Off course, this second project is included in the main project's build path. In fact, compiling and running the module works perfectly, just opening the Designer Editor fails.
It seems pretty clear this it's a classpath problem, but I can't find some property page or something that allows me to define where needed classes and .java are located so the Editor can find them. I'm sure the Designer must be looking into the project's build path, but somehow there's something that's not being found.
Any ideas what could I be missing?
I'm using the latest GWT Designer stable build, downloaded yesterday (11/20/2008), and a release of Eclipse Ganymede (3.4.0).
This is the .gwt-log file:
- Code: Select all
Loading module 'com.abs.lasca.Lasca-Commons'
[ERROR] Invalid module name: 'com.abs.lasca.Lasca-Commons'
[ERROR] Failure to load module 'com.abs.lasca.Lasca-Commons'
com.google.gwt.core.ext.UnableToCompleteException: (see "project_dir/.gwt-logs/.gwt-log" for details.)
at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:296)
at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:131)
at com.instantiations.designer.gwt.hosted.odf.HostedModeSupport.loadModule(HostedModeSupport.java:210)
at com.instantiations.designer.gwt.hosted.odf.HostedModeSupport.createModuleSpaceHost(HostedModeSupport.java:223)
at com.instantiations.designer.gwt.hosted.ie.BrowserShellIE6$External.gwtOnLoad(BrowserShellIE6.java:277)
at com.instantiations.designer.gwt.hosted.ie.BrowserShellIE6$External.invoke(BrowserShellIE6.java:329)
at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:295)
at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:195)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2370)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
at com.instantiations.designer.gwt.hosted.odf.HostedModeSupport.runMessagesLoop(HostedModeSupport.java:188)
at com.instantiations.designer.gwt.hosted.odf.HostedModeSupport$1.run(HostedModeSupport.java:122)
at com.instantiations.designer.gwt.hosted.ie.BrowserShellIE6.setUrl(BrowserShellIE6.java:111)
at com.instantiations.designer.gwt.hosted.odf.HostedModeSupport.startup(HostedModeSupport.java:120)
at com.swtdesigner.gwt.model.widgets.support.GWTState$1.run(GWTState.java:164)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:446)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:354)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275)
at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1191)
at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:185)
at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1875)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:429)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:191)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:68)
at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:56)
at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.<init>(AbstractContainerInfo.java:37)
at com.swtdesigner.gwt.model.widgets.panel.ThisCompositeInfo.<init>(ThisCompositeInfo.java:48)
at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:224)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.visit(JavaInfoParser.java:2753)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:467)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:214)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at com.swtdesigner.model.parser.JavaInfoParser.parse(JavaInfoParser.java:323)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1191)
at com.swtdesigner.gef.DesignerEditor$18.execute(DesignerEditor.java:1116)
at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1110)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1101)
at com.swtdesigner.editors.MultiPageEditor.showDesignEditor(MultiPageEditor.java:392)
at com.swtdesigner.editors.MultiPageEditor$2.widgetSelected(MultiPageEditor.java:178)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3242)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2017)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Thanks in advance,
Juan Ignacio.