[
https://issues.jboss.org/browse/JBIDE-16659?page=com.atlassian.jira.plugi...
]
Gorkem Ercan commented on JBIDE-16659:
--------------------------------------
We used to create the platforms directory. I have removed it later because it just created
an empty directory that was never used. platforms directory on the CLI is not a great idea
for the CLI itself because it is basically hosting generated stuff the dependence to its
existence is actually making it hard for CLI to share projects or easily update them to
new versions.
I agree with the sub directories of the merges for supported platforms.
Create 'platforms' and 'merges' sub-directories in
the Hybrid Mobile project structure
--------------------------------------------------------------------------------------
Key: JBIDE-16659
URL:
https://issues.jboss.org/browse/JBIDE-16659
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: aerogear-hybrid
Affects Versions: 4.1.1.Final
Reporter: Vineet Reynolds
Fix For: 4.2.x
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira