[
https://issues.jboss.org/browse/JBIDE-17933?page=com.atlassian.jira.plugi...
]
Nick Boldt updated JBIDE-17933:
-------------------------------
Attachment: cordovasim-running.png
config.xml.png
pick-a-plugin.png
download-cordova.png
new-hmt-project.png
update-jboss-hmt-cordovasim-to-CR1.png
install-jboss-hmt-cordovasim-beta2.png
Here's what I tried:
1. Install eclipse-standard-luna-R-linux-gtk-x86_64.tar.gz on Fedora 18 with Oracle JDK
1.8
{code}
$➔ uname -a; java -version
Linux thunk 3.11.10-100.fc18.x86_64 #1 SMP Mon Dec 2 20:28:38 UTC 2013 x86_64 x86_64
x86_64 GNU/Linux
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
{code}
2. Help > Eclipse Marketplace > jBoss Tools Luna (4.2.0 beta)
3. Jboss Central > Software/Update > jBoss Hybrid Mobile tools + CordovaSim >
restart when prompted
!install-jboss-hmt-cordovasim-beta2.png!
4. Window > Prefs > Install/Update > Avail Software Sites > Add >
http://download.jboss.org/jbosstools/updates/nightly/core/master > OK
5. Help > Check for updates > install everything > restart when prompted
!update-jboss-hmt-cordovasim-to-CR1.png!
6. File > New > Project > Hybrid Mobile...
!new-hmt-project.png!
!download-cordova.png!
!pick-a-plugin.png!
!config.xml.png!
7. Right-click the new project folder in Package Explorer > Run As > Run With
CordovaSim
!cordovasim-running.png!
Maybe the problem you experienced was a bug in Beta2, which is fixed in CR1 (on the
nightly site) ?
CordovaSim 404 error
--------------------
Key: JBIDE-17933
URL:
https://issues.jboss.org/browse/JBIDE-17933
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: browsersim
Affects Versions: 4.2.0.Beta2
Environment: Mac OSx 10.9.4, Eclipse Luna (4.4.0), Jboss Tools for Luna
(4.2.0.Beta2), with Jboss Hybrid Mobile Tools + CordovaSim.
Reporter: Asif Kilwani
Assignee: Ilya Buziuk
Attachments: config.xml.png, cordovasim-running.png, download-cordova.png,
error.png, install-jboss-hmt-cordovasim-beta2.png, new-hmt-project.png, pick-a-plugin.png,
update-jboss-hmt-cordovasim-to-CR1.png, us.png
Created sample hybrid mobile app and tried to run with CordovSim, It shows error
HTTP ERROR: 404
Problem accessing /ripple/assets/index.html. Reason:
Not Found
Config.xml
<?xml version="1.0" encoding="UTF-8"?>
<widget
xmlns="http://www.w3.org/ns/widgets"
xmlns:gap="http://phonegap.com/ns/1.0"
id="com.bac.bac" version="1.0.0">
<name>abc</name>
<description>
A sample Apache Cordova application that responds to the
deviceready
event.
</description>
<author
href="http://aerogear.org/"
email="aerogear-dev(a)lists.jboss.org">
JBoss by Red Hat
</author>
<content src="index.html" />
<access origin="*" />
<preference name="fullscreen" value="true" />
<preference name="webviewbounce" value="true" />
<feature name="App">
<param name="android-package" value="org.apache.cordova.App"
/>
</feature>
<feature name="Console">
<param name="ios-package" value="CDVLogger" />
</feature>
</widget>
Index.html exisits in www folder.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)