Is it possible to run Chrome as an external tool on Eclipse 3.6 on Mac OS X?
I'm trying to set up Chrome to run as an external tool in Eclipse on the Mac. I've entered the path to Chrome as the Location variable:
"/Applications/Chrome.app/Contents/MacOS/Google\ Chrome"
I've got some arguments to pass in to Chrome, but that's not so important - I can't开发者_运维技巧 seem to get it started from Eclipse as an External Tool at all. The "Run" button is greyed out, and the configuration doesn't show up on the External Tools run menu once I save it. What am I doing wrong/missing?
UPDATED:
Attempting to use the "open" command ala Running external tools in Eclipse on Mac OS X appears to simply switch to a running instance of Chrome, instead of run chrome with me command line arguments.
I've tried location:
/usr/bin/open
Arguments:
-a "/Applications/Chrome.app" --args "localhost"
and Chrome does not open localhost - instead it simply switches to an existing open window with Chrome in it.
Does this similar SO post help you?
Running external tools in Eclipse on Mac OS X
精彩评论