-
1. Re: Cloning a workspace
peterj Mar 19, 2010 5:46 PM (in response to asookazian)1 of 1 people found this helpfulI tend to work with many workspaces, creating each for specific needs. I use the File | Export | General | Preferences to export my preferences into a file. Then in the new workspace I use File | Import | General | Preferences and load up the preferences file.
The only time I have any issues with this is when I move thep references file to a different computer which has different JVMs installed, or JVMs installed in different locations. But when that happens the only thing I have ot change is the registered JREs in the preferences - everything else in imported without issue.
-
2. Re: Cloning a workspace
asookazian Mar 19, 2010 6:15 PM (in response to peterj)Thanks for the answer, that was very helpful. I tried it and it didn't seem to work the way I expected it to. For example, in the new workspace's task list view, I have to add the JIRA repository again for the Mylyn JIRA connector (i.e. it's not already there as I expected). Is this supposed to happen or not? Also, when i exported, the options available for preferences is "Installed JREs" only.
Is this normal? will this export everything in terms of preferences in my original workspace?
Here is the .epf file contents:
#Fri Mar 19 14:55:15 PDT 2010
/instance/org.eclipse.wst.jsdt.web.core/jspIndexState=1
/instance/org.eclipse.mylyn.context.core/mylyn.attention.migrated=true
/instance/org.eclipse.mylyn.java.ui/org.eclipse.mylyn.java.ui.run.count.3_1_0=1
/instance/org.eclipse.ui.ide/EXIT_PROMPT_ON_CLOSE_LAST_WINDOW=false
/instance/org.eclipse.wst.sse.core/task-tag-projects-already-scanned=RemoteSystemsTempFiles,com.echo.cis.crud.dao,com.echo.cis.crud.domain,com.echo.cis.domain,com.echo.cis.editors,com.echo.cis.ejb.dao,com.echo.cis.ejb.seam,com.echo.cis.gui,com.echo.cis.gui.ear,com.echo.cis.logtran,com.echo.cis.model,com.echo.cis.services.merchant,com.echo.cis.util,com.echo.cis.web
/instance/org.eclipse.mylyn.resources.ui//editors.task.http\://team.innovativemerchant.com/jira-36193=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<ContextOpenEditors>\r\n<MonitoredWindowOpenEditors class\="org.eclipse.ui.internal.WorkbenchWindow" isActive\="true" isLaunching\="true" number\="1">\r\n<editorArea activeWorkbook\="DefaultEditorWorkbook">\r\n<info part\="DefaultEditorWorkbook">\r\n<folder appearance\="1" expanded\="2">\r\n<presentation id\="org.eclipse.ui.presentations.WorkbenchPresentationFactory">\r\n<part id\="0"/>\r\n<part id\="1"/>\r\n<part id\="2"/>\r\n</presentation>\r\n</folder>\r\n</info>\r\n</editorArea>\r\n<editor id\="org.eclipse.mylyn.tasks.ui.editors.task" name\="GEM-147\: History popup modal windows pull the screen to the ..." partName\="GEM-147\: History popup modal windows pull the screen to the ..." title\="GEM-147\: History popup modal windows pull the screen to the ..." tooltip\="History popup modal windows pull the screen to the top" workbook\="DefaultEditorWorkbook">\r\n<input factoryID\="org.eclipse.mylyn.tasks.ui.elementFactories.task.editor" taskHandle\="http\://team.innovativemerchant.com/jira-36193"/>\r\n</editor>\r\n<editor id\="org.jboss.tools.jst.jsp.jspeditor.HTMLTextEditor" name\="add_merchant_billing_group_wizard_step1.xhtml" partName\="add_merchant_billing_group_wizard_step1.xhtml" path\="C\:/projects/gem147/maven.1268927389846/com.echo.cis.web/src/main/webapp/restricted/billing/add_merchant_billing_group_wizard_step1.xhtml" title\="add_merchant_billing_group_wizard_step1.xhtml" tooltip\="C\:/projects/gem147/maven.1268927389846/com.echo.cis.web/src/main/webapp/restricted/billing/add_merchant_billing_group_wizard_step1.xhtml" workbook\="DefaultEditorWorkbook">\r\n<input factoryID\="org.jboss.tools.common.core.resources.XModelObjectEditorInputFactory" path\="/com.echo.cis.gui/com.echo.cis.web/src/main/webapp/restricted/billing/add_merchant_billing_group_wizard_step1.xhtml"/>\r\n</editor>\r\n<editor activePart\="true" focus\="true" id\="org.jboss.tools.jst.jsp.jspeditor.HTMLTextEditor" name\="add_merchant_billing_group_wizard_step2.xhtml" partName\="add_merchant_billing_group_wizard_step2.xhtml" path\="C\:/projects/gem147/maven.1268927389846/com.echo.cis.web/src/main/webapp/restricted/billing/add_merchant_billing_group_wizard_step2.xhtml" title\="add_merchant_billing_group_wizard_step2.xhtml" tooltip\="C\:/projects/gem147/maven.1268927389846/com.echo.cis.web/src/main/webapp/restricted/billing/add_merchant_billing_group_wizard_step2.xhtml" workbook\="DefaultEditorWorkbook">\r\n<input factoryID\="org.jboss.tools.common.core.resources.XModelObjectEditorInputFactory" path\="/com.echo.cis.gui/com.echo.cis.web/src/main/webapp/restricted/billing/add_merchant_billing_group_wizard_step2.xhtml"/>\r\n</editor>\r\n</MonitoredWindowOpenEditors>\r\n</ContextOpenEditors>
@org.eclipse.rse.ui=3.1.1.v200909160005
/instance/org.eclipse.wst.validation/USER_MANUAL_PREFERENCE=enabledManualValidatorListorg.eclipse.jst.j2ee.internal.validation.UIApplicationClientValidator;org.eclipse.jst.j2ee.internal.web.validation.UIWarValidator;org.eclipse.wst.wsi.ui.internal.WSIMessageValidator;org.jboss.tools.seam.internal.core.validation.SeamProjectPropertyValidator;org.eclipse.bpel.validator.Validator;org.eclipse.jst.j2ee.internal.ejb.workbench.validation.UIEjbValidator;org.eclipse.jst.j2ee.internal.validation.UIEarValidator;org.eclipse.jst.j2ee.internal.jca.validation.UIConnectorValidator;org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager;org.eclipse.wst.common.componentcore.internal.ModuleCoreValidator;org.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;org.jboss.tools.seam.internal.core.validation.SeamEarProjectValidator;
/instance/org.eclipse.wst.validation/saveAuto=false
@org.eclipse.jst.jsp.core=1.2.204.v201001270045
/instance/org.eclipse.wst.jsdt.ui/spelling_locale_initialized=true
/instance/org.eclipse.ui.ide/platformState=1268670731248
@org.eclipse.epp.usagedata.recording=1.1.1.R201001291118
/instance/org.eclipse.wst.validation/stateTS=0
@org.eclipse.ui.ide=3.5.2.M20100113-0800
@org.eclipse.jdt.core=3.5.2.v_981_R35x
/instance/org.jboss.tools.jst.jsp/Size\ of\ Visual\ Editor\ Pane\ 0-100%=0
/instance/org.eclipse.mylyn.monitor.ui/org.eclipse.mylyn.monitor.activity.tracking.enabled=true
@org.eclipse.team.core=3.5.1.r35x_20100113-0800
@org.eclipse.wst.sse.core=1.1.402.v201001251516
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.javadoclocations.migrated=true
@org.eclipse.wst.sse.ui=1.1.102.v200910200227
/instance/org.eclipse.debug.ui/preferredTargets=default\:default|
/configuration/org.eclipse.ui.ide/SHOW_WORKSPACE_SELECTION_DIALOG=false
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.visibilityCheck=enabled
/instance/org.eclipse.team.ui/org.eclipse.team.ui.sychronizing_default_participant=org.tigris.subversion.subclipse.participant
@org.eclipse.team.ui=3.5.0.I20090430-0408
/instance/org.eclipse.jdt.launching/org.eclipse.jdt.launching.PREF_VM_XML=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<vmSettings defaultVM\="57,org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType13,1268927419877">\r\n<vmType id\="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType">\r\n<vm id\="1268927419877" javadocURL\="http\://java.sun.com/j2se/1.5.0/docs/api/" name\="jdk1.5.0_22" path\="C\:\\Program Files\\Java\\jdk1.5.0_22"/>\r\n</vmType>\r\n</vmSettings>\r\n
/instance/org.eclipse.team.cvs.ui/pref_first_startup=false
/instance/com.atlassian.connector.eclipse.monitor.usage/com.atlassian.connector.eclipse.monitor.usage.enabled=false
/instance/org.eclipse.wst.server.core/module-start-timeout=300000
@org.jboss.ide.eclipse.as.ui=2.1.0.v201003050540R-H56-GA
\!/=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.source=1.5
@org.eclipse.search=3.5.1.r351_v20090708-0800
/instance/org.eclipse.ui.ide/tipsAndTricks=true
/instance/org.eclipse.wst.validation/suspend=true
/instance/org.eclipse.jdt.ui/tabWidthPropagated=true
@org.eclipse.rse.core=3.1.1.v200909160005
@org.eclipse.debug.ui=3.5.2.v20091028_r352
/instance/com.atlassian.connector.eclipse.monitor.usage/com.atlassian.connector.eclipse.monitor.usage.first.time=false
/instance/org.eclipse.ui.editors/overviewRuler_migration=migrated_3.1
@org.eclipse.ui.workbench=3.5.2.M20100113-0800
/instance/org.eclipse.mylyn.monitor.ui/org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.internal.ui.navigator.layout=2
/instance/org.eclipse.team.ui/org.eclipse.team.ui.sychronizing_default_participant_sec_id=1268928891436
/instance/org.jboss.tools.seam.core/seam.packageStructure=editable
/instance/org.eclipse.ui/showIntro=false
/instance/org.eclipse.team.ui/org.eclipse.team.ui.first_time=false
/instance/org.eclipse.team.core/changeSets/SVNStatusSubscriber/History\ popup\ modal\ windows\ pull\ the\ screen\ to\ the\ top/userCreated=true
/instance/org.eclipse.wst.jsdt.ui/org.eclipse.wst.jsdt.ui.editor.tab.width=
/instance/org.eclipse.wst.jsdt.ui/org.eclipse.wst.jsdt.ui.javadoclocations.migrated=true
/instance/org.jboss.ide.eclipse.as.ui/org.jboss.ide.eclipse.as.ui.preferences.enabledDecorators.1=true
/instance/org.eclipse.mylyn.context.ui/org.eclipse.mylyn.ui.interest.filter.org.eclipse.ui.navigator.ProjectExplorer=true
@org.eclipse.wst.server.core=1.1.102.v20100123
/configuration/org.eclipse.ui.ide/RECENT_WORKSPACES_PROTOCOL=3
/instance/org.eclipse.jst.jsp.core/org.eclipse.jst.jsp.core.taglib.TaglibIndex=CLEAN
/instance/com.atlassian.connector.eclipse.monitor.usage/com.atlassian.connector.eclipse.monitor.usage.submission.frequency=604800000
/instance/org.eclipse.search/org.eclipse.search.reuseEditor=false
/instance/org.eclipse.debug.ui/preferredDetailPanes=DefaultDetailPane\:DefaultDetailPane|
/configuration/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true
/instance/org.eclipse.wst.ws.service.policy/org.eclipse.wst.ws.service.policy.ui.servicepols.wsiprofilecomp.wsiap.defaultProtocol=http\://schemas.xmlsoap.org/wsdl/soap/
@org.eclipse.wst.server.ui=1.1.103.v20100123
/instance/org.eclipse.jdt.ui/useQuickDiffPrefPage=true
/instance/org.eclipse.jdt.ui/content_assist_proposals_foreground=0,0,0
/instance/org.eclipse.wst.validation/vf.version=3
/instance/org.eclipse.wst.validation/override=true
/instance/org.eclipse.wst.jsdt.ui/fontPropagated=true
/instance/org.eclipse.wst.validation/USER_PREFERENCE=saveAutomaticallyfalseprojectsCanOverridetruedisableAllValidationtrueversion1.2.104.v200911120201
/instance/org.eclipse.epp.usagedata.recording/org.eclipse.epp.usagedata.recording.last-upload=1268926982132
/instance/org.eclipse.wst.validation/confirmDialog=true
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
@org.eclipse.wst.validation=1.2.104.v200911120201
@org.eclipse.jdt.ui=3.5.2.r352_v20100106-0800
@org.maven.ide.eclipse.editor.xml=0.10.0.20100209-0800
@org.eclipse.jdt.debug.ui=3.4.1.v20090811_r351
/instance/org.eclipse.jdt.ui/useAnnotationsPrefPage=true
/instance/org.eclipse.jst.jsp.core/jspIndexState=1
/instance/org.eclipse.ui.ide/PROBLEMS_FILTERS_MIGRATE=true
/configuration/org.eclipse.ui.ide/RECENT_WORKSPACES=C\:\\Documents and Settings\\asookazian\\workspace\\gem147\nC\:\\Documents and Settings\\asookazian\\workspace\\CIS_1.5.1\nC\:\\Documents and Settings\\asookazian\\workspace\\seamfaces
@org.tigris.subversion.subclipse.ui=1.6.10
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.formatterprofiles.version=11
/instance/org.eclipse.wst.sse.ui/useQuickDiffPrefPage=true
/instance/org.eclipse.wst.validation/DELEGATES_PREFERENCE=delegateValidatorList
/instance/com.atlassian.connector.eclipse.monitor.usage/com.atlassian.connector.eclipse.monitor.usage.upload.previousTransmit=1268948883517
/instance/org.eclipse.wst.jsdt.ui/org.eclipse.wst.jsdt.internal.ui.navigator.layout=1
file_export_version=3.0
@com.collabnet.subversion.merge=2.0.1
@org.eclipse.mylyn.context.core=3.3.2.v20100222-0100-e3x
@org.eclipse.mylyn.context.ui=3.3.2.v20100222-0100-e3x
/instance/org.eclipse.epp.usagedata.gathering/org.eclipse.epp.usagedata.gathering.enabled=false
/configuration/org.eclipse.ui.ide/MAX_RECENT_WORKSPACES=5
/instance/org.eclipse.jdt.ui/spelling_locale_initialized=true
/instance/org.eclipse.jdt.ui/content_assist_number_of_computers=21
/instance/org.eclipse.team.core/changeSets/SVNStatusSubscriber/defaultSet=<No Active Task>
/instance/org.eclipse.wst.ws.service.policy/org.eclipse.wst.ws.service.policy.ui.servicepols.wsiprofilecomp.wsissbp.defaultProtocol=http\://schemas.xmlsoap.org/wsdl/soap/
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
/instance/org.maven.ide.eclipse/forceRebuildOnUpgrade=true
/instance/org.eclipse.debug.ui/pref_state_memento.org.eclipse.debug.ui.DebugVieworg.eclipse.debug.ui.DebugView=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<DebugViewMemento org.eclipse.debug.ui.BREADCRUMB_DROPDOWN_AUTO_EXPAND\="false"/>
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.editor.tab.width=
/instance/org.jboss.tools.seam.core/seam.scopePresentation=label
@org.eclipse.mylyn.java.ui=3.3.2.v20100222-0100-e3x
/instance/org.tigris.subversion.subclipse.ui/pref_merge_provider=CollabNet Desktop
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.compliance=1.5
/instance/org.eclipse.jdt.ui/content_assist_disabled_computers=org.eclipse.jdt.ui.javaTypeProposalCategory\u0000org.eclipse.jdt.ui.javaAllProposalCategory\u0000org.eclipse.jdt.ui.textProposalCategory\u0000org.eclipse.jdt.ui.javaNoTypeProposalCategory\u0000
/instance/org.maven.ide.eclipse/eclipse.m2.updateIndexes=false
@org.jboss.tools.seam.core=3.1.0.v201003050540R-H56-GA
/instance/org.eclipse.wst.server.ui/show-on-activity=false
/instance/com.atlassian.connector.eclipse.monitor.usage/com.atlassian.connector.eclipse.monitor.usage.events.observed=7
/instance/org.jboss.ide.eclipse.as.ui/org.jboss.ide.eclipse.as.ui.defaultWebServer=JBoss 4.2 Runtime Server1268953020715
@org.eclipse.ui.editors=3.5.0.v20090527-2000
/instance/org.eclipse.wst.jsdt.ui/org.eclipse.jface.textfont=1|Courier New|10.0|0|WINDOWS|1|0|0|0|0|0|0|0|0|1|0|0|0|0|Courier New;
/instance/com.atlassian.connector.eclipse.monitor.usage/com.atlassian.connector.eclipse.monitor.usage.user_id=e57a6a9f-902e-40d3-9c1e-d3f370858ef0
@org.eclipse.wst.jsdt.ui=1.0.201.v2010012803
/instance/org.eclipse.wst.validation/USER_BUILD_PREFERENCE=enabledBuildValidatorListorg.eclipse.jst.j2ee.internal.validation.UIApplicationClientValidator;org.eclipse.jst.j2ee.internal.web.validation.UIWarValidator;org.eclipse.wst.wsi.ui.internal.WSIMessageValidator;org.jboss.tools.seam.internal.core.validation.SeamProjectPropertyValidator;org.eclipse.bpel.validator.Validator;org.eclipse.jst.j2ee.internal.ejb.workbench.validation.UIEjbValidator;org.eclipse.jst.j2ee.internal.validation.UIEarValidator;org.eclipse.jst.j2ee.internal.jca.validation.UIConnectorValidator;org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager;org.eclipse.wst.common.componentcore.internal.ModuleCoreValidator;org.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;org.jboss.tools.seam.internal.core.validation.SeamEarProjectValidator;
/instance/org.eclipse.team.core/changeSets/SVNStatusSubscriber/History\ popup\ modal\ windows\ pull\ the\ screen\ to\ the\ top/title=History popup modal windows pull the screen to the top (http\://team.innovativemerchant.com/jira-36193)
@org.eclipse.core.net=1.2.1.r35x_20090812-1200
/instance/org.eclipse.core.resources/version=1
/instance/org.eclipse.wst.jsdt.ui/tabWidthPropagated=true
@org.eclipse.wst.ws.service.policy=1.0.103.v200905151848
@com.atlassian.connector.eclipse.monitor.usage=2.0.0.v20100224-BETA
/instance/org.eclipse.wst.jsdt.ui/useAnnotationsPrefPage=true
/instance/org.eclipse.wst.jsdt.ui/org.eclipse.wst.jsdt.ui.formatterprofiles.version=11
@org.eclipse.mylyn.monitor.ui=3.3.2.v20100222-0100-e3x
/instance/org.eclipse.jdt.ui/proposalOrderMigrated=true
/instance/org.eclipse.jdt.ui/content_assist_proposals_background=255,255,255
@org.eclipse.core.resources=3.5.2.R35x_v20091203-1235
/instance/org.eclipse.debug.ui/org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<launchPerspectives/>\r\n
@org.maven.ide.eclipse=0.10.0.20100209-0800
/instance/org.eclipse.jst.j2ee.webservice.ui/areThereWebServices=false
/instance/org.eclipse.jdt.ui/org.eclipse.jface.textfont=1|Courier New|10.0|0|WINDOWS|1|0|0|0|0|0|0|0|0|1|0|0|0|0|Courier New;
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.classpathVariable.M2_REPO=C\:/Documents and Settings/asookazian/.m2/repository
/instance/org.maven.ide.eclipse.editor.xml/org.maven.ide.eclipse.editor.xml.templates=<?xml version\="1.0" encoding\="UTF-8"?><templates/>
/instance/org.eclipse.rse.core/org.eclipse.rse.systemtype.local.systemType.defaultUserId=asookazian
/instance/org.eclipse.team.core/changeSets/CVS\ Workspace/defaultSet=<No Active Task>
/instance/com.collabnet.subversion.merge/merge_provider_set=true
@org.eclipse.jdt.launching=3.5.1.v20100108_r352
@org.eclipse.epp.usagedata.gathering=1.1.1.R201001291118
@org.jboss.tools.jst.jsp=3.1.0.v201003050540R-H56-GA
@org.eclipse.team.cvs.ui=3.3.202.r35x_20090930-0800
/instance/org.eclipse.jdt.debug.ui/org.eclipse.debug.ui.VariableView.org.eclipse.jdt.debug.ui.show_null_entries=true
/instance/org.eclipse.jdt.ui/fontPropagated=true
/instance/org.eclipse.wst.jsdt.ui/proposalOrderMigrated=true
/instance/org.eclipse.wst.sse.ui/useAnnotationsPrefPage=true
/instance/org.jboss.ide.eclipse.as.ui/org.jboss.ide.eclipse.as.ui.preferences.runtime.last.type.org.jboss.ide.eclipse.as.runtime.42=C\:\\java\\jboss-4.2.2.GA
@org.eclipse.wst.jsdt.web.core=1.0.201.v201001221931
/instance/org.eclipse.debug.ui/org.eclipse.debug.ui.user_view_bindings=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<viewBindings>\r\n<view id\="org.eclipse.ui.console.ConsoleView">\r\n<perspective id\="org.eclipse.team.ui.TeamSynchronizingPerspective" userAction\="opened"/>\r\n<perspective id\="org.eclipse.jst.j2ee.J2EEPerspective" userAction\="opened"/>\r\n</view>\r\n</viewBindings>\r\n
/instance/org.eclipse.ui.workbench/ENABLED_DECORATORS=org.eclipse.jst.j2ee.navigator.ui.java.resource.decorator\:true,org.eclipse.jst.jee.navigator.ui.java.resource.decorator\:true,org.eclipse.wst.server.ui.decorator\:false,org.maven.ide.eclipse.mavenVersionDecorator\:false,org.eclipse.bpel.apache.ode.deploy.ui.icondecorator\:true,org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.DependencyDecoration\:true,org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.ColumnDecoration\:true,org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.ForeignKeyDecoration\:true,org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.IndexTriggerDecoration\:true,org.eclipse.datatools.connectivity.internal.core.ui.bookmarkDecoration\:true,org.eclipse.datatools.connectivity.internal.core.ui.FilterNodeDecoration\:true,org.eclipse.datatools.connectivity.ui.decorator.contentextension\:false,org.eclipse.datatools.enablement.ingres.ui.providers.decorators.SynonymDecorationService\:true,org.eclipse.datatools.enablement.ingres.internal.ui.providers.decorators.ParameterDecorationService\:true,org.eclipse.datatools.enablement.sybase.asa.proxytabledecorator\:true,org.eclipse.datatools.enablement.sybase.ase.webservicetabledecorator\:true,org.eclipse.datatools.enablement.sybase.systemtabledecorator\:true,org.eclipse.jdt.ui.override.decorator\:true,org.eclipse.jdt.ui.interface.decorator\:false,org.eclipse.jdt.ui.buildpath.decorator\:true,org.eclipse.jst.j2ee.internal.ui.util.AnnotationIconDecorator_ejb\:true,org.eclipse.jst.j2ee.navigator.internal.J2EEProjectDecorator\:true,org.eclipse.jst.jee.ui.internal.navigator.ejb.BeanDecorator\:true,org.eclipse.jst.jee.navigator.internal.JEEProjectDecorator\:true,org.eclipse.jst.j2ee.internal.ui.util.AnnotationIconDecorator_servlet\:true,org.eclipse.mylyn.context.ui.decorator.interest\:true,org.eclipse.mylyn.tasks.ui.decorators.task\:true,org.eclipse.mylyn.team.ui.changeset.decorator\:true,org.eclipse.pde.ui.binaryProjectDecorator\:false,org.eclipse.rse.core.virtualobject.decorator\:true,org.eclipse.rse.core.binary.executable.decorator\:true,org.eclipse.rse.core.script.executable.decorator\:true,org.eclipse.rse.core.java.executable.decorator\:true,org.eclipse.rse.core.library.decorator\:true,org.eclipse.rse.core.link.decorator\:true,org.eclipse.rse.subsystems.error.decorator\:true,org.eclipse.team.cvs.ui.decorator\:true,org.eclipse.ui.LinkedResourceDecorator\:true,org.eclipse.ui.ContentTypeDecorator\:true,org.eclipse.wst.jsdt.ui.override.decorator\:true,org.eclipse.wst.jsdt.ui.interface.decorator\:false,org.eclipse.wst.server.ui.navigatorDecorator\:true,org.guvnor.tools.decorator\:true,org.hibernate.eclipse.decorators.HibernateDecorator\:true,org.jboss.ide.eclipse.as.ui.extensions.xml.decorator\:true,org.jboss.tools.esb.project.ui.decorator\:true,org.jboss.tools.smooks.ui.configurationPage.decorator\:false,org.maven.ide.eclipse.maven2decorator\:true,org.tigris.subversion.subclipse.ui.decorator\:true,
/instance/org.eclipse.wst.jsdt.ui/useQuickDiffPrefPage=true
/instance/org.eclipse.team.core/changeSets/SVNStatusSubscriber/History\ popup\ modal\ windows\ pull\ the\ screen\ to\ the\ top/resources=/com.echo.cis.gui.ear/.classpath\n/com.echo.cis.gui/com.echo.cis.gui.ear/.classpath\n/com.echo.cis.gui/build.xml\n/com.echo.cis.model/.project\n/com.echo.cis.gui/com.echo.cis.web/src/main/webapp/META-INF/MANIFEST.MF\n/com.echo.cis.gui/.project\n/com.echo.cis.web/src/main/webapp/META-INF/MANIFEST.MF\n
/instance/org.eclipse.rse.ui/org.eclipse.rse.preferences.order.connections=imsdx43a226265.Local
/instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true
@org.eclipse.jst.j2ee.webservice.ui=1.1.300.v200902052230
/instance/org.jboss.ide.eclipse.as.ui/org.jboss.ide.eclipse.as.ui.preferences.disabled.automatic.server.view=true
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
/instance/org.eclipse.wst.server.core/runtimes=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<runtimes>\r\n<runtime PROPERTY_EXEC_ENVIRONMENT\="J2SE-1.4" PROPERTY_VM_ID\="1268927419877" PROPERTY_VM_TYPE_ID\="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType" id\="JBoss 4.2 Runtime" location\="C\:/java/jboss-4.2.2.GA" name\="JBoss 4.2 Runtime" org.jboss.ide.eclipse.as.core.runtime.configurationLocation\="server" org.jboss.ide.eclipse.as.core.runtime.configurationName\="default" runtime-type-id\="org.jboss.ide.eclipse.as.runtime.42" timestamp\="0"/>\r\n</runtimes>\r\n
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
@org.eclipse.ui=3.5.2.M20100120-0800
@org.eclipse.mylyn.resources.ui=3.3.2.v20100222-0100-e3x
-
3. Re: Cloning a workspace
peterj Mar 19, 2010 6:38 PM (in response to asookazian)I always choose Export All, not "Choose Specific Preferences" like you did.
-
4. Re: Cloning a workspace
asookazian Mar 19, 2010 6:40 PM (in response to peterj)I actually selected "Export All", that screen shot is after the fact and is inaccurate, sorry...
I imagine that's why there is so much metadata in the .epf file (b/c I selected "export all")...
-
5. Re: Cloning a workspace
dgolovin Mar 19, 2010 7:01 PM (in response to asookazian)it looks like when you export all preferences it goes through all*.pref files in
$WORKSPACE/.metadata/.plugins/org.eclipse.core.runtime/.settings
and convert pref file content to
/instance/${pref-file-name-no-extension}/${property-name}=${property-value}
and if Mylyn settings for jira is not there it means they are saved not in .settings/*.psf file but somewhere else.
-
6. Re: Cloning a workspace
dgolovin Mar 19, 2010 7:02 PM (in response to dgolovin)1 of 1 people found this helpfulHere they are in ${WORKSPACE}/.metadata/.mylyn/repositories.xml.zip
-
7. Re: Cloning a workspace
asookazian Mar 19, 2010 7:03 PM (in response to asookazian)I exported the prefs of the 2nd workspace:
#Fri Mar 19 16:01:04 PDT 2010
file_export_version=3.0
@org.eclipse.jdt.launching=3.5.1.v20100108_r352
/instance/org.eclipse.jdt.launching/org.eclipse.jdt.launching.PREF_VM_XML=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<vmSettings defaultVM\="57,org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType13,1268927419877">\r\n<vmType id\="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType">\r\n<vm id\="1268927419877" javadocURL\="http\://java.sun.com/j2se/1.5.0/docs/api/" name\="jdk1.5.0_22" path\="C\:\\Program Files\\Java\\jdk1.5.0_22"/>\r\n</vmType>\r\n</vmSettings>\r\n
\!/=Much less contents, so obviously the first export was an "export all".
-
8. Re: Cloning a workspace
asookazian Mar 19, 2010 7:07 PM (in response to dgolovin)Hey thanks! So it's a matter of knowing how to import the Mylyn preferences (and any other non-standard preferences) into the new workspace. I'm assuming the way to do it is to copy the .mylyn folder into the new workspace's .metadata folder.
-
9. Re: Cloning a workspace
asookazian Mar 19, 2010 7:15 PM (in response to asookazian)I just deleted the contents of the new workspace's folder. Then re-opened the workspace. The imported the prefs. There is the following folder now:
C:\Documents and Settings\asookazian\workspace\testImportPrefs\.metadata\.mylyn\contexts\activity.xml.zip
Here is the contents of the activity.xml:
<?xml version="1.0" encoding="UTF-8" ?><InteractionHistory Id="activity" Version="1"><InteractionEvent Delta="added" EndDate="2010-03-19 16:11:45.355 PDT" Interest="1.0" Kind="attention" Navigation=" " OriginId="org.eclipse.ui.workbench" StartDate="2010-03-19 16:10:44.465 PDT" StructureHandle="none" StructureKind="workingset" /></InteractionHistory>This file and others are there as well:C:\Documents and Settings\asookazian\workspace\testImportPrefs\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.mylyn.context.core.prefsMessage was edited by: Arbi Sookazian
-
10. Re: Cloning a workspace
dgolovin Mar 19, 2010 7:46 PM (in response to asookazian)File C:\Documents and Settings\asookazian\workspace\testImportPrefs\.metadata\.mylyn\contexts\activity.xml.zip might be just generated by by Mylyn core plug-in and contains default values.
-
11. Re: Cloning a workspace
dgolovin Mar 19, 2010 8:00 PM (in response to asookazian)Obviously not all plug-ins are following a good practice to provide preferences transferors through "org.eclipse.ui.preferenceTransfer" extension, that's why there is no something like "Mylyn JIRA Connector Repositories" in Preferences group of Preferences Import dialog.
-
12. Re: Cloning a workspace
asookazian Mar 19, 2010 11:01 PM (in response to dgolovin)I just noticed that there is a copy settings option when you switch to a new workspace. This allows you to copy workbench layout and working sets.
Ok, so the prefs are literally all the preferences settings in Window --> Preferences dialog?
It only shows the installed JRE as an option though in the pic above. So I don't really know all the prefs it's saving until you look into the .epf file...
-
13. Re: Cloning a workspace
dgolovin Mar 20, 2010 2:26 AM (in response to asookazian)There are several scopes definde for preferences:
1. Instance - preferences saved in eclipse/configuration and the are available in all workspaces
2. Workspace - saved .metadata
3. Project - .settings folder in project root
If preference page implementation follows good practices and save preferences in workspace scope then it should be picked up by Export dialog, but implementation is free to serialize preferences values somewhere else.
So literally preferences settings are showed in Window->Preferences... dialog, but that doesn't mean all of them are going to be imported through Import Preferences dialog.
There could be others like CVS and SVN repositories and so on.