tags:

views:

59

answers:

1

On linux:

eclipse PathnameToWorkspace

works fine, and launches eclipse on the workspace.

I've never been able to figure out the MacOS moral equivalent, given the MacOS application tree structure.

I suspect this is not a hard problem.

+2  A: 

./eclipse -data <workspace-path> (see also How do I run Eclipse in the Eclipse Wiki).

Fabian Steeg
On MacOS, the 'eclipse' in the root is a symlink which points to 'Eclipse.app/Contents/MacOS/eclipse'. If that symlink doesn't exist, you can create your own or just use that relative path on the command line.
Andrew Niefer