-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
51 lines (50 loc) · 1.96 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<project>
<property name="engine.dir" location="ear/engine/WEB-INF" />
<property name="default.dir" location="ear/default/WEB-INF" />
<property name="sdk.dir" location="/Applications/eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.9.34/appengine-java-sdk-1.9.34" />
<import file="${sdk.dir}/config/user/ant-macros.xml" />
<target name="copyclasses"
description="Copies the classes out of default to engine war.">
<copy
todir="${engine.dir}/classes"
flatten="false">
<fileset dir="${default.dir}/classes">
<include name="**/*.class" />
</fileset>
</copy>
</target>
<target name="copylibs"
description="Copies the classes out of default to engine war.">
<copy
todir="${engine.dir}/lib"
flatten="false">
<fileset dir="${default.dir}/lib">
<include name="**/*.jar" />
</fileset>
</copy>
</target>
<target name="runengine"
description="Starts the development server.">
<dev_appserver war="ear/engine" port="8888" >
<options>
<arg value="--jvm_flag=-Xdebug"/>
<arg value="--jvm_flag=-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=9999"/>
<arg value="--datastore_path=C:/Users/home/code/RugbyBase/ear/default/WEB-INF/appengine-generated/local_db.bin"/>
</options>
</dev_appserver>
</target>
<target name="runfrontend"
description="Starts the development server.">
<dev_appserver war="ear/default" port="7777" >
<options>
<arg value="--jvm_flag=-Xdebug"/>
<arg value="--jvm_flag=-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=9999"/>
<arg value="--datastore_path=C:/Users/home/code/RugbyBase/ear/default/WEB-INF/appengine-generated/local_db.bin"/>
</options>
</dev_appserver>
</target>
<target name="updateEngine"
description="Uploads the application to App Engine.">
<appcfg action="update" war="ear/engine" />
</target>
</project>