facebook

update already deployed preferences through workspace task

  1. Secure Delivery Center
  2.  > 
  3. Getting Help
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #347534 Reply

    ic.gc.ca
    Participant

    I am trying to update some eclipse maven preferences through a workspace task. When the workspace was originally created it was created with

    
    file_export_version=3.0
    /instance/org.eclipse.m2e.core/eclipse.m2.defaultRuntime=C\:\\maven\\apache-maven-3.0.5
    /instance/org.eclipse.m2e.core/eclipse.m2.globalSettingsFile=C\:\\maven\\apache-maven-3.0.5\\conf\\settings.xml
    /instance/org.eclipse.m2e.core/eclipse.m2.runtimes=C\:\\maven\\apache-maven-3.0.5
    

    I wanted to upgrade it to

    
    file_export_version=3.0
    /instance/org.eclipse.m2e.core/eclipse.m2.defaultRuntime=C\:\\maven\\apache-maven-3.1.1
    /instance/org.eclipse.m2e.core/eclipse.m2.globalSettingsFile=C\:\\maven\\apache-maven-3.1.1\\conf\\settings.xml
    /instance/org.eclipse.m2e.core/eclipse.m2.runtimes=C\:\\maven\\apache-maven-3.1.1
    

    but when eclipse launched and sdc applyed the updates the runtime for maven remained the same. Any tips or pointers on how to force the update would be greatly appreciated.

    Thanks in advance!

    #347562 Reply

    ic.gc.ca
    Participant

    Not sure what the issue is, but here is the workaround. The update from the SDC hub only contained workspace preference files that were updated. From eclipse ‘check for updates’ the hub is contacted and the popup asks for application of the workspace settings. Once applied the update to the preferences actually doesn’t take, but if eclipse is restarted, SDC will prompt for a reapplication of the workspace settings, if that is done, then the preferences are applied.

    #347568 Reply

    sdc-support
    Member

    Hi, we’re sorry for the delay on the response.

    About the problem you mention, unfortunatelly it seems to be no way of doing that (at least directly with SDC).
    You’ll have to apply the update for the Workspace task and then apply the changes to eclipse, sorry for the inconvenience.

    Regards – SDC Support.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: update already deployed preferences through workspace task

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