[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dsdp.tm] Re: The RSE org.eclipse.rse.importexport plugin execution environments level?

Hello Qwang,

In the problematic case, how did you get the source? The code was
always correct in CVS, it looks like the way how you import / create
the source out of your download results in an invalid .classpath file.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm



qwang wrote:
Hi
I got the latest release of RSE, ie. the RSE-SDK-3.1.zip.
When I click the Review/Synchronize option on the Remote file system import wizard, I got following errors. Looks the code is not compiled with Java 1.5 level? I tried the code from head and it works all right.
Can anyone give me an idea of this?


java.lang.Error: Unresolved compilation problems:
Syntax error, parameterized types are only available if source level is 1.5
Syntax error, parameterized types are only available if source level is 1.5
Syntax error, parameterized types are only available if source level is 1.5
Syntax error, parameterized types are only available if source level is 1.5
Syntax error, 'for each' statements are only available if source level is 1.5
Can only iterate over an array or an instance of java.lang.Iterable
Syntax error, parameterized types are only available if source level is 1.5
Syntax error, parameterized types are only available if source level is 1.5
Syntax error, parameterized types are only available if source level is 1.5
Syntax error, parameterized types are only available if source level is 1.5



at org.eclipse.rse.internal.synchronize.SynchronizeData.<init>(SynchronizeData.java:38)



at org.eclipse.rse.internal.importexport.files.RemoteImportWizardPage1.finish(RemoteImportWizardPage1.java:675)



at org.eclipse.rse.internal.importexport.files.RemoteImportWizard.performFinish(RemoteImportWizard.java:121)



at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)


at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)

    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)

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.Display.runDeferredEvents(Display.java:3880)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)

    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

    at org.eclipse.jface.window.Window.open(Window.java:801)

at org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:146)


at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)



at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)



at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)


at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)


at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)



at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)



at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)



at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)


at org.eclipse.ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:97)


at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)



at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)



at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)



at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)



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:3880)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)

    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)

    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)

    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)

    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)


at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)


    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:194)



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:368)



at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)



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.equinox.launcher.Main.invokeFramework(Main.java:559)

    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)

at org.eclipse.equinox.launcher.Main.run(Main.java:1311)