/[projects]/android/TrainInfoServiceGoogle/build.xml
ViewVC logotype

Contents of /android/TrainInfoServiceGoogle/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1089 - (show annotations) (download) (as text)
Tue Sep 21 07:41:42 2010 UTC (13 years, 7 months ago) by torben
File MIME type: text/xml
File size: 3061 byte(s)
also use external CircuitBreaker lib for build
1 <project name="Guestbook" default="datanucleusenhance">
2 <property name="sdk.dir" location="/home/torben/inst/appengine-java-sdk-1.3.7/" />
3
4 <import file="${sdk.dir}/config/user/ant-macros.xml" />
5
6 <path id="project.classpath">
7 <pathelement path="war/WEB-INF/classes" />
8 <fileset dir="war/WEB-INF/lib">
9 <include name="**/*.jar" />
10 </fileset>
11 <fileset dir="${sdk.dir}/lib">
12 <include name="shared/**/*.jar" />
13 </fileset>
14 </path>
15
16 <target name="copyjars"
17 description="Copies the App Engine JARs to the WAR.">
18 <copy
19 todir="war/WEB-INF/lib"
20 flatten="true">
21 <fileset dir="${sdk.dir}/lib/user">
22 <include name="**/*.jar" />
23 </fileset>
24 </copy>
25 </target>
26
27 <target name="libs">
28 <echo message="--CircuitBreaker--" />
29 <ant dir="../CircuitBreaker/" antfile="../CircuitBreaker/build.xml" inheritAll="false" />
30 <echo message="--CircuitBreaker END--" />
31 <copy file="../CircuitBreaker/CircuitBreaker.jar" todir="war/WEB-INF/lib" />
32
33
34 <echo message="--TrainInfoCommon--" />
35 <ant dir="../TrainInfoCommon/" antfile="../TrainInfoCommon/build.xml" inheritAll="false" />
36 <echo message="--TrainInfoCommon END--" />
37 <copy todir="war/WEB-INF/lib">
38 <fileset dir="../TrainInfoCommon">
39 <include name="*.jar"/>
40 </fileset>
41 </copy>
42 </target>
43
44
45 <target name="compile" depends="copyjars,libs"
46 description="Compiles Java source and copies other source files to the WAR.">
47 <mkdir dir="war/WEB-INF/classes" />
48 <copy todir="war/WEB-INF/classes">
49 <fileset dir="src">
50 <exclude name="**/*.java" />
51 </fileset>
52 </copy>
53 <javac
54 srcdir="src"
55 destdir="war/WEB-INF/classes"
56 classpathref="project.classpath"
57 debug="on" />
58 </target>
59
60 <target name="datanucleusenhance" depends="compile"
61 description="Performs JDO enhancement on compiled data classes.">
62 <enhance_war war="war" />
63 </target>
64
65 <target name="runserver" depends="datanucleusenhance"
66 description="Starts the development server.">
67 <dev_appserver war="war" />
68 </target>
69
70 <target name="update" depends="datanucleusenhance"
71 description="Uploads the application to App Engine.">
72 <appcfg action="update" war="war" />
73 </target>
74
75 <target name="update_indexes" depends="datanucleusenhance"
76 description="Uploads just the datastore index configuration to App Engine.">
77 <appcfg action="update_indexes" war="war" />
78 </target>
79
80 <target name="rollback" depends="datanucleusenhance"
81 description="Rolls back an interrupted application update.">
82 <appcfg action="rollback" war="war" />
83 </target>
84
85 <target name="request_logs"
86 description="Downloads log data from App Engine for the application.">
87 <appcfg action="request_logs" war="war">
88 <options>
89 <arg value="--num_days=5"/>
90 </options>
91 <args>
92 <arg value="logs.txt"/>
93 </args>
94 </appcfg>
95 </target>
96
97 </project>

  ViewVC Help
Powered by ViewVC 1.1.20