This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
1. Install the Cordova plugin 2. Create a HTML5 application project; choose the Cordova Project template Problem 1: While doing this, you will get exception - see bug Problem 2: The created project does not contain Cordova content, it's just a simple index.html Problem 3: In project properties there is PhoneGap category, but it's empty Problem 4: In the project's run configuration (or in the toolbar config combo box) there is no way to specify a mobile emulator or device for running. Problem 5: Build action on the project does nothing
re Problem 1: should say see bug 217552
The main problem is, that you didn't setup mobile platforms (in Tools | Options). This setup was requested also in wizard, but the SPI was removed -> so the wizard just fails an user don't have idea why. I filed an API request for it. See issue 217632
And also project structure is different so files are copied into wrong subfolders
> that you didn't setup mobile platforms (in Tools | Options). Of course, you are right! > so files are copied into wrong subfolders Yes, looks like the Cordova support uses Project Root instead of Site Root for many things. So disregard problems 1-5 above, they are not really valid - I was able to deploy the app to an android device. However, when building for iPhone Simulator, I am getting bug 217650. I have Xcode 4.4.1. The simulator is installed under /Applications/Xcode.app/Contents/Applications/iPhone Simulator.app.
236427:f8310bc15a21
Integrated into 'main-golden', will be available in build *201210191216* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f8310bc15a21 User: Jan Becicka <jbecicka@netbeans.org> Log: #217553 - Basic Cordova workflow is broken #217552 - IllegalArgumentException: Parameter file was not normalized. Was null/lib/android/example/assets/www instead of /private/var/folders/7s/z748n8391216ckv5tk6nb7_w0000gn/T/null/lib/android/example/assets #219295 - UnsupportedOperationException: Not supported yet.