To run BrowserSim from eclipse you need:
1. import org.jboss.tools.vpe.browsersim and
org.jboss.tools.vpe.browsersim.browser plugins into workspace.
2. Run BrowserSim.java as java application (with -XstartOnFirstThread and
-d32)
FireBug Lite demo
fork: yradtsevich/jbosstools-vpe branch:firebug-lite
Weinre demo
fork: kmarmaliykov/jbosstools-vpe branch: JBIDE-13338
Ripple demo
How to setup ripple:
1. fork: ibuziuk/jbosstools-vpe branch:Ripple-demo
2. install tomcat 7
3. download Ripple-UI project:
https://dl.dropbox.com/u/19656504/Ripple-UI.zip
4. unzip this archive to Tomcat's webapps ->
(apache-tomcat-7.0.x/webapps/Ripple-UI/www/index.htm)
5. start tomcat
6. run browsersim -> right click -> Ripple emulator (bug
under mac os and windows: 2 instances of browsersim will be opened - close
them) -> choose Apache Cordova 2.0.0 (the same bug) -> Ripple emulator will
be opened
7. input
"http://localhost:8080/Ripple-UI/www/accelerometer.html" or
"http://localhost:8080/Ripple-UI/www/geolocation.html" into the address bar
P.S These versions are rather buggy but most features work under windows,
mac os x, linux