For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 9 replies, 2 voices, and was last updated 21 years, 7 months ago by
Riyad Kalla.
-
AuthorPosts
-
ErezMemberAre 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
March 21, 2004 at 7:05 pm #205086
Riyad KallaMemberErez,
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.
March 24, 2004 at 6:56 pm #205218
ErezMemberOne 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
March 24, 2004 at 9:32 pm #205222
Riyad KallaMemberSure,
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 😉March 25, 2004 at 9:17 am #205234
ErezMemberLooking 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
March 25, 2004 at 9:22 am #205235
Riyad KallaMemberErez,
I don’t know the answer to this.March 25, 2004 at 9:25 am #205237
ErezMemberI 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
March 25, 2004 at 9:28 am #205239
Riyad KallaMemberErez,
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.
March 25, 2004 at 9:43 am #205241
ErezMemberRiyad,
I really appreciate the quick reply – that’s what I call good support!! Keep up the good work 🙂
Erez
March 25, 2004 at 10:59 am #205247
Riyad KallaMemberThank you Erez, we will!
-
AuthorPosts
