[ 
https://issues.apache.org/jira/browse/CB-5218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814928#comment-13814928
 ] 

Gorkem ERCAN commented on CB-5218:
----------------------------------

It is the one that travels with the project ie $PROJECT/.cordova/config.json

This is basically the first step in treating platforms folder as a build 
artifact. I think with this information CLI can just recreate all the platforms.

I have opened up this one separate from a larger expand/squash request because 
JBoss tools is already able to do those and needs a common place to capture 
metadata.

> config.json should also carry the the engine information
> --------------------------------------------------------
>
>                 Key: CB-5218
>                 URL: https://issues.apache.org/jira/browse/CB-5218
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: CLI
>    Affects Versions: 3.1.0
>            Reporter: Gorkem ERCAN
>
> CLI should add the engine information that it has used to create a project. 
> This would allow us to share Cordova CLI projects without the platforms 
> directory and CLI to regenerate them
> Also it would help IDEs and tools work with CLI generated proects. 
> As a note phonegap build adds a lib[1] object with version and uri to the 
> fetch the engine. Although the approach is correct the information on the 
> Cordova version should allow git URIs in addition to packaged ones.
> [1] 
> {"lib":{"www":{"id":"phonegap","version":"3.0.0","uri":"https://github.com/phonegap/phonegap-app-hello-world/archive/3.0.0.tar.gz"}},"id":"AAA","name":"HelloWorld"}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to