You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2015/05/13 04:42:53 UTC

[8/9] cordova-app-harness git commit: Use npm-named plugins rather than CPR plugins

Use npm-named plugins rather than CPR plugins


Project: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/commit/f5676e87
Tree: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/tree/f5676e87
Diff: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/diff/f5676e87

Branch: refs/heads/master
Commit: f5676e8715245de311212df86a22b8fc81e25ae1
Parents: e724e18
Author: Andrew Grieve <ag...@chromium.org>
Authored: Wed Apr 29 16:29:21 2015 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Tue May 12 22:22:39 2015 -0400

----------------------------------------------------------------------
 createproject.sh | 56 +++++++++++++++++++++++++--------------------------
 1 file changed, 28 insertions(+), 28 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/f5676e87/createproject.sh
----------------------------------------------------------------------
diff --git a/createproject.sh b/createproject.sh
index b55bbb8..24effbf 100755
--- a/createproject.sh
+++ b/createproject.sh
@@ -134,47 +134,47 @@ set -x
 "$CORDOVA" plugin add\
     "$AH_PATH/UrlRemap" \
     "$AH_PATH/AppHarnessUI" \
-    org.apache.cordova.file \
-    org.apache.cordova.file-transfer \
-    org.apache.cordova.device \
-    org.apache.cordova.network-information \
-    org.chromium.sockets.tcp \
-    org.chromium.sockets.tcpserver \
-    org.chromium.system.network \
-    org.chromium.zip \
+    cordova-plugin-file \
+    cordova-plugin-file-transfer \
+    cordova-plugin-device \
+    cordova-plugin-network-information \
+    cordova-plugin-chrome-apps-sockets-tcp \
+    cordova-plugin-chrome-apps-sockets-tcpserver \
+    cordova-plugin-chrome-apps-system-network \
+    cordova-plugin-zip \
     --link \
     --searchpath="$PLUGIN_SEARCH_PATH" \
     $PLUGIN_REGISTRY_FLAG || exit $?
 
 if [[ "$PLATFORMS" = *android* ]]; then
-    cp plugins/org.apache.cordova.file/src/android/build-extras.gradle platforms/android/build-extras.gradle
+    if [[ -e plugins/cordova-plugin-file/src/android/build-extras.gradle ]]; then
+        cp plugins/cordova-plugin-file/src/android/build-extras.gradle platforms/android/build-extras.gradle
+    fi
 fi
 
 if [[ "$2" = "--allplugins" ]]; then
 "$CORDOVA" plugin add \
-    org.apache.cordova.battery-status \
-    org.apache.cordova.camera \
-    org.apache.cordova.contacts \
-    org.apache.cordova.device-motion \
-    org.apache.cordova.device-orientation \
-    org.apache.cordova.device \
-    org.apache.cordova.dialogs \
-    org.apache.cordova.file-transfer \
-    org.apache.cordova.file \
-    org.apache.cordova.geolocation \
-    org.apache.cordova.globalization \
-    org.apache.cordova.inappbrowser \
-    org.apache.cordova.media \
-    org.apache.cordova.media-capture \
-    org.apache.cordova.splashscreen \
-    org.apache.cordova.statusbar \
-    org.apache.cordova.vibration \
+    cordova-plugin-battery-status \
+    cordova-plugin-camera \
+    cordova-plugin-contacts \
+    cordova-plugin-device-motion \
+    cordova-plugin-device-orientation \
+    cordova-plugin-device \
+    cordova-plugin-dialogs \
+    cordova-plugin-file-transfer \
+    cordova-plugin-file \
+    cordova-plugin-geolocation \
+    cordova-plugin-globalization \
+    cordova-plugin-inappbrowser \
+    cordova-plugin-media \
+    cordova-plugin-media-capture \
+    cordova-plugin-splashscreen \
+    cordova-plugin-statusbar \
+    cordova-plugin-vibration \
     cordova-plugin-whitelist \
     --link \
     --searchpath="$PLUGIN_SEARCH_PATH" \
     $PLUGIN_REGISTRY_FLAG || exit $?
-    # Skipped core plugins:
-    # org.apache.cordova.console
 fi
 
 # To enable barcode scanning:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org