-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
248 lines (248 loc) · 16.7 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
<?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="HeathrowWebPage">
<property environment="env"/>
<property name="ECLIPSE_HOME" value="../../Documents/Unibertsitatea/2016-2017/Web Engineering 1/bin/eclipse/"/>
<property name="junit.output.dir" value="junit"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.8"/>
<property name="source" value="1.8"/>
<path id="Web App Libraries.libraryclasspath">
<pathelement location="WebContent/WEB-INF/lib/annotations-api.jar"/>
<pathelement location="WebContent/WEB-INF/lib/antlr-2.7.7.jar"/>
<pathelement location="WebContent/WEB-INF/lib/catalina-ant.jar"/>
<pathelement location="WebContent/WEB-INF/lib/catalina-ha.jar"/>
<pathelement location="WebContent/WEB-INF/lib/catalina-storeconfig.jar"/>
<pathelement location="WebContent/WEB-INF/lib/catalina-tribes.jar"/>
<pathelement location="WebContent/WEB-INF/lib/catalina.jar"/>
<pathelement location="WebContent/WEB-INF/lib/cdi-api-1.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/classmate-1.3.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/classmate-1.3.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-fileupload-1.3.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-io-2.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-lang3-3.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-logging-1.1.3.jar"/>
<pathelement location="WebContent/WEB-INF/lib/dom4j-1.6.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/ecj-4.5.jar"/>
<pathelement location="WebContent/WEB-INF/lib/el-api-2.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/el-api.jar"/>
<pathelement location="WebContent/WEB-INF/lib/freemarker-2.3.22.jar"/>
<pathelement location="WebContent/WEB-INF/lib/geronimo-jta_1.1_spec-1.1.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/hamcrest-core-1.3.jar"/>
<pathelement location="WebContent/WEB-INF/lib/hibernate-commons-annotations-5.0.1.Final.jar"/>
<pathelement location="WebContent/WEB-INF/lib/hibernate-core-5.2.4.Final.jar"/>
<pathelement location="WebContent/WEB-INF/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar"/>
<pathelement location="WebContent/WEB-INF/lib/hibernate-validator-5.3.3.Final.jar"/>
<pathelement location="WebContent/WEB-INF/lib/hibernate-validator-annotation-processor-5.3.3.Final.jar"/>
<pathelement location="WebContent/WEB-INF/lib/hibernate-validator-cdi-5.3.3.Final.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jackson-annotations-2.8.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jackson-core-2.8.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jackson-databind-2.8.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jandex-2.0.0.Final.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jasper-el.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jasper.jar"/>
<pathelement location="WebContent/WEB-INF/lib/javassist-3.11.0.GA.jar"/>
<pathelement location="WebContent/WEB-INF/lib/javassist-3.20.0-GA.jar"/>
<pathelement location="WebContent/WEB-INF/lib/javax.el-2.2.4.jar"/>
<pathelement location="WebContent/WEB-INF/lib/javax.el-api-2.2.4.jar"/>
<pathelement location="WebContent/WEB-INF/lib/javax.inject-1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jboss-interceptors-api_1.1_spec-1.0.0.Beta1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jboss-logging-3.3.0.Final.jar"/>
<pathelement location="WebContent/WEB-INF/lib/json-20160807.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jsp-api.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jsr250-api-1.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/junit-4.12.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jwebunit-1.1.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/log4j-core-2.6.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/mockito-all-1.10.19.jar"/>
<pathelement location="WebContent/WEB-INF/lib/netty-all-4.1.5.Final.jar"/>
<pathelement location="WebContent/WEB-INF/lib/netty-socketio-1.7.7 .jar"/>
<pathelement location="WebContent/WEB-INF/lib/objenesis-tck-2.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/ognl-3.0.19.jar"/>
<pathelement location="WebContent/WEB-INF/lib/pgjdbc-ng-0.6-complete.jar"/>
<pathelement location="WebContent/WEB-INF/lib/postgresql-9.4.1212.jre6.jar"/>
<pathelement location="WebContent/WEB-INF/lib/servlet-api.jar"/>
<pathelement location="WebContent/WEB-INF/lib/slf4j-api-1.7.22.jar"/>
<pathelement location="WebContent/WEB-INF/lib/struts2-core-2.3.31.jar"/>
<pathelement location="WebContent/WEB-INF/lib/system-rules-1.16.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/tomcat-api.jar"/>
<pathelement location="WebContent/WEB-INF/lib/tomcat-coyote.jar"/>
<pathelement location="WebContent/WEB-INF/lib/tomcat-dbcp.jar"/>
<pathelement location="WebContent/WEB-INF/lib/tomcat-i18n-es.jar"/>
<pathelement location="WebContent/WEB-INF/lib/tomcat-i18n-fr.jar"/>
<pathelement location="WebContent/WEB-INF/lib/tomcat-i18n-ja.jar"/>
<pathelement location="WebContent/WEB-INF/lib/tomcat-jdbc.jar"/>
<pathelement location="WebContent/WEB-INF/lib/tomcat-jni.jar"/>
<pathelement location="WebContent/WEB-INF/lib/tomcat-util-scan.jar"/>
<pathelement location="WebContent/WEB-INF/lib/tomcat-util.jar"/>
<pathelement location="WebContent/WEB-INF/lib/tomcat-websocket.jar"/>
<pathelement location="WebContent/WEB-INF/lib/validation-api-1.1.0.Final.jar"/>
<pathelement location="WebContent/WEB-INF/lib/websocket-api.jar"/>
<pathelement location="WebContent/WEB-INF/lib/xwork-core-2.3.31.jar"/>
</path>
<path id="EAR Libraries.libraryclasspath"/>
<path id="struts2.userclasspath"/>
<path id="JUnit.userclasspath"/>
<path id="Notify.userclasspath"/>
<path id="Apache Tomcat v8.0 [Apache Tomcat v8.0].libraryclasspath">
<pathelement location="../../HeathrowWebPage/lib/annotations-api.jar"/>
<pathelement location="../../HeathrowWebPage/lib/catalina-ant.jar"/>
<pathelement location="../../HeathrowWebPage/lib/catalina-ha.jar"/>
<pathelement location="../../HeathrowWebPage/lib/catalina-storeconfig.jar"/>
<pathelement location="../../HeathrowWebPage/lib/catalina-tribes.jar"/>
<pathelement location="../../HeathrowWebPage/lib/catalina.jar"/>
<pathelement location="../../HeathrowWebPage/lib/ecj-4.5.jar"/>
<pathelement location="../../HeathrowWebPage/lib/el-api.jar"/>
<pathelement location="../../HeathrowWebPage/lib/jasper-el.jar"/>
<pathelement location="../../HeathrowWebPage/lib/jasper.jar"/>
<pathelement location="../../HeathrowWebPage/lib/jsp-api.jar"/>
<pathelement location="../../HeathrowWebPage/lib/servlet-api.jar"/>
<pathelement location="../../HeathrowWebPage/lib/tomcat-api.jar"/>
<pathelement location="../../HeathrowWebPage/lib/tomcat-coyote.jar"/>
<pathelement location="../../HeathrowWebPage/lib/tomcat-dbcp.jar"/>
<pathelement location="../../HeathrowWebPage/lib/tomcat-i18n-es.jar"/>
<pathelement location="../../HeathrowWebPage/lib/tomcat-i18n-fr.jar"/>
<pathelement location="../../HeathrowWebPage/lib/tomcat-i18n-ja.jar"/>
<pathelement location="../../HeathrowWebPage/lib/tomcat-jdbc.jar"/>
<pathelement location="../../HeathrowWebPage/lib/tomcat-jni.jar"/>
<pathelement location="../../HeathrowWebPage/lib/tomcat-util-scan.jar"/>
<pathelement location="../../HeathrowWebPage/lib/tomcat-util.jar"/>
<pathelement location="../../HeathrowWebPage/lib/tomcat-websocket.jar"/>
<pathelement location="../../HeathrowWebPage/lib/websocket-api.jar"/>
</path>
<path id="Socket.userclasspath"/>
<path id="hibernate.userclasspath">
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/antlr-2.7.7.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/cdi-api-1.1.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/classmate-1.3.1.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/dom4j-1.6.1.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/el-api-2.2.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/geronimo-jta_1.1_spec-1.1.1.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/hibernate-commons-annotations-5.0.1.Final.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/hibernate-core-5.2.4.Final.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/hibernate-validator-5.3.3.Final.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/hibernate-validator-annotation-processor-5.3.3.Final.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/hibernate-validator-cdi-5.3.3.Final.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/jandex-2.0.0.Final.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/javassist-3.20.0-GA.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/javax.el-2.2.4.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/javax.el-api-2.2.4.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/javax.inject-1.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/jboss-interceptors-api_1.1_spec-1.0.0.Beta1.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/jboss-logging-3.3.0.Final.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/jsr250-api-1.0.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/validation-api-1.1.0.Final.jar"/>
</path>
<path id="SocketIO.userclasspath">
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/jackson-annotations-2.8.1.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/jackson-core-2.8.1.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/jackson-databind-2.8.1.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/json-20160807.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/log4j-core-2.6.2.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/netty-all-4.1.5.Final.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/netty-socketio-1.7.7 .jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/slf4j-api-1.7.22.jar"/>
</path>
<path id="struts.userclasspath">
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/commons-fileupload-1.3.2.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/commons-io-2.2.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/commons-lang3-3.2.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/commons-logging-1.1.3.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/freemarker-2.3.22.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/javassist-3.11.0.GA.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/ognl-3.0.19.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/postgresql-9.4.1212.jre6.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/struts2-core-2.3.31.jar"/>
<pathelement location="../../../../HeathrowWebPage/WebContent/WEB-INF/lib/xwork-core-2.3.31.jar"/>
</path>
<path id="HeathrowWebPage.classpath">
<pathelement location="build/classes"/>
<path refid="Web App Libraries.libraryclasspath"/>
<path refid="EAR Libraries.libraryclasspath"/>
<path refid="struts2.userclasspath"/>
<path refid="JUnit.userclasspath"/>
<path refid="Notify.userclasspath"/>
<path refid="Apache Tomcat v8.0 [Apache Tomcat v8.0].libraryclasspath"/>
<path refid="Socket.userclasspath"/>
<path refid="hibernate.userclasspath"/>
<pathelement location="WebContent/WEB-INF/lib/hamcrest-core-1.3.jar"/>
<pathelement location="WebContent/WEB-INF/lib/junit-4.12.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jwebunit-1.1.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/mockito-all-1.10.19.jar"/>
<pathelement location="WebContent/WEB-INF/lib/objenesis-tck-2.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/system-rules-1.16.0.jar"/>
<path refid="SocketIO.userclasspath"/>
<path refid="struts.userclasspath"/>
</path>
<target name="init">
<mkdir dir="build/classes"/>
<copy includeemptydirs="false" todir="build/classes">
<fileset dir="src">
<exclude name="**/*.launch"/>
<exclude name="**/*.java"/>
</fileset>
</copy>
<copy includeemptydirs="false" todir="build/classes">
<fileset dir="resources">
<exclude name="**/*.launch"/>
<exclude name="**/*.java"/>
</fileset>
</copy>
<copy includeemptydirs="false" todir="build/classes">
<fileset dir="tests">
<exclude name="**/*.launch"/>
<exclude name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="build/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="build/classes" includeantruntime="false" source="${source}" target="${target}">
<src path="src"/>
<src path="resources"/>
<src path="tests"/>
<classpath refid="HeathrowWebPage.classpath"/>
</javac>
</target>
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
<copy todir="${ant.library.dir}">
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
</copy>
<unzip dest="${ant.library.dir}">
<patternset includes="jdtCompilerAdapter.jar"/>
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
</unzip>
</target>
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
<antcall target="build"/>
</target>
<target name="test">
<mkdir dir="${junit.output.dir}"/>
<junit fork="yes" printsummary="withOutAndErr">
<formatter type="xml"/>
<test name="switTest.JUnitSwitTest.java" todir="${junit.output.dir}"/>
<jvmarg line="-ea"/>
<classpath refid="HeathrowWebPage.classpath"/>
</junit>
</target>
<target name="junitreport">
<junitreport todir="${junit.output.dir}">
<fileset dir="${junit.output.dir}">
<include name="TEST-*.xml"/>
</fileset>
<report format="frames" todir="${junit.output.dir}"/>
</junitreport>
</target>
</project>