Add new web browser

I wonder if it is possible to add Chromium (Chrome is already preconfigured) to the list of web browsers for debugging Flex applications somewhere? Maybe a hidden properties file with file path/label/icon?

Thanks and regards,
Peter

3 comments
Comment actions Permalink

Try a hacky way: selec 'launch with Flash Player' and specify path to Chromium executable ot to the script that accepts swf (or html wrapper) path as 1st argument and launches Chromium.

0
Comment actions Permalink

I tried the hack ("/Applications/Adobe/Adobe Flash CS6/Players/Debug/Flash Player Debugger.app" <path-to-html-wrapper | path-to-swf>, but it does not seem to work:

"/Applications/Adobe/Adobe Flash CS6/Players/Debug/Flash Player Debugger.app" /Volumes/BizSphere/flex/bizsphere-salesweb/webapp/target/bizsphere-salesweb/App.swf

Error message:

Can't open /Volumes/BizSphere/flex/bizsphere-salesweb/app/../webapp/target/bizsphere-salesweb/App.swf
with "/Applications/Adobe/Adobe Flash CS6/Players/Debug/Flash Player Debugger.app" /Volumes/BizSphere/flex/bizsphere-salesweb/webapp/target/bizsphere-salesweb/App.swf
Error: Cannot run program ""/Applications/Adobe/Adobe Flash CS6/Players/Debug/Flash Player Debugger.app" /Volumes/BizSphere/flex/bizsphere-salesweb/webapp/target/bizsphere-salesweb/App.swf": error=2, No such file or directory



Since Chrome and Chromium are compatible I just changed the Chrome.app application path to Chromium.app in the "Web Browsers" settings - and it works fine. It would still be nice if Chromium were included in the browser list in future Leda EAPs.

Thanks and Regards,
Peter
0
Comment actions Permalink
Error: Cannot run program ".../Flash Player Debugger.app"

Executable is ".../Flash Player Debugger.app/Contents/MacOS/Flash Player Debugger".

Also note that if you set path to the script as a path to Flash Player (when 'launch with Flash Player' selected in run configuration) you shouldn't hardcode path to swf or html inside the script. Correct path is provided as the 1st argument when the script is invoked - so just propagate it to the actual executable.

0

Please sign in to leave a comment.