GitHub user TimBarham opened a pull request:

    https://github.com/apache/cordova-lib/pull/164

    CB-8123 Plugin references can target specific windows platforms.

    Adds support for `target`, `versions` and `arch` attributes on `<lib-file>` 
and `<framework>` elements in the windows platform of plugin.xml. This allows 
plugin authors to target different references to different target platforms.
    
    Also adds support for `src` attribute as an alias for the `Include` 
attribute on the `
    <lib-file>` element (since `src` is documented, but `Include` is used by 
existing plugins).
    
    Adds some tests to cover the new attributes. Updates existing plugin tests 
for windows8 platform to also test windows platform (left in windows8 tests to 
help verify backward compatibility with old windows8 platform).
    
    As part of this change, refactored `jsproj` to `jsprojManager` to reflect 
the fact that, with the windows platform, this class now manages multiple 
jsproj files.
    
    Broken into three commits to separate file renames from changes, so that 
git can successfully track the changes.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-lib CB-8123

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/164.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #164
    
----
commit 94efb46eccbe0438dbede35b90c4c2255dac0b77
Author: Tim Barham <tim.bar...@microsoft.com>
Date:   2015-02-11T00:53:36Z

    CB-8123 Plugin references can target specific windows platforms.
    
    Adds support for `target`, `versions` and `arch` attributes on `<lib-file>` 
and `<framework>` elements in the windows platform of plugin.xml. This allows 
plugin authors to target different references to different target platforms.
    
    Also adds support for `src` attribute as an alias for the `Include` 
attribute on the `
    <lib-file>` element (since `src` is documented, but `Include` is used by 
existing plugins).
    
    Adds some tests to cover the new attributes. Updates existing plugin tests 
for windows8 platform to also test windows platform (left in windows8 tests to 
help verify backward compatibility with old windows8 platform).
    
    As part of this change, refactored `jsproj` to `jsprojManager` to reflect 
the fact that, with the windows platform, this class now manages multiple 
jsproj files.
    
    I will rename some windows8 files and folders to windows, and jsproj.js to 
jsprojManager.js in a subsequent commit.

commit d7a09785bde58d11136653685c08ad148c1ae189
Author: Tim Barham <tim.bar...@microsoft.com>
Date:   2015-02-11T01:11:40Z

    CB-8123 Rename windows platform related files.
    
    Renames `windows8` plugin platform folders in tests to `windows`. Renames 
`jsproj.js` to `jsprojManager.js`.

commit 5b31cecf7677a53279ded52158dd3a6ea57d379c
Author: Tim Barham <tim.bar...@microsoft.com>
Date:   2015-02-11T01:12:53Z

    CB-8123 Rename further windows platform related files.
    
    Renames `windows8.spec.js` to `windows.spec.js`.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to