facebook

From 3.0M3 3.6.2 to 3.0M7 3.7.0 [Closed]

💡
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. Installation, Configuration & Updates
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #205084 Reply

    Erez
    Member

    Are there any pitfalls that I should be aware of in the transition between the two versions. Are there any guide lines to follow in taking my project from 3.0M3 to 3.0M7 3.7.0 ?

    My project is an JBoss/Struts application, a quite large one.

    Thanks in advance,

    Erez

    #205086

    Riyad Kalla
    Member

    Erez,
    There are no major pitfalls (only two possibly gotchas that I will note below), but something you can do it be extra safe is to install the two versions of E/ME, and then load up MyEclipse 3.7 GA and “Import->Project” and try and import your 3.6.2 project. Everything should work.

    I would suggest making a second copy of the project to another directory, and then importing THAT project into the new install, just incase.

    The only think you will need to look out for, is that with the new 3.7 GA release you will get native Struts support, but that means you will need to “Add Struts Capabilities” to your existing project, by right clicking on the project root node, going down to MyEclispe and selecting it. The wizard will find your struts-config.xml and popup the wizard screen. Here you will enter the default package for new struts classes and the ApplicationResources files (or whatever you named the internationalization file).

    NOTE The wizard WILL DELETE the internationalization file and recreate it with an empty file. THis is a known bug that will be fixed in our next maintenence release. So keeping this in mind, copy the ApplicationResources.properties (or whatever you called it) file someplace safe, and after the wizard kills it, copy it back.

    Another thing you may or may not need to fix, is after you add Struts Capapabilities to the project, it may clear our your Web Context-root setting, so you won’t be able to setup deployments and such. To fix this, right click on project root node, go down to Properties, then select MyEclipse-Web, you’ll notice that you Web Context-root may or maynot be “/” now, where as it was probably your application name before, like “/myapplication”. Go ahead and retype the name and you should be set. (NOTE: This advice is from a Tomcat 5 user, I haven’t used JBoss and don’t know if your preference screens might look different).

    Anyway, if you run into any trouble, come back and we will help.

    #205218

    Erez
    Member

    One more thing before I go and try this. Is there a way to preserve or import some or all of the settings I had in the 3.0M3 workspace settings?

    Thanks,

    Erez

    #205222

    Riyad Kalla
    Member

    Sure,
    Windows > Preferences, click the “Export” button at the bottom right side of the screen, save it to a file. Now load up M7, and import it 😉

    #205234

    Erez
    Member

    Looking at the property file generated I see lots of 3.6.2 version markers. Will the M7 be smart enough to take only what is good for it and leave out what is not relavent?

    Erez

    #205235

    Riyad Kalla
    Member

    Erez,
    I don’t know the answer to this.

    #205237

    Erez
    Member

    I tried importing the preferences and here is the warning I got (in a popup window saying:
    “There is a minor compatibility problem with the preferences in file …. Do you wish to continue?”

    The Details:

    Some preferences may not be compatible with the currently installed plug-ins.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.bejy”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.websphere”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.jboss”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.jetty”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.ast.deploy.core”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.weblogic”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.websphere5”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.j2eedt.core”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.oracle9”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.tomcat”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.orion2”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.orion1”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “org.eclipse.jdt.debug.ui”, but version “3.0.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.core”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.tomcat5”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.tomcat4”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.weblogic8”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.weblogic7”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.weblogic6”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.jboss4”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “org.eclipse.debug.ui”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.jboss3”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.jboss2”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “de.bb.bje.eclipse”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.jetty5”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.jetty4”, but version “3.7.0” is currently installed.
    The preference file contains preferences for version “3.6.2” of plug-in “com.genuitec.eclipse.easie.oracle”, but version “3.7.0” is currently installed.

    Is it safe or shall I go and do it manually?

    Erez

    #205239

    Riyad Kalla
    Member

    Erez,
    Since you are getting this warning I would suggest to do it manually to save your self trouble down the road. Its unsure to know how accurate the import will be, and you could run into some anomoly and be back here on the forums having us help you track it down.

    I would say its the safest bet to configure MyEclipse manually in this case since there is such a big difference between the 3.6.2 and 3.7 GA releases.

    #205241

    Erez
    Member

    Riyad,

    I really appreciate the quick reply – that’s what I call good support!! Keep up the good work 🙂

    Erez

    #205247

    Riyad Kalla
    Member

    Thank you Erez, we will!

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: From 3.0M3 3.6.2 to 3.0M7 3.7.0 [Closed]

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