Starting Eclipse w/ Specific Workspace

前端 未结 8 2231
情歌与酒
情歌与酒 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:23

    I wish people would give an actual example, i learn better with examples rather than syntax. so here it goes...

    "C:\MyEclipse Blue Edition\MyEclipse Blue Edition 10\myeclipse-blue.exe" -showlocation -data "C:\EclipseWork\WorkSpace"
    

    this command will open eclipse with the specified workspace. this is a working example.

    0 讨论(0)
  • 2020-12-07 14:24

    With the -data switch

    Setting a specific location for the workspace with -data

    To use the -data command line argument, simply add -data your_workspace_location (for example, -data c:\users\robert\myworkspace) to the Target field in the shortcut properties, or include it explicitly on your command line.

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

    0 讨论(0)
提交回复
热议问题