[
https://issues.jboss.org/browse/JBIDE-16659?page=com.atlassian.jira.plugi...
]
Vineet Reynolds commented on JBIDE-16659:
-----------------------------------------
I agree with what you've said in principle - having the generated ADT/XCode projects
in the platforms subdirectory makes it somewhat redundant, but the underlying rationale
for this request was not so clear. It was to support deployment of HMT projects in a CI
build; Cordova CLI is an easy and known way to make these deployments. We might able to
get rid of the requirement on the 'platforms' sub-directory if this location is
customizable, but it does not appear to be currently:
https://github.com/apache/cordova-cli/blob/master/src/platform.js#L243.
Also, if it can be done via other means from the command-line (and hence also from a CI
server job), we might be able to offer an alternative. I'll defer to [~kpiwko] to
emphasize whether we should/must support Cordova CLI for CI jobs, or whether an
alternative could be found. I suspect it's going to be the former.
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