This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS5 Launching Eclipse.exe renames the default Workspace.

Guru 55553 points
Other Parts Discussed in Thread: CCSTUDIO

Launching Eclipse.exe found under the CCS5 (drive:..Eclipse) will over write the CCS5 workspace path in ccsstudio.ini with the (-Dosgi.instance.area.default=@user.home/ ) attribute.

If you never looked inside the ccstudio.ini it would not be obvious to anyone something is up.

One then has to (switch workspace) folder path each and every time on entering CCS5 even though the preference to prompt is made set enabled.

To fix replace the (@user.home/) with the fully qualified UNC path of your personal workspace and you are happy once again to investigate the far dark reaches of CCS5.

 

  • When you use eclipse.exe then eclipse.ini file is used rather than ccstudio.ini.  That is what causes your default workspace to be different. You can compare two files in a text editor to see that ccstudio.ini defines default workspace path differently. I think you should be able to just use eclipse.exe switch to your other workspace and then use that as eclipse remembers your last used workspace... i.e. I am not sure that I would suggest overriding that variable). It is useful for when someone wants to have multiple desktop icons each associated with a different workspace. However, if it is just one, then I am sure what the benefit would be. There are some other settings in ccstudio.ini file that may or may not impact you. The intention behind keeping eclipse.exe is to allow end users to have a stock eclipse user experience without TI's customizations. 

    Martin

  • MartinS said:
    When you use eclipse.exe then eclipse.ini file is used rather than ccstudio.ini.  

    That being said the question is why did merely launching (Eclipse.exe) modify the (ccstudio.ini) file and disables the ability for CCS5 to prompt for workspace upon launching CCSstudio.exe?

    Posted this so others who fall victim could roll back with out loosing 1/2 a day troubleshooting.

  • As far as I know eclipse.exe does not modify ccstudio.ini. The setting whether to ask for workspace directory is stored in ccsv5\eclipse\configuration\.settings\org.eclipse.ui.ide.prefs file... specifically this property gets modified 

    SHOW_WORKSPACE_SELECTION_DIALOG=false

    If your CCS installation is not writable, then that setting will be stored in $UserHome\.eclipse\org.eclipse.platform_versionInfo\configuration\.settings folder. 

    Martin

  • After launching Eclipse.exe and selecting the CCS5.4 workspace, CCS5.4  from then on does not check the flag to prompt for workspace on startup.

    The setting below exists yet no prompt for workspace dialog box appears during CCS5.4 lauch:

    SHOW_WORKSPACE_SELECTION_DIALOG=true

    Must be CCS is not writable for some odd reason.