-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
93 lines (92 loc) · 5.45 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- WARNING: Eclipse auto-generated file.
Any modifications will be overwritten.
To include a user specific buildfile here, simply create one in the same
directory with the processing instruction <?eclipse.ant.import?>
as the first entry and export the buildfile again. -->
<project basedir="." default="build" name="glamm">
<property environment="env"/>
<property name="ECLIPSE_HOME" value="/Applications/eclipse"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.6"/>
<property name="source" value="1.6"/>
<path id="GWT SDK [GWT - 2.4.0].libraryclasspath">
<pathelement location="${ECLIPSE_HOME}/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201208080121-rel-r42/gwt-2.4.0/gwt-user.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201208080121-rel-r42/gwt-2.4.0/gwt-dev.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201208080121-rel-r42/gwt-2.4.0/validation-api-1.0.0.GA-sources.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201208080121-rel-r42/gwt-2.4.0/validation-api-1.0.0.GA.jar"/>
</path>
<path id="glamm.classpath">
<pathelement location="war/WEB-INF/classes"/>
<pathelement location="test-classes"/>
<path refid="GWT SDK [GWT - 2.4.0].libraryclasspath"/>
<pathelement location="war/WEB-INF/lib/bcpkix-jdk15on-147.jar"/>
<pathelement location="war/WEB-INF/lib/bcprov-ext-jdk15on-147.jar"/>
<pathelement location="war/WEB-INF/lib/c3p0-0.9.2.jar"/>
<pathelement location="war/WEB-INF/lib/commons-fileupload-1.2.2.jar"/>
<pathelement location="war/WEB-INF/lib/commons-io-2.0.1.jar"/>
<pathelement location="war/WEB-INF/lib/gwt-servlet.jar"/>
<pathelement location="war/WEB-INF/lib/mysql-connector-java-5.1.13-bin.jar"/>
<pathelement location="war/WEB-INF/lib/antlr-2.7.6.jar"/>
<pathelement location="war/WEB-INF/lib/commons-collections-3.1.jar"/>
<pathelement location="war/WEB-INF/lib/dom4j-1.6.1.jar"/>
<pathelement location="war/WEB-INF/lib/hibernate-jpa-2.0-api-1.0.0.Final.jar"/>
<pathelement location="war/WEB-INF/lib/hibernate-validator-4.2.0.Final.jar"/>
<pathelement location="war/WEB-INF/lib/hibernate-validator-annotation-processor-4.2.0.Final.jar"/>
<pathelement location="war/WEB-INF/lib/hibernate3.jar"/>
<pathelement location="war/WEB-INF/lib/javassist.jar"/>
<pathelement location="war/WEB-INF/lib/jta.jar"/>
<pathelement location="war/WEB-INF/lib/log4j-1.2.15.jar"/>
<pathelement location="war/WEB-INF/lib/slf4j-api-1.5.8.jar"/>
<pathelement location="war/WEB-INF/lib/slf4j-log4j12-1.5.8.jar"/>
<pathelement location="war/WEB-INF/lib/jackson-annotations-2.1.1.jar"/>
<pathelement location="war/WEB-INF/lib/jackson-core-2.1.1.jar"/>
<pathelement location="war/WEB-INF/lib/jackson-databind-2.1.1.jar"/>
<pathelement location="war/WEB-INF/lib/jsr173_1.0_api.jar"/>
<pathelement location="war/WEB-INF/lib/resolver.jar"/>
<pathelement location="war/WEB-INF/lib/xbean_xpath.jar"/>
<pathelement location="war/WEB-INF/lib/xbean.jar"/>
<pathelement location="war/WEB-INF/lib/xmlbeans-qname.jar"/>
<pathelement location="war/WEB-INF/lib/xmlpublic.jar"/>
<pathelement location="war/WEB-INF/lib/reaction-fun-data-xmltypes.jar"/>
<pathelement location="war/WEB-INF/lib/lib-gwt-svg-0.5.6.jar"/>
<pathelement location="war/WEB-INF/lib/jackson-all-1.9.11.jar"/>
<pathelement location="war/WEB-INF/lib/kb-auth.jar"/>
<pathelement location="war/WEB-INF/lib/kb-fba.jar"/>
<pathelement location="war/WEB-INF/lib/kb-workspace-service.jar"/>
<pathelement location="war/WEB-INF/lib/kb-rpc.jar"/>
</path>
<target name="init">
<mkdir dir="war/WEB-INF/classes"/>
<mkdir dir="test-classes"/>
<copy includeemptydirs="false" todir="war/WEB-INF/classes">
<fileset dir="src">
<exclude name="**/*.java"/>
</fileset>
</copy>
<copy includeemptydirs="false" todir="test-classes">
<fileset dir="test">
<exclude name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="war/WEB-INF/classes"/>
<delete dir="test-classes"/>
</target>
<target depends="clean" name="cleanall"/>
<target depends="build-subprojects,build-project" name="build"/>
<target name="build-subprojects"/>
<target depends="init" name="build-project">
<echo message="${ant.project.name}: ${ant.file}"/>
<javac debug="true" debuglevel="${debuglevel}" destdir="war/WEB-INF/classes" includeantruntime="false" source="${source}" target="${target}">
<src path="src"/>
<classpath refid="glamm.classpath"/>
</javac>
<javac debug="true" debuglevel="${debuglevel}" destdir="test-classes" includeantruntime="false" source="${source}" target="${target}">
<src path="test"/>
<classpath refid="glamm.classpath"/>
</javac>
</target>
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
</project>