blueberryfields
blueberryfields

Reputation: 50328

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.

Upvotes: 0

Views: 1100

Answers (1)

jwd
jwd

Reputation: 11114

Does this similar SO post help you?

Running external tools in Eclipse on Mac OS X

Upvotes: 1

Related Questions