-
Enhancement
-
Resolution: Done
-
Major
-
4.1.1.Final
-
None
-
Documentation (Ref Guide, User Guide, etc.)
Currently the Hybrid Mobile project structure is very nearly similar to the project structure created by the Cordova CLI. It simply lacks the platforms and merges sub-directories.
When attempting to use the Cordova CLI, the platforms directory needs to be created at the very least, followed by execution of the cordova platform add android or cordova platform add ios CLI commands. This eventually sets up the native SDK projects that can be built with ADT or XCode.
We should attempt to create a platforms sub-dir so that the hybrid mobile project is compatible with Cordova CLI. Additionally, if possible (due to the presence of a nested ADT sub-project), we should try and use the platforms directory as the default export location of the created native projects. This would ensure that exporting of the project in Eclipse is more or less equivalent to the cordova platform add android + cordova prepare android or cordova platform add ios + cordova prepare ios group of commands that create the native SDK projects and update their contents.