cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [2/6] docs commit: CB-6344 CB-6698 `after` for `<config-changes>`, `<framework>` for Android
Date Fri, 27 Jun 2014 15:33:06 GMT
CB-6344 CB-6698 `after` for `<config-changes>`, `<framework>` for Android

close #210


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/900c43ef
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/900c43ef
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/900c43ef

Branch: refs/heads/master
Commit: 900c43ef42a3d793ef314ff3910a67f9296df0c0
Parents: d0a51e1
Author: Martin Bektchiev <martin.bektchiev@telerik.com>
Authored: Wed Jun 4 18:22:03 2014 +0300
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Fri Jun 27 11:30:55 2014 -0400

----------------------------------------------------------------------
 docs/en/edge/plugin_ref/spec.md | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/900c43ef/docs/en/edge/plugin_ref/spec.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/plugin_ref/spec.md b/docs/en/edge/plugin_ref/spec.md
index 3c5eab5..0885cbd 100644
--- a/docs/en/edge/plugin_ref/spec.md
+++ b/docs/en/edge/plugin_ref/spec.md
@@ -452,6 +452,8 @@ It supports the following attributes:
   document, the tool stops and reverses the installation process,
   issues a warning, and exits with a non-zero code.
 
+* `after`: A prioritized list of accepted siblings after which to add the XML snippet. Useful
for specifying changes in files which require strict ordering of XML elements like [http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769509%28v=vs.105%29.aspx#BKMK_EXTENSIONSelement](http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769509%28v=vs.105%29.aspx#BKMK_EXTENSIONSelement)
+
 ## _plugins-plist_ Element
 
 This is _outdated_ as it only applies to cordova-ios 2.2.0 and
@@ -521,10 +523,17 @@ platform.
 The optional `weak` attribute is a boolean indicating whether the
 framework should be weakly linked. The default is `false`.
 
-The optional `custom` attribute is a boolean indicating whether the framework is one that
is included as part of your plugin files (thus it is not a system framework). The default
is `false`.
+The optional `custom` attribute is a boolean indicating whether the framework is one that
is included as part of your plugin files (thus it is not a system framework). The default
is `false`.  ***On Android*** it specifies how to treat **src**. If `true` **src** is a relative
path from the application project's directory, otherwise -- from the Android SDK directory.
 
 The optional `type` attribute is a string indicating the type of framework to add. Currently
only `projectReference` is supported and only on Windows 8.  Using `custom='true'` and `type='projectReference'`
will add a reference to the project which will be added to the compile+link steps of the cordova
project.  This essentially is the only way currently that a 'custom' framework can target
multiple architectures as they are explicitly built as a dependency by the referencing cordova
application.
 
+The optional `parent` attribute is currently supported only on Android. It sets the relative
path to the directory containing the sub-project to which to add the reference. The default
is `.`, i.e. the application project. It allows to add references between sub projects like
in this example:
+	
+	<source-file src="src/android/FeedbackLib" target-dir="./" />
+	
+	<framework src="FeedbackLib" custom="true" />
+	<framework src="extras/android/support/v7/appcompat" custom="false" parent="FeedbackLib"
/>
+
 ## _info_ Element
 
 Additional information provided to users. This is useful when you


Mime
View raw message