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/01/03 21:22:58 UTC
[7/28] git commit: Force phonegap.js concat dependencies.
Force phonegap.js concat dependencies.
- Modify concat of phonegap.js to add dependencies first.
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/640483c0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/tree/640483c0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/diff/640483c0
Branch: refs/heads/master
Commit: 640483c0b469760195430823a1cd88ff09ef0af6
Parents: f8ae5ef
Author: Drew Walters <de...@gmail.com>
Authored: Wed Dec 14 06:14:19 2011 +0800
Committer: Drew Walters <de...@gmail.com>
Committed: Wed Dec 14 06:16:23 2011 +0800
----------------------------------------------------------------------
build.xml | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/640483c0/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index c499b1f..0dd8545 100644
--- a/build.xml
+++ b/build.xml
@@ -44,14 +44,13 @@
<!-- BB Javascript -->
<concat destfile="${build.dir}/${js.file}" append="false">
- <fileset dir="${js.src}">
+ <filelist dir="${js.src}" files="_phonegap.js,webWorksPluginManager.js,console.js" />
+ <fileset dir="${js.src}/blackberry" includes="*.js"/>
+ <filelist dir="${js.src}" files="device.js,file.js" />
+ <fileset dir="${js.src}" excludes="_phonegap.js,webWorksPluginManager.js,console.js,device.js,file.js">
<include name="*.js" />
</fileset>
</concat>
- <concat destfile="${build.dir}/${js.file}" append="true">
- <fileset dir="${js.src}/blackberry" includes="*.js"/>
- </concat>
-
<!-- PB Javascript -->
<mkdir dir="${build.dir}/${playbook.js.path}" />
<concat destfile="${build.dir}/${playbook.js.path}/${js.basename}" append="false">