You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2012/11/20 09:57:16 UTC

webworks commit: add package-app target to top-level build.xml

Updated Branches:
  refs/heads/master 9c1edccf6 -> 4506e7d48


add package-app target to top-level build.xml


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/4506e7d4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/tree/4506e7d4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/diff/4506e7d4

Branch: refs/heads/master
Commit: 4506e7d48071213653771007970bb86276c2d9d9
Parents: 9c1edcc
Author: Fil Maj <ma...@gmail.com>
Authored: Tue Nov 20 00:57:11 2012 -0800
Committer: Fil Maj <ma...@gmail.com>
Committed: Tue Nov 20 00:57:11 2012 -0800

----------------------------------------------------------------------
 bin/templates/project/build.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/4506e7d4/bin/templates/project/build.xml
----------------------------------------------------------------------
diff --git a/bin/templates/project/build.xml b/bin/templates/project/build.xml
index 610929b..d1fb939 100644
--- a/bin/templates/project/build.xml
+++ b/bin/templates/project/build.xml
@@ -87,6 +87,12 @@
         </subant>
     </target>
     
+    <target name="package-app">
+        <subant target="package-app">
+            <fileset dir="." includes="${subant.file}"/>
+        </subant>
+    </target>
+    
     <target name="clean-simulator">
         <subant target="clean-simulator">
             <fileset dir="." includes="${subant.file}"/>
@@ -126,6 +132,9 @@ COMMANDS
   build ............. Compiles and packages the project for deployment.
                         ant TARGET build
 
+  package-app ....... Packages the app into a WebWorks-compatible .zip file.
+                        ant TARGET package-app
+
   clean ............. Remove all files from the build/ directory.
                         ant TARGET clean