cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject android commit: CB-4961: shell.js returns the full path on ls, rebuilding the full path isn't really needed
Date Mon, 30 Sep 2013 23:02:36 GMT
Updated Branches:
  refs/heads/3.1.x 5592765f0 -> 133c2dc90


CB-4961: shell.js returns the full path on ls, rebuilding the full path isn't really needed


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/133c2dc9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/133c2dc9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/133c2dc9

Branch: refs/heads/3.1.x
Commit: 133c2dc90252bb725fdd8518614fdcbb4abe2468
Parents: 5592765
Author: Joe Bowser <bowserj@apache.org>
Authored: Mon Sep 30 16:01:42 2013 -0700
Committer: Joe Bowser <bowserj@apache.org>
Committed: Mon Sep 30 16:01:59 2013 -0700

----------------------------------------------------------------------
 bin/lib/create.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/133c2dc9/bin/lib/create.js
----------------------------------------------------------------------
diff --git a/bin/lib/create.js b/bin/lib/create.js
index 9c6e86c..445ede6 100755
--- a/bin/lib/create.js
+++ b/bin/lib/create.js
@@ -69,7 +69,8 @@ function copyJsAndJar(projectPath, version) {
     // Don't fail if there are no old jars.
     setShellFatal(false, function() {
         shell.ls(path.join(projectPath, 'libs', 'cordova-*.jar')).forEach(function(oldJar)
{
-            shell.rm('-f', path.join(projectPath, 'libs', oldJar));
+            console.log("Deleting " + oldJar);
+            shell.rm('-f', path.join(oldJar));
         });
     });
     shell.cp('-f', path.join(ROOT, 'framework', 'cordova-' + version + '.jar'), path.join(projectPath,
'libs', 'cordova-' + version + '.jar'));


Mime
View raw message