Add .gitignore

ignore .project file 

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
stop using namespace aware parsing

Many of the cordova plugins do not properly register namespaces on the
plugin.xml which causes failures if parser is namespace aware. This
removes the namespace aware from the plugin.xml parser. As a consequence
we can no longer use XPath to find nodes and this makes a change on how
we retrieve named nodes. 

Also adds several tests for the changes
Thym feature to allow updates of JBoss ones

adds a p2.inf file so that thym feature can udpate the old feature from
JBoss Tools.

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
Update incorrect manifest entries

updates to the manifest files to pickup values from plugin.properties
and a type fix.

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
Introduce platforms.json

Introduces a new file platforms.json that captures the cordova engine
versions and the platform libraries that are included with them along
with their download locations. DownloadableCordovaEngine is the model
object for carrying this information and EngineDownloadDialog now uses
this object to list and start a download.

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
Use platforms.json for version mapping

Starts to use the platforms.json file to map library versions to engine
versions. Changes PlatformLibrary to avoid duplicates on a
HybridMobileEngine. Fixes the DownloadableCordovaEngine so the library
version number is used instead of the engine version. 

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
Bug 440246: Code cleanup

Fixes some issues reported by FindBugs.

Signed-off-by: Mickael Istria <mistria@redhat.com>
Decouple cordova repository operations

Decouples the repository operations such as determining downloadable
engines. Fixes an issue with the HttpUtil. Adds
DefaultEngineRepoProvider which querries a json file for an updated list
of Cordova engines and falls back to local copy if not found.

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
Correct the json url

correct typo on json url

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
[BUG 440876] Make plugins folder optional

If a project does not have a plugins folder, now the
CordovaPluginManager will not complain about it. Also it will create a
plugins folder when installing the first plugin if it is missing.

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
[bug 441029] - Cannot leave 'Hybrid Mobile/Android' Preference page

Empty Android SDK location is now considered to be a warning. This
allows preference page to be exited.

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
[bug 440753]  Include source features/bundles in repository

Adds source feature to category.xml

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
Update android 3.5.1

Updates Cordova 3.5.0 definition to include 3.5.1 for android

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
make www the default folder for the project

adds the wwww as the only javascript source folder to the project. This
prevents errors presented for js files on plugins.

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
Merge branch '440246' of github.com:mickaelistria/thym into
mickaelistria-440246

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
Add install plugin menu to project level

Adds the "install Cordova plug-in" menu item to Thym project types in
addition to plugins folder.

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
[441910]-Support for git-ref and sub directory is incomplete for
installing Cordova plug-ins

CordovaPluginManager adds support for git-ref and subdirs that are
passed as part of the URI when installing plugins from git. With this
change the git variant installPlugin no longer needs the commit and
subdir explicitly as parameters. All the users of the API are also
adjusted to this change.

CordovaPluginSelectionPage also adds an info section that gives and
example of how to specify git-ref and subdir on a git url.
Make handler initialization atomic

Changes the way the handlers are initialized to static field so that
static field accessed once during initialization.
Disable git repo plugin install test

Disables the git repo tests to avoid HIPP internet access issues

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
Bug 441013 - Missing scroolbar in Cordova Feature Dialog

Signed-off-by: Daniel Azarov <daniel@exadel.com>