Created
November 19, 2011 21:11
-
-
Save enru/1379364 to your computer and use it in GitHub Desktop.
copies files & sets up phonegap in a new android app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <project name="PhoneGapCopy" default="init" basedir="."> | |
| <description> | |
| sets up phonegap in a new android app | |
| usage: ant -f phonegapcopy.xml -DPHONEGAP_HOME=/home/enru/phonegap-9f0856d | |
| </description> | |
| <property name="PHONEGAP_HOME" value=""/> | |
| <target name="init"> | |
| <copy todir="./libs/"> | |
| <fileset dir="${PHONEGAP_HOME}/Android/"> | |
| <include name="phonegap-*.jar"/> | |
| </fileset> | |
| </copy> | |
| <copy todir="./assets/www/"> | |
| <fileset dir="${PHONEGAP_HOME}/Android/"> | |
| <include name="phonegap-*.js"/> | |
| </fileset> | |
| </copy> | |
| <copy todir="./res/xml/"> | |
| <fileset dir="${PHONEGAP_HOME}/Android/xml"> | |
| <include name="*.xml"/> | |
| </fileset> | |
| </copy> | |
| </target> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment