GitHub user mardy opened a pull request:
https://github.com/apache/cordova-ubuntu/pull/15
build: fix mechanism for additional dependencies
Instead of expecting plugins to store their configuration files in
a "configs/" directory, read the dependencies from the config.xml file.
The reason why the old method does not work is that the ``
element of the `plugin.xml` file doesn't support a "target-dir" attribute.
By using the `` element, instead, we don't need to do any
changes to cordova lib, and all the plugin configuration can now be
stored in the `plugin.xml` file.
Example:
```xml
["signond", "libsignon-qt5"]
["signond-dev:ARCH", "libsignon-qt5-dev:ARCH"]
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cordova-ubuntu/cordova-ubuntu 5.3.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-ubuntu/pull/15.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 #15
commit d3a674f2a07ab269bfb2e2acaa60dc2ab25c4d50
Author: Alberto Mardegan
Date: 2015-10-08T06:36:31Z
build: fix mechanism for additional dependencies
Instead of expecting plugins to store their configuration files in
a "configs/" directory, read the dependencies from the config.xml file.
The reason why the old method does not work is that the
element of the plugin.xml file doesn't support a "target-dir" attribute.
By using the element, instead, we don't need to do any
changes to cordova lib, and all the plugin configuration can now be
stored in the plugin.xml file.
Example:
["signond", "libsignon-qt5"]
["signond-dev:ARCH", "libsignon-qt5-dev:ARCH"]
---
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