You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2012/04/20 01:24:58 UTC

[11/13] android commit: Automatically update index.html in templates directory on version change

Automatically update index.html in templates directory on version change


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

Branch: refs/heads/CordovaWebView
Commit: f2c38ea0a7dfaa36220d648d1ac93fb06aa84bc2
Parents: 0772a31
Author: macdonst <si...@gmail.com>
Authored: Fri Apr 13 16:36:46 2012 -0400
Committer: macdonst <si...@gmail.com>
Committed: Fri Apr 13 16:36:46 2012 -0400

----------------------------------------------------------------------
 framework/build.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/f2c38ea0/framework/build.xml
----------------------------------------------------------------------
diff --git a/framework/build.xml b/framework/build.xml
index 723ac58..452a8d6 100644
--- a/framework/build.xml
+++ b/framework/build.xml
@@ -122,6 +122,7 @@
       <!-- update project files to reference cordova-x.x.x.min.js -->
       <replaceregexp match="cordova(.*)\.js" replace="cordova-${version}.js" byline="true">
          <fileset file="assets/www/index.html" /> 
+         <fileset file="../bin/templates/project/cordova/templates/project/assets/www/index.html" /> 
       </replaceregexp>
 
       <!-- This is sketchy, but it works, ${dblQuote} does not -->