Starting Eclipse w/ Specific Workspace

前端 未结 8 2353
情歌与酒
情歌与酒 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条回答
  •  Happy的楠姐
    2020-12-07 14:22

    From http://help.eclipse.org/help21/topic/org.eclipse.platform.doc.user/tasks/running_eclipse.htm:

    Use the following command-line argument:

    -data your_workspace_location
    

    For example,

    -data c:\users\robert\myworkspace
    

    you can also use UNIX-style relative path names such as

    -data ../workspace
    

    even under Windows, in case something doesnt like colons or backslashes in parameters, like Jumplist Launcher

提交回复
热议问题