You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tim Kim (JIRA)" <ji...@apache.org> on 2013/09/18 23:27:52 UTC

[jira] [Created] (CB-4872) Create os/sdk version scripts for engine tag

Tim Kim created CB-4872:
---------------------------

             Summary: Create os/sdk version scripts for engine tag
                 Key: CB-4872
                 URL: https://issues.apache.org/jira/browse/CB-4872
             Project: Apache Cordova
          Issue Type: New Feature
          Components: Android, BlackBerry, iOS, Plugman, Windows 8, WP7, WP8
    Affects Versions: 3.0.0
            Reporter: Tim Kim
            Assignee: Tim Kim
            Priority: Minor
             Fix For: 3.2.0


The engine tag is now able to check any of Cordova components's version so it's time to implement the OS/SDK version scripts. This will allow plugin authors to specify what version of OS/SDK is needed using the <engine> tag in the plugin.xml.

eg,
<engines> 
  <engine name="apple-xcode" version=">=4.6.3"/>
  <engine name="apple-ios-sdk" version=">=6.1"/>
  <engine name="android-sdk" version=">=17"/>
</engines>

These scripts will be listed in the default engines within Plugman so that a user may easily reference them in the engine tag without having to provide a location/platform attribute in the engine tag:
https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;a=blob;f=src/util/default-engines.js;h=4fd4a657b9cf6b494fece8b914c7c1ea511e3ca6;hb=1fa97a4161410f411e115362c293d88180319d9d

Related to this ticket: https://issues.apache.org/jira/browse/CB-4036





--
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