cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Braden Shepherdson (JIRA)" <>
Subject [jira] [Commented] (CB-5218) config.json should also carry the the engine information
Date Tue, 05 Nov 2013 22:32:19 GMT


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:
>             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
> 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":""}},"id":"AAA","name":"HelloWorld"}

This message was sent by Atlassian JIRA

View raw message