Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 79 lines (68 sloc) 2.31 kb
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
1 <project>
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
2 <property name="sdk.dir" location="${env.APPENGINE_JAVA_SDK}" />
3
4 <import file="${sdk.dir}/config/user/ant-macros.xml" />
5
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
6 <path id="project.classpath">
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
7 <pathelement path="war/WEB-INF/classes" />
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
8 <fileset dir="war/WEB-INF/lib">
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
9 <include name="**/*.jar" />
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
10 </fileset>
11 <fileset dir="${sdk.dir}/lib">
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
12 <include name="shared/**/*.jar" />
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
13 </fileset>
14 </path>
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
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">
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
21 <fileset dir="${sdk.dir}/lib/user">
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
22 <include name="**/*.jar" />
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
23 </fileset>
24 </copy>
25 </target>
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
26
27 <target name="compile" depends="copyjars"
28 description="Compiles Java source and copies other source files to the WAR.">
29 <mkdir dir="war/WEB-INF/classes" />
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
30 <copy todir="war/WEB-INF/classes">
31 <fileset dir="src">
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
32 <exclude name="**/*.java" />
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
33 </fileset>
34 </copy>
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
35 <javac
36 srcdir="src"
37 destdir="war/WEB-INF/classes"
38 classpathref="project.classpath"
39 debug="on" />
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
40 </target>
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
41
42 <target name="datanucleusenhance" depends="compile"
43 description="Performs JDO enhancement on compiled data classes.">
44 <enhance_war war="war" />
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
45 </target>
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
46
47 <target name="runserver" depends="datanucleusenhance"
48 description="Starts the development server.">
49 <dev_appserver war="war" />
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
50 </target>
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
51
52 <target name="update" depends="datanucleusenhance"
53 description="Uploads the application to App Engine.">
54 <appcfg action="update" war="war" />
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
55 </target>
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
56
57 <target name="update_indexes" depends="datanucleusenhance"
58 description="Uploads just the datastore index configuration to App Engine.">
59 <appcfg action="update_indexes" war="war" />
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
60 </target>
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
61
62 <target name="rollback" depends="datanucleusenhance"
63 description="Rolls back an interrupted application update.">
64 <appcfg action="rollback" war="war" />
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
65 </target>
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
66
67 <target name="request_logs"
68 description="Downloads log data from App Engine for the application.">
2162e7a Initial commit of v2 of the Jack servlet
Tom Robinson authored
69 <appcfg action="request_logs" war="war">
70 <options>
71 <arg value="--num_days=5"/>
72 </options>
73 <args>
74 <arg value="logs.txt"/>
75 </args>
76 </appcfg>
77 </target>
9c8af10 Cleanup of servlet. Added deployment Jakefile, jack-servlet-init, etc.
Tom Robinson authored
78
79 </project>
Something went wrong with that request. Please try again.