cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [1/2] git commit: CB-7420 Windows. Plugin <resource-file>s are removed from platform during prepare
Date Wed, 03 Sep 2014 01:40:33 GMT
Repository: cordova-lib
Updated Branches:
  refs/heads/master c8d6abdf2 -> 165863134


CB-7420 Windows. Plugin <resource-file>s are removed from platform during prepare


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/6e532116
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/6e532116
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/6e532116

Branch: refs/heads/master
Commit: 6e532116589939664fb9f063a5b15977a6c4eb99
Parents: 2ac042e
Author: sgrebnov <v-segreb@microsoft.com>
Authored: Thu Aug 28 16:23:42 2014 +0400
Committer: sgrebnov <v-segreb@microsoft.com>
Committed: Thu Aug 28 16:23:42 2014 +0400

----------------------------------------------------------------------
 cordova-lib/src/plugman/platforms/windows.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/6e532116/cordova-lib/src/plugman/platforms/windows.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/plugman/platforms/windows.js b/cordova-lib/src/plugman/platforms/windows.js
index dc5089f..347e6a3 100644
--- a/cordova-lib/src/plugman/platforms/windows.js
+++ b/cordova-lib/src/plugman/platforms/windows.js
@@ -61,14 +61,14 @@ module.exports = {
     'source-file': {
         install:function(source_el, plugin_dir, project_dir, plugin_id, project_file) {
             var targetDir = source_el.attrib['target-dir'] || '';
-            var dest = path.join('www', 'plugins', plugin_id, targetDir, path.basename(source_el.attrib['src']));
+            var dest = path.join('plugins', plugin_id, targetDir, path.basename(source_el.attrib['src']));
 
             common.copyNewFile(plugin_dir, source_el.attrib['src'], project_dir, dest);
             // add reference to this file to jsproj.
             project_file.addSourceFile(dest);
         },
         uninstall:function(source_el, project_dir, plugin_id, project_file) {
-            var dest = path.join('www', 'plugins', plugin_id,
+            var dest = path.join('plugins', plugin_id,
                                  source_el.attrib['target-dir'] || '',
                                  path.basename(source_el.attrib['src']));
             common.removeFile(project_dir, dest);


Mime
View raw message