For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 5 replies, 3 voices, and was last updated 20 years, 11 months ago by
Scott Anderson.
-
AuthorPosts
-
Naga RameswamyMemberI used the manual installer to install MyEclipse 3.8.2 with Eclipse 3.0.1.
My default workspace was set to a different directory during eclipse installation. I manually configured MyEclipse preferences and these were stored as .prefs files in my initial default workspace including the MyEclipse license informationWhen I switched the workspace to a different directory (say, d:\temp), the workspace was closed and restarted automatically & I noticed that, in Windows -> preferences –> MyEclipse , all my configurations were lost.
Please let me know how I can preserv the MyEclipse preferences whenever I switch workspaces.
-Naga
October 7, 2004 at 6:45 pm #217205
Riyad KallaMemberThe same way you can preserve the other Eclipse settings. USe the “Export” button at the bottom of the PReferences window, and then use the “Import” button to read those preferences back in.
October 11, 2004 at 3:51 pm #217404
Naga RameswamyMemberRiyad : I know that we could always import and export preferences, but I guess I did not word my question correctly. The question is:
How do I set default preferences to the MyEclipse configurations ?
I figured out 2 ways of doing this, but wanted to confirm which option is right..
Option 1 :
———–
MyEclipse manual install ZIP contains a preferences.ini for every plug-in. For example, the file preferences.ini in <MY_INSTALL_DIR>\MyEclipse\eclipse\plugins\com.genuitec.eclipse.easie.weblogic_3.8.2 contains the default entries relating to a weblogic configuration that I could replace.Option 2
———-
Modifying the *.prefs in the eclipse\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings directory with the default values and starting eclipse with this workspace with the eclipse.exe -data <my workspace folder>.Which one is right and recommended by MyEclipse?
-Naga
October 11, 2004 at 4:51 pm #217410
Scott AndersonParticipantNaga,
Neither of those options is really supported or recommended since they involve low-level changes to files that are quite easy to break. The easiest way to set the defaults you want is simply to configure a new workspace and export them as Riyad mentioned in his post. Once they’re imported into a workspace, they’ll modify the .prefs files in the workspace settings location automatically. Once you have a configured “default” workspace, you can save a copy of it and simply create new copies when you need another workspace.
October 11, 2004 at 4:57 pm #217412
Naga RameswamyMemberScott,
What we are trying to do is customize the MyEclipse ZIP file, set default preferences specific to our development environment and distribute the ZIp, so that developers/users need not go through the configurations again. Is there any recommended approach to do this other than prefs / ini files ?Thanks,
-NagaOctober 15, 2004 at 3:36 pm #217781
Scott AndersonParticipantNaga,
Rather than manually poking around in the zip file, you can just install MyEclipse on one machine, run it and configure the settings and workspace the way you like. Once you’re done with this, zip up everything, including the MyEclipse and the workspace (and Eclipse if you like), for distribution to your team.
-
AuthorPosts