facebook

Migrating projects

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #299814 Reply

    TheProphet
    Member

    Could someone please explain to me how to migrate my projects?

    I am looking at the MyEclipse help files and it says there should be a Migrate Project option under the MyEclipse menu but I do not have/see one.

    Can I simply import my RAD projects into my new workspace? How does this work any pointers would be great! thanks!

    #299816 Reply

    Scott Anderson
    Participant

    For MyEclipse 7.1 (and 7.5, of course) we added the ability to directly support RAD project without migration so we removed the migration functionality. Sounds like we have a “documentation problem”. Can you reply with the link to the help file with the misleading info so we can correct it?

    As far as the project support goes, we wrote it up in our New & Noteworthy section on the site and there’s a great webinar that goes all through it. I’ve posted links to both of those in my first reply in this thread, for easy reference: https://www.genuitec.com/forums/topic/migrating-from-rad-6-0/

    #299817 Reply

    TheProphet
    Member

    Thanks! I was just watching the webinar.

    As far as the bad documentation I am not sure how to get the link to you. I found it in the MyEclipse help files. If you go to
    Help > Help Contents and search for Migrate it was the first option/link returned. The help page is called RAD Project Migration Tutorial.

    Thanks for your help.

    #299821 Reply

    TheProphet
    Member

    When trying to “Enhance” the WC project I keep getting an error stating –

    “The Adding Struts support activity did not complete properly.”

    No other information is provided so I am not sure what I did wrong or where to go next? Any ideas?

    #299823 Reply

    TheProphet
    Member

    Here is what I find in the .metadata/.log

    !ENTRY com.genuitec.eclipse.blue.projects 4 0 2009-06-24 11:47:59.765
    !MESSAGE
    !STACK 0
    java.lang.reflect.InvocationTargetException
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:477)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
    at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
    at com.genuitec.eclipse.blue.project.ui.wizard.EnhanceProjectWizard.performFinish(EnhanceProjectWizard.java:97)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
    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:3823)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at com.genuitec.eclipse.blue.project.ui.action.MigrateWizardAction.run(MigrateWizardAction.java:108)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
    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:3823)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
    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:386)
    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:597)
    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)
    Caused by: java.lang.RuntimeException: Could not migrate project.
    at com.genuitec.eclipse.blue.project.ui.wizard.EnhanceProjectWizard.assertStatus(EnhanceProjectWizard.java:208)
    at com.genuitec.eclipse.blue.project.ui.wizard.EnhanceProjectWizard.performMigration(EnhanceProjectWizard.java:115)
    at com.genuitec.eclipse.blue.project.ui.wizard.EnhanceProjectWizard$1.run(EnhanceProjectWizard.java:93)
    at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
    at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:716)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
    at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4563)
    at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:92)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
    … 42 more
    Caused by: The Adding Struts support activity did not complete properly.
    at com.genuitec.eclipse.blue.project.migration.SequenceProcessor.doActivities(SequenceProcessor.java:66)
    at com.genuitec.eclipse.blue.project.migration.ProjectMigrationProcessor.runMigration(ProjectMigrationProcessor.java:92)
    at com.genuitec.eclipse.blue.project.migration.ProjectMigrationProcessor.migrate(ProjectMigrationProcessor.java:57)
    at com.genuitec.eclipse.blue.project.migration.ProjectMigrationProcessor.migrate(ProjectMigrationProcessor.java:49)
    at com.genuitec.eclipse.blue.project.migration.util.ProjectMigrationUtil.migrateProject(ProjectMigrationUtil.java:100)
    at com.genuitec.eclipse.blue.project.migration.util.ProjectMigrationUtil.migrateProject(ProjectMigrationUtil.java:94)
    at com.genuitec.eclipse.blue.project.ui.wizard.EnhanceProjectWizard.performMigration(EnhanceProjectWizard.java:114)
    … 49 more
    Root exception:
    java.lang.RuntimeException: Could not migrate project.
    at com.genuitec.eclipse.blue.project.ui.wizard.EnhanceProjectWizard.assertStatus(EnhanceProjectWizard.java:208)
    at com.genuitec.eclipse.blue.project.ui.wizard.EnhanceProjectWizard.performMigration(EnhanceProjectWizard.java:115)
    at com.genuitec.eclipse.blue.project.ui.wizard.EnhanceProjectWizard$1.run(EnhanceProjectWizard.java:93)
    at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
    at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:716)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
    at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4563)
    at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:92)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
    at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
    at com.genuitec.eclipse.blue.project.ui.wizard.EnhanceProjectWizard.performFinish(EnhanceProjectWizard.java:97)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
    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:3823)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at com.genuitec.eclipse.blue.project.ui.action.MigrateWizardAction.run(MigrateWizardAction.java:108)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
    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:3823)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
    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:386)
    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:597)
    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)
    Caused by: The Adding Struts support activity did not complete properly.
    at com.genuitec.eclipse.blue.project.migration.SequenceProcessor.doActivities(SequenceProcessor.java:66)
    at com.genuitec.eclipse.blue.project.migration.ProjectMigrationProcessor.runMigration(ProjectMigrationProcessor.java:92)
    at com.genuitec.eclipse.blue.project.migration.ProjectMigrationProcessor.migrate(ProjectMigrationProcessor.java:57)
    at com.genuitec.eclipse.blue.project.migration.ProjectMigrationProcessor.migrate(ProjectMigrationProcessor.java:49)
    at com.genuitec.eclipse.blue.project.migration.util.ProjectMigrationUtil.migrateProject(ProjectMigrationUtil.java:100)
    at com.genuitec.eclipse.blue.project.migration.util.ProjectMigrationUtil.migrateProject(ProjectMigrationUtil.java:94)
    at com.genuitec.eclipse.blue.project.ui.wizard.EnhanceProjectWizard.performMigration(EnhanceProjectWizard.java:114)
    … 49 more

    #299835 Reply

    Scott Anderson
    Participant

    Just so we can be sure we’re on the same page, can you provide the link you used to install the WC example? I definitely want to compare apples-to-apples to see if I can reproduce this issue.

    #299836 Reply

    TheProphet
    Member

    Unfortunately – I cannot the WC project I refer to is the server project that contains the client ear.

    #299838 Reply

    Scott Anderson
    Participant

    OK, we certainly understand confidentiality concerns. A few more questions then:

    1) Were you already using Struts in the project? Or were you trying to convert it to a struts project with the wizard?
    2) Is it possible to create a duplicate project, with the same structure, but without any source code that fails enhancement the same way that you could possible send to us? The important things are the “shape” of the project and the tools used on it, not the code itself.

    #299874 Reply

    TheProphet
    Member

    1) The project is already using struts. I was not trying to convert only go through the “Enhance RAD project” dialogs.

    2) Possibly – let me look into this and I will reply back.
    When I am read how do you want me to get this to you?

    Some notes:
    When I try to enhance a project (WC in this case) there are other projects that MyEclipse detects as part of the ear and wants to Enhance those as well. (i.e CommerceAccelerator, Stores, SiteAdministration etc…) After I hit next I get a screen that asks me to select the Existing Websphere 6.0 location – so I do and hit next and this is where I get the issue mentioned above.

    #299878 Reply

    Scott Anderson
    Participant

    Regarding #2, an email to support@genuitec.com with a link to this thread is the best way to get it to us.

    However, if the case is complex, why don’t we wait until early next week to determine next steps? The reason I’d like to delay is that our product manager and Blue Lead Developer are on vacation at the moment and I’d like to ensure we’re going down the most optimal path to figure this out. They may have a better way to go about this than I can think of and I don’t want to risk wasting your time if they do. Sound OK?

    #299936 Reply

    Riyad Kalla
    Member

    TheProphet,

    The ME team is slowly getting back into the office now — following Scott’s original suggestion of creating a duplicately “shaped” project that fails, could you forward that along to the given email address?

    Also 1 other thing to try is to backup your .project file in the WC project, remove the Struts nature and builder and try enhancement again and see if it works — we might be failing at detecting the proper version of Struts needed to convert it… We should be detecting Struts 1.1, 1.2 and 1.3 correctly, but 1.0 and 2.x will be aproblem if that is possibly what you are using in which case you could work around that temporarily by removing it from the .project file, then re-adding it after the enhancement is done.

    #300277 Reply

    TheProphet
    Member

    I tried your suggestions, but was unable to locate the struts nature in the .project file.
    I have sent the projects to the support email listed above.

    Thanks for all of your help.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Migrating projects

You must be logged in to post in the forum log in