title: Is there a way to add Google Chrome as an external web browser in Flash Builder Standalone for Mac?
body: <p>It currently seems impossible to add Google Chrome as an external web browser in Flash Builder Standalone for Mac. In this context, Eclipse only cares about "Unix executables" and not .app files. </p>
  
  <p>For example, the path to Firefox on a Mac is: <strong>/Applications/Firefox.app/Contents/MacOS/firefox-bin</strong> 
  which is only found by right-clicking and choosing 'Show Package Contents' on Firefox.app in your Applications directory.</p>
  
  <p>If you try to add Google Chrome as a new external web browser, you'll have to repeat this process to navigate to <strong>/Applications/Google Chrome.app/Contents/MacOS</strong> where the 'Google Chrome' Unix exxecutable resides. </p>
  
  <p>The problem is that space in the name. If you attempt to click OK in Eclipse, you'll get an error preventing you from continuing:</p>
  
  <blockquote>
    <p>The location value is not a valid path
    name</p>
  </blockquote>
  
  <p>Are there any workarounds for this so I can use Chrome as my development browser only? I did some searching and all I could come up with was this:</p>
  
  <p><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=297273" rel="noreferrer">https://bugs.eclipse.org/bugs/show_bug.cgi?id=297273</a></p>
  
  <p><strong>UPDATE</strong>: A kind and savvy Flash Builder engineer gave me a helpful tip. Note that you'll need to show hidden files in Mac, by opening Terminal and entering the following command:</p>
  
  <pre><code>defaults write com.apple.finder AppleShowAllFiles TRUE
  killall Finder
  </code></pre>
  
  <p>Press Return to relaunch Finder. Once hidden files are shown, "You’ll find what you need in [YOUR WORKSPACE]/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.browser.prefs. 
  There’s a 'browsers' property there that defines XML for defining Eclipse’s web browsers. Add a new  browser location and name and restart Flash Builder."</p>
  
  <p>In this case you'd add: </p>
  
  <pre><code>&lt;external location\="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" name\="Google Chrome"/&gt;\n
  </code></pre>
  
  <p>I can confirm that this works. Hopefully we won't have to resort to this kind of hackery on the next go around.</p>