[ https://issues.apache.org/jira/browse/CB-5218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814340#comment-13814340 ]
Braden Shepherdson commented on CB-5218: ---------------------------------------- Which file is this? $PROJECT/.cordova/config.json? $HOME/.cordova/config.json? I don't really understand what this bug is asking for. I'm beginning to wonder, given the frequency with which "I copied the project between machines and it's no longer working" bugs are turning up, if we shouldn't build a "cordova squash" and "cordova expand" or whatever that can bundle up an app, with the necessary metadata to re-create it captured in some special file by the tools, which the expanding side can read and use to install the right versions of the various platforms and plugins. > 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)