incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tim...@apache.org
Subject [2/2] webworks commit: [CB-1019] - invalid name in config file when using ant dist
Date Mon, 09 Jul 2012 23:04:53 GMT
[CB-1019] - invalid name in config file when using ant dist


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

Branch: refs/heads/master
Commit: b94108c8374289fabfc50470146da544e3dbf1e8
Parents: 358f601
Author: Tim Kim <tim.kim@nitobi.com>
Authored: Mon Jul 9 15:13:29 2012 -0700
Committer: Tim Kim <tim.kim@nitobi.com>
Committed: Mon Jul 9 15:13:29 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/b94108c8/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index be849fc..54b3e13 100644
--- a/build.xml
+++ b/build.xml
@@ -175,6 +175,10 @@ Getting Started:
         <copy todir="${dist.www.path}">
             <fileset file="${template.project.dir}/www/plugins.xml" />
         </copy>
+
+        <!-- update config.xml to have a default name-->
+        <replace file="${dist.www.path}/config.xml" token="__NAME__" value="cordovaExample"/>
+        <replace file="${dist.project.path}/www/config.xml" token="__NAME__" value="cordovaExample"/>
       
         
         <echo>
 Distribution Complete!


Mime
View raw message