facebook

RAD migration and SVN

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    perfu
    Member

    Hi all,

    I’m on a POC to migrate from RAD 7.5 to MyEclipse Blue 8.6 for my company. The migration works correctly and when I finished it, I commit all my changement (new files and other) with SVN.
    But when I do a checkout of my workspace and try to open it with MyEclipse Blue I have the following error. This error occurs for “Initializing Java Tooling”, “Update Installed JREs” and when I close the Workspace (during the step to save the state of workspace):

    
    java.lang.ClassCastException: org.eclipse.wst.common.componentcore.internal.resources.VirtualComponent cannot be cast to org.eclipse.jst.j2ee.componentcore.util.EARVirtualComponent
        at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.getBaseEARLibRefs(J2EEComponentClasspathContainer.java:319)
        at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.update(J2EEComponentClasspathContainer.java:211)
        at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.install(J2EEComponentClasspathContainer.java:351)
        at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathInitializer.initialize(J2EEComponentClasspathInitializer.java:47)
        at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2642)
        at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1813)
        at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2652)
        at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2578)
        at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2679)
        at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1866)
        at org.eclipse.jdt.internal.core.JavaModelManager.getNonChainingJarsCache(JavaModelManager.java:2908)
        at org.eclipse.jdt.internal.core.JavaModelManager.saveNonChainingJarsCache(JavaModelManager.java:3719)
        at org.eclipse.jdt.internal.core.JavaModelManager.saving(JavaModelManager.java:4000)
        at org.eclipse.core.internal.resources.SaveManager.executeLifecycle(SaveManager.java:343)
        at org.eclipse.core.internal.resources.SaveManager$1.run(SaveManager.java:160)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.core.internal.resources.SaveManager.broadcastLifecycle(SaveManager.java:163)
        at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1012)
        at org.eclipse.core.internal.resources.Workspace.save(Workspace.java:1831)
        at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor$5.run(IDEWorkbenchAdvisor.java:453)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    

    Below, my installation detail :

    
    *** Date: 
    mardi 1 février 2011 12 h 14 EST
    
    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.6.0_13
    
    
    *** MyEclipse details:
    MyEclipse Blue Edition
    Version: 8.6 Blue
    Build id: 8.6-Blue-20100723
    
    
    *** Eclipse details:
    MyEclipse Blue Edition
    
    Version: 8.6 Blue
    Build id: 8.6-Blue-20100723
    
    
    
    
    
    
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\Genuitec\MyEclipse-Blue-Edition-8.6\myeclipse-blue.exe
    -name
    Myeclipse-blue
    --launcher.library
    C:\Program Files\Genuitec\MyEclipse-Blue-Edition-8.6\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
    -startup
    C:\Program Files\Genuitec\MyEclipse-Blue-Edition-8.6\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    -install
    C:/Program Files/Genuitec/MyEclipse-Blue-Edition-8.6
    -vm
    C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
    
    #314125

    perfu
    Member

    Hi,

    I found a workaround. I have to delete projects from my workspace and then i commit my .metadat folder.
    So when i make a checkout, I open my workspace with MyEclipse Blue and then I import my projects into it.
    With this workaround, projects load and build correctly but i want to be able to save my workspace without deleting my project from it.

    Can you help me?

    Thanks.

    #314316

    Don’t know about that…But will search for you…

    #314502

    lolipopvn90
    Member

    thank post

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: RAD migration and SVN

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