Hi Scott,The Eclipse Integration plugin is a community contribution, as such you cannot expect that all examples and tutorials offered by Canoo are based on it, also because ULC does not depend on any IDE and we do not expect that everybody develop his applications on Eclipse.
Having said that, if you want to use the Servlet Export Wizard, you need to structure your source folders in the following way. The whole application code needs to be within the "application" src folder. The development launchers (classes containing the "main" methods under development) in the "development-launchers" src folder. Further folders (as you see in the attached picture) can also be used for advanced features, but are not mandatory.
I hope this helps. Best regards Sandro
<<inline: pastedGraphic.tiff>>
On Sep 28, 2007, at 3:51 AM, Scott Woodson wrote:
Hopefully this is the right place for this message (as requested below).As originally stated, this is a *new* Eclipse install with fresh downloadsfrom eclipse.org and canoo only. Eclipse was started with the "-clean"option, as is standard when adding plugins. The stack trace would probably permit a developer to find the problem. This does not leave a good firstimpression... So I tried doing the tutorial manually(http://www.canoo.com/ulc/developerzone/tutorial.html). This was easy enough to build and test. The problem comes when I want to run the "ULC Servlet Export Wizard", and it reports that it's "Not the right project". Based on the tutorial video, it seems the "New ULC Project Wizard" does more than add the libraries (which is all the tutorial shows). I've looked around (theonline Integration User Guide and ULC developer area) and I don't seeanything that describes the complete setup (folders, files, preferences) for a ULC project. The "ULC Servlet Export Wizard" probably won't execute withthis, right? -----Original Message----- From: Janak Mulani [mailto:[EMAIL PROTECTED] Sent: Thursday, September 27, 2007 3:54 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Com Subject: RE: [JIRA] Created: (UBA-7305) Cannot run swf tutorial Hi Scott, You have reported the above issue.I tried the scenario. I.e. on WinXP and Eclipse 3.2.2, I installed the ULCVE Plugin and ULC Integration Plugin 3.1.0 from http://update.canoo.com/eclipse. I was able to create a project with the sample application. I guess there is some configuration problem with your Eclipse. Can you please try in a clean Eclipse installation? ULC Integration Plugin to Eclipse does the following: 1. creates a Java project 2. put ULC libraries in the path 3. creates a small sample ULC application. If your purpose is to explore ULC and you are not able to run the Integration plugin, you can still do the above steps manually.You can even try out ULC with the ULC VE plugin. Create a Java project, add ULC libraries to the project build path as described in ULC Visual Editor online help, create a Visual class that extends ULC App. You can then addmore GUI components to it and run this class . Moreover. please post your technical questions on ulc developer list: http://lists.canoo.com/mailman/listinfo/ulc-developer Please get back to us if you have more questions. Thanks and regards, Janak-----Original Message----- From: Scott Woodson (JIRA) [mailto:[EMAIL PROTECTED] Sent: Thursday, September 27, 2007 4:32 AM To: [EMAIL PROTECTED] Subject: [JIRA] Created: (UBA-7305) Cannot run swf tutorial Cannot run swf tutorial ----------------------- Key: UBA-7305 URL: https://www.canoo.com/jira/browse/UBA-7305 Project: ULCBase Issue Type: Bug Affects Versions: ULC 6.2 Environment: WinXP, Eclipse 3.2.2 SDK, ULC Visual Editor 6.1, Eclipse IDE Integration (via http://update.canoo.com/eclipse) Reporter: Scott Woodson Assignee: ULC Team Priority: Blocker First time ULC user. Experienced in Eclipse/Swing. New installation of Eclipse + ULC (see environment below). Trying to run swf tutorial at https://ulc-community.canoo.com/integration-setup/ Error when executing "New ULC Project Wizard" after entering "New ULC Main Class". "Creation of element failed. Invalid thread access". Google search returns one hit, but no resolution. Exception follows. java.lang.reflect.InvocationTargetExceptionat org.eclipse.jface.operation.ModalContext.run(ModalContext.java: 350)at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:851) at org.eclipse.jdt.internal.ui.wizards.NewElementWizard.performFinish( NewElementWizard.java:133) at com.canoo.wizard.newproject.NewULCProjectWizard.performFinish(NewUL CProjectWizard.java:118) atorg.eclipse.jface.wizard.WizardDialog.finishPressed (WizardDialog.java:680)atorg.eclipse.jface.wizard.WizardDialog.buttonPressed (WizardDialog.java:355)at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:90)at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java: 3348)at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.eclipse.jdt.ui.actions.AbstractOpenWizardAction.run(AbstractOpe nWizardAction.java:83) at com.canoo.wizard.newproject.action.ULCNewProjectAction.run(ULCNewPr ojectAction.java:69)at org.eclipse.ui.internal.PluginAction.runWithEvent (PluginAction.java:254)at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAct ion.java:229) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelecti on(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionCont ributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(Actio nContributionItem.java:441) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java: 3348)at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java: 1930)at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894) atorg.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:422) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java: 149) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:95)at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformA ctivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApp lication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start( EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter. java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter. java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:3374) at org.eclipse.swt.SWT.error(SWT.java:3297) at org.eclipse.swt.SWT.error(SWT.java:3268) at org.eclipse.swt.widgets.Display.error(Display.java:978) at org.eclipse.swt.widgets.Display.checkDevice(Display.java:638) at org.eclipse.swt.widgets.Display.disposeExec(Display.java:923) at org.eclipse.jdt.internal.ui.viewsupport.ImageDescriptorRegistry.hoo kDisplay(ImageDescriptorRegistry.java:85) at org.eclipse.jdt.internal.ui.viewsupport.ImageDescriptorRegistry.<in it>(ImageDescriptorRegistry.java:48) at org.eclipse.jdt.internal.ui.viewsupport.ImageDescriptorRegistry.<in it>(ImageDescriptorRegistry.java:36) at org.eclipse.jdt.internal.ui.JavaPlugin.internalGetImageDescriptorRe gistry(JavaPlugin.java:823) at org.eclipse.jdt.internal.ui.JavaPlugin.getImageDescriptorRegistry(J avaPlugin.java:305) at org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListLabelProvider. <init>(CPListLabelProvider.java:62) at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlock.<ini t>(BuildPathsBlock.java:171) at org.eclipse.jdt.ui.wizards.JavaCapabilityConfigurationPage.getBuild PathsBlock(JavaCapabilityConfigurationPage.java:91) at org.eclipse.jdt.ui.wizards.JavaCapabilityConfigurationPage.init(JavaCapabilityConfigurationPage.java:131)at com.canoo.wizard.newproject.NewULCProjectWizardImplicitPage.updateP roject(NewULCProjectWizardImplicitPage.java:109) at com.canoo.wizard.newproject.NewULCProjectWizardImplicitPage.perform Finish(NewULCProjectWizardImplicitPage.java:177) at com.canoo.wizard.newproject.NewULCProjectWizard.finishPage(NewULCPr ojectWizard.java:129) at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(NewEleme ntWizard.java:117) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(Batch Operation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOpera tion.java:720)at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1737)at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4024) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Mod alContext.java:113) Root exception: org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:3374) at org.eclipse.swt.SWT.error(SWT.java:3297) at org.eclipse.swt.SWT.error(SWT.java:3268) at org.eclipse.swt.widgets.Display.error(Display.java:978) at org.eclipse.swt.widgets.Display.checkDevice(Display.java:638) at org.eclipse.swt.widgets.Display.disposeExec(Display.java:923) at org.eclipse.jdt.internal.ui.viewsupport.ImageDescriptorRegistry.hoo kDisplay(ImageDescriptorRegistry.java:85) at org.eclipse.jdt.internal.ui.viewsupport.ImageDescriptorRegistry.<in it>(ImageDescriptorRegistry.java:48) at org.eclipse.jdt.internal.ui.viewsupport.ImageDescriptorRegistry.<in it>(ImageDescriptorRegistry.java:36) at org.eclipse.jdt.internal.ui.JavaPlugin.internalGetImageDescriptorRe gistry(JavaPlugin.java:823) at org.eclipse.jdt.internal.ui.JavaPlugin.getImageDescriptorRegistry(J avaPlugin.java:305) at org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListLabelProvider. <init>(CPListLabelProvider.java:62) at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlock.<ini t>(BuildPathsBlock.java:171) at org.eclipse.jdt.ui.wizards.JavaCapabilityConfigurationPage.getBuild PathsBlock(JavaCapabilityConfigurationPage.java:91) at org.eclipse.jdt.ui.wizards.JavaCapabilityConfigurationPage.init(JavaCapabilityConfigurationPage.java:131)at com.canoo.wizard.newproject.NewULCProjectWizardImplicitPage.updateP roject(NewULCProjectWizardImplicitPage.java:109) at com.canoo.wizard.newproject.NewULCProjectWizardImplicitPage.perform Finish(NewULCProjectWizardImplicitPage.java:177) at com.canoo.wizard.newproject.NewULCProjectWizard.finishPage(NewULCPr ojectWizard.java:129) at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(NewEleme ntWizard.java:117) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(Batch Operation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOpera tion.java:720)at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1737)at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4024) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Mod alContext.java:113) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://www.canoo.com/jira/secure/Administrators.jspa -For more information on JIRA, see: http://www.atlassian.com/ software/jira-- No virus found in this incoming message. Checked by AVG Free Edition.Version: 7.5.488 / Virus Database: 269.13.32/1032 - Release Date: 9/26/20078:20 PM _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
