How to force Eclipse to ask for default workspace?

后端 未结 19 1898
夕颜
夕颜 2020-12-02 10:08

I noticed that after installing cdt, Eclipse always loads the default workspace. The workspace listed in the config.ini in osgi.instance.area.default

19条回答
  •  佛祖请我去吃肉
    2020-12-02 10:59

    I had the same problem on my eclipse, and calling eclipse -clean did not solve the problem.

    In the end I figured out that within the installation folder of eclipse there is a script called eclipse. This script does some setting of environment variables and then calls eclipse.bin. The call for eclipse.bin contained the command line switch

    -data ~/.eclipse
    

    When I removed that switch from start-up script, I got the workspace selection as expected. Maybe that helps others to solve their problems.

提交回复
热议问题