Starting Eclipse w/ Specific Workspace

前端 未结 8 2375
情歌与酒
情歌与酒 2020-12-07 13:36

Is there a way to start an instance of eclipse, passing it some sort of parameter telling it to use a specific workspace?

The problem I\'m trying to solve is that I

8条回答
  •  半阙折子戏
    2020-12-07 14:21

    From https://help.eclipse.org/topic/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html

    It is also possible to specify the workspace location using the osgi.instance.area JVM arg as -Dosgi.instance.area=../workspace

    This can be specified in the eclipse.ini file along with existing/other JVM args such as -Xms, -Xmx.

    This option may be convenient for those who just want to append to the eclipse.ini file (which already contains other JVM args) without worrying to ensure that JVM args appear at the end.

提交回复
热议问题