cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Grebnov (JIRA)" <>
Subject [jira] [Created] (CB-9815) Engine name="cordova" should test tools version, not platform
Date Fri, 16 Oct 2015 12:37:05 GMT
Sergey Grebnov created CB-9815:

             Summary: Engine name="cordova" should test tools version, not platform
                 Key: CB-9815
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
            Reporter: Sergey Grebnov
            Assignee: Sergey Grebnov

If I use the following engine tag inside some of my plugins 
<engine name="cordova" version=">=4.3.0" />
I see that the tools compares version w/ platforms versions when installing plugins, not the
tools version.

This is due to the following implementation. We should update implementation similar to cordova-plugman
and threat cordova version as tools version not platforms.

module.exports = function(project_dir){
    return {
            { 'platform':'*', 'scriptSrc': path.join(project_dir,'cordova','version') },
            { 'platform':'*', 'currentVersion': require('../../../package.json').version },
            { 'platform':'android', 'scriptSrc': path.join(project_dir,'cordova','version')

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message