Name: instantiation/test/java/xmpp-tim/XmppClient/build.xml 
1:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2:
<!-- WARNING: Eclipse auto-generated file.
3:
              Any modifications will be overwritten.
4:
              To include a user specific buildfile here, simply create one in the same
5:
              directory with the processing instruction <?eclipse.ant.import?>
6:
              as the first entry and export the buildfile again. --><project basedir="." default="build" name="XmppClient">
7:
    <property environment="env"/>
8:
    <property name="ECLIPSE_HOME" value="../../../Applications/eclipse"/>
9:
    <property name="junit.output.dir" value="junit"/>
10:
    <property name="debuglevel" value="source,lines,vars"/>
11:
    <property name="target" value="1.6"/>
12:
    <property name="source" value="1.6"/>
13:
    <path id="XmppClient.classpath">
14:
        <pathelement location="bin"/>
15:
        <pathelement location="jars/smack.jar"/>
16:
        <pathelement location="jars/smackx-debug.jar"/>
17:
        <pathelement location="jars/smackx-jingle.jar"/>
18:
        <pathelement location="jars/smackx.jar"/>
19:
        <pathelement location="jars/junit-4.10.jar"/>
20:
        <pathelement location="jars/org.restlet-2.1.4.jar"/>
21:
      <pathelement location="jars/org.restlet.ext.servlet-2.1.4.jar"/>
22:
        <pathelement location="jars/commons-lang3-3.1.jar"/>
23:
    </path>
24:
    <path id="run.adventure.messagerouting.tests.classpath">
25:
        <path refid="XmppClient.classpath"/>
26:
    </path>
27:
    <path id="run.MessageClientAsyncTests.classpath">
28:
        <path refid="XmppClient.classpath"/>
29:
    </path>
30:
    <path id="run.MessageClientAsyncTests.TestSendingBigBinaryDataInMessage.classpath">
31:
        <path refid="XmppClient.classpath"/>
32:
    </path>
33:
    <path id="run.MessageClientAsyncTests.TestSendingBinaryDataInMessageToWindows.classpath">
34:
        <path refid="XmppClient.classpath"/>
35:
    </path>
36:
    <path id="run.MessageClientAsyncTests.TestSynchronousMessage.classpath">
37:
        <path refid="XmppClient.classpath"/>
38:
    </path>
39:
    <path id="run.MessageClientTests.classpath">
40:
        <path refid="XmppClient.classpath"/>
41:
    </path>
42:
    <path id="run.MessageClientTests.TestAckMessage.classpath">
43:
        <path refid="XmppClient.classpath"/>
44:
    </path>
45:
    <path id="run.MessageClientTests.TestEchoService.classpath">
46:
        <path refid="XmppClient.classpath"/>
47:
    </path>
48:
    <path id="run.MessageClientTests.TestMessageReceiving.classpath">
49:
        <path refid="XmppClient.classpath"/>
50:
    </path>
51:
    <path id="run.MessageClientTests.TestMessageReceivingRafael.classpath">
52:
        <path refid="XmppClient.classpath"/>
53:
    </path>
54:
    <path id="run.MessageClientTests.TestMessageReceivingWithAck.classpath">
55:
        <path refid="XmppClient.classpath"/>
56:
    </path>
57:
    <path id="run.MessageClientTests.TestMessageSendingToServer.classpath">
58:
        <path refid="XmppClient.classpath"/>
59:
    </path>
60:
    <path id="run.MessageClientTests.TestMultipleMessageReceivings.classpath">
61:
        <path refid="XmppClient.classpath"/>
62:
    </path>
63:
    <path id="run.MessageClientTests.TestSendingBinaryDataInMessage.classpath">
64:
        <path refid="XmppClient.classpath"/>
65:
    </path>
66:
    <path id="run.MessageClientTests.TestSynchronousMessage.classpath">
67:
        <path refid="XmppClient.classpath"/>
68:
    </path>
69:
    <path id="run.OReceiver.classpath">
70:
        <path refid="XmppClient.classpath"/>
71:
    </path>
72:
    <path id="run.OSender.classpath">
73:
        <path refid="XmppClient.classpath"/>
74:
    </path>
75:
    <path id="run.ToolTests.classpath">
76:
        <path refid="XmppClient.classpath"/>
77:
    </path>
78:
    <path id="run.ToolTests.TestAdventureMessage.classpath">
79:
        <path refid="XmppClient.classpath"/>
80:
    </path>
81:
    <path id="run.ToolTests.TestDateFormatting.classpath">
82:
        <path refid="XmppClient.classpath"/>
83:
    </path>
84:
    <path id="run.ToolTests.TestRafael.classpath">
85:
        <path refid="XmppClient.classpath"/>
86:
    </path>
87:
    <path id="run.ToolTests.TestTime.classpath">
88:
        <path refid="XmppClient.classpath"/>
89:
    </path>
90:
    <path id="run.ToolTests.TestXmlParser.classpath">
91:
        <path refid="XmppClient.classpath"/>
92:
    </path>
93:
    <path id="run.TwoWayChatPerformancenceTests.classpath">
94:
        <path refid="XmppClient.classpath"/>
95:
    </path>
96:
    <path id="run.TwoWayChatTests.classpath">
97:
        <path refid="XmppClient.classpath"/>
98:
    </path>
99:
    <path id="run.TwoWayChatTests.twoWayChatCorrectnessTest.classpath">
100:
        <path refid="XmppClient.classpath"/>
101:
    </path>
102:
    <path id="run.XmppClient.classpath">
103:
        <path refid="XmppClient.classpath"/>
104:
    </path>
105:
    <path id="run.MessageClientTests.TestHttpMessageSendingAndReceiving (1).classpath">
106:
        <path refid="XmppClient.classpath"/>
107:
    </path>
108:
    <target name="init">
109:
        <mkdir dir="bin"/>
110:
        <copy includeemptydirs="false" todir="bin">
111:
            <fileset dir="src">
112:
                <exclude name="**/*.java"/>
113:
            </fileset>
114:
        </copy>
115:
    </target>
116:
    <target name="clean">
117:
        <delete dir="bin"/>
118:
    </target>
119:
    <target depends="clean" name="cleanall"/>
120:
    <target depends="build-subprojects,build-project" name="build"/>
121:
    <target name="build-subprojects"/>
122:
    <target depends="init" name="build-project">
123:
        <echo message="${ant.project.name}: ${ant.file}"/>
124:
        <javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
125:
            <src path="src"/>
126:
            <classpath refid="XmppClient.classpath"/>
127:
        </javac>
128:
    </target>
129:
    <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
130:
    <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
131:
        <copy todir="${ant.library.dir}">
132:
            <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
133:
        </copy>
134:
        <unzip dest="${ant.library.dir}">
135:
            <patternset includes="jdtCompilerAdapter.jar"/>
136:
            <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
137:
        </unzip>
138:
    </target>
139:
    <target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
140:
        <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
141:
        <antcall target="build"/>
142:
    </target>
143:
    <target name="adventure.messagerouting.tests">
144:
        <mkdir dir="${junit.output.dir}"/>
145:
        <junit fork="yes" printsummary="withOutAndErr">
146:
            <formatter type="xml"/>
147:
            <test name="adventure.messagerouting.tests.MessageClientAsyncTests" todir="${junit.output.dir}"/>
148:
            <test name="adventure.messagerouting.tests.MessageClientPubSubTests" todir="${junit.output.dir}"/>
149:
            <test name="adventure.messagerouting.tests.MessageClientTests" todir="${junit.output.dir}"/>
150:
            <test name="adventure.messagerouting.tests.ToolTests" todir="${junit.output.dir}"/>
151:
            <test name="adventure.messagerouting.tests.TwoWayChatPerformancenceTests" todir="${junit.output.dir}"/>
152:
            <classpath refid="run.adventure.messagerouting.tests.classpath"/>
153:
        </junit>
154:
    </target>
155:
    <target name="MessageClientAsyncTests">
156:
        <mkdir dir="${junit.output.dir}"/>
157:
        <junit fork="yes" printsummary="withOutAndErr">
158:
            <formatter type="xml"/>
159:
            <test name="adventure.messagerouting.tests.MessageClientAsyncTests" todir="${junit.output.dir}"/>
160:
            <classpath refid="run.MessageClientAsyncTests.classpath"/>
161:
        </junit>
162:
    </target>
163:
    <target name="MessageClientAsyncTests.TestSendingBigBinaryDataInMessage">
164:
        <mkdir dir="${junit.output.dir}"/>
165:
        <junit fork="yes" printsummary="withOutAndErr">
166:
            <formatter type="xml"/>
167:
            <test name="adventure.messagerouting.tests.MessageClientAsyncTests" todir="${junit.output.dir}"/>
168:
            <classpath refid="run.MessageClientAsyncTests.TestSendingBigBinaryDataInMessage.classpath"/>
169:
        </junit>
170:
    </target>
171:
    <target name="MessageClientAsyncTests.TestSendingBinaryDataInMessageToWindows">
172:
        <mkdir dir="${junit.output.dir}"/>
173:
        <junit fork="yes" printsummary="withOutAndErr">
174:
            <formatter type="xml"/>
175:
            <test name="adventure.messagerouting.tests.MessageClientAsyncTests" todir="${junit.output.dir}"/>
176:
            <classpath refid="run.MessageClientAsyncTests.TestSendingBinaryDataInMessageToWindows.classpath"/>
177:
        </junit>
178:
    </target>
179:
    <target name="MessageClientAsyncTests.TestSynchronousMessage">
180:
        <mkdir dir="${junit.output.dir}"/>
181:
        <junit fork="yes" printsummary="withOutAndErr">
182:
            <formatter type="xml"/>
183:
            <test name="adventure.messagerouting.tests.MessageClientAsyncTests" todir="${junit.output.dir}"/>
184:
            <classpath refid="run.MessageClientAsyncTests.TestSynchronousMessage.classpath"/>
185:
        </junit>
186:
    </target>
187:
    <target name="MessageClientTests">
188:
        <mkdir dir="${junit.output.dir}"/>
189:
        <junit fork="yes" printsummary="withOutAndErr">
190:
            <formatter type="xml"/>
191:
            <test name="adventure.messagerouting.tests.MessageClientTests" todir="${junit.output.dir}"/>
192:
            <classpath refid="run.MessageClientTests.classpath"/>
193:
        </junit>
194:
    </target>
195:
    <target name="MessageClientTests.TestAckMessage">
196:
        <mkdir dir="${junit.output.dir}"/>
197:
        <junit fork="yes" printsummary="withOutAndErr">
198:
            <formatter type="xml"/>
199:
            <test name="adventure.messagerouting.tests.MessageClientTests" todir="${junit.output.dir}"/>
200:
            <classpath refid="run.MessageClientTests.TestAckMessage.classpath"/>
201:
        </junit>
202:
    </target>
203:
    <target name="MessageClientTests.TestEchoService">
204:
        <mkdir dir="${junit.output.dir}"/>
205:
        <junit fork="yes" printsummary="withOutAndErr">
206:
            <formatter type="xml"/>
207:
            <test name="adventure.messagerouting.tests.MessageClientTests" todir="${junit.output.dir}"/>
208:
            <classpath refid="run.MessageClientTests.TestEchoService.classpath"/>
209:
        </junit>
210:
    </target>
211:
    <target name="MessageClientTests.TestMessageReceiving">
212:
        <mkdir dir="${junit.output.dir}"/>
213:
        <junit fork="yes" printsummary="withOutAndErr">
214:
            <formatter type="xml"/>
215:
            <test name="adventure.messagerouting.tests.MessageClientTests" todir="${junit.output.dir}"/>
216:
            <classpath refid="run.MessageClientTests.TestMessageReceiving.classpath"/>
217:
        </junit>
218:
    </target>
219:
    <target name="MessageClientTests.TestMessageReceivingRafael">
220:
        <mkdir dir="${junit.output.dir}"/>
221:
        <junit fork="yes" printsummary="withOutAndErr">
222:
            <formatter type="xml"/>
223:
            <test name="adventure.messagerouting.tests.MessageClientTests" todir="${junit.output.dir}"/>
224:
            <classpath refid="run.MessageClientTests.TestMessageReceivingRafael.classpath"/>
225:
        </junit>
226:
    </target>
227:
    <target name="MessageClientTests.TestMessageReceivingWithAck">
228:
        <mkdir dir="${junit.output.dir}"/>
229:
        <junit fork="yes" printsummary="withOutAndErr">
230:
            <formatter type="xml"/>
231:
            <test name="adventure.messagerouting.tests.MessageClientTests" todir="${junit.output.dir}"/>
232:
            <classpath refid="run.MessageClientTests.TestMessageReceivingWithAck.classpath"/>
233:
        </junit>
234:
    </target>
235:
    <target name="MessageClientTests.TestMessageSendingToServer">
236:
        <mkdir dir="${junit.output.dir}"/>
237:
        <junit fork="yes" printsummary="withOutAndErr">
238:
            <formatter type="xml"/>
239:
            <test name="adventure.messagerouting.tests.MessageClientTests" todir="${junit.output.dir}"/>
240:
            <classpath refid="run.MessageClientTests.TestMessageSendingToServer.classpath"/>
241:
        </junit>
242:
    </target>
243:
    <target name="MessageClientTests.TestMultipleMessageReceivings">
244:
        <mkdir dir="${junit.output.dir}"/>
245:
        <junit fork="yes" printsummary="withOutAndErr">
246:
            <formatter type="xml"/>
247:
            <test name="adventure.messagerouting.tests.MessageClientTests" todir="${junit.output.dir}"/>
248:
            <classpath refid="run.MessageClientTests.TestMultipleMessageReceivings.classpath"/>
249:
        </junit>
250:
    </target>
251:
    <target name="MessageClientTests.TestSendingBinaryDataInMessage">
252:
        <mkdir dir="${junit.output.dir}"/>
253:
        <junit fork="yes" printsummary="withOutAndErr">
254:
            <formatter type="xml"/>
255:
            <test name="adventure.messagerouting.tests.MessageClientTests" todir="${junit.output.dir}"/>
256:
            <classpath refid="run.MessageClientTests.TestSendingBinaryDataInMessage.classpath"/>
257:
        </junit>
258:
    </target>
259:
    <target name="MessageClientTests.TestSynchronousMessage">
260:
        <mkdir dir="${junit.output.dir}"/>
261:
        <junit fork="yes" printsummary="withOutAndErr">
262:
            <formatter type="xml"/>
263:
            <test name="adventure.messagerouting.tests.MessageClientTests" todir="${junit.output.dir}"/>
264:
            <classpath refid="run.MessageClientTests.TestSynchronousMessage.classpath"/>
265:
        </junit>
266:
    </target>
267:
    <target name="OReceiver">
268:
        <java classname="adventure.messagerouting.tests.OReceiver" failonerror="true" fork="yes">
269:
            <classpath refid="run.OReceiver.classpath"/>
270:
        </java>
271:
    </target>
272:
    <target name="OSender">
273:
        <java classname="adventure.messagerouting.tests.OSender" failonerror="true" fork="yes">
274:
            <classpath refid="run.OSender.classpath"/>
275:
        </java>
276:
    </target>
277:
    <target name="ToolTests">
278:
        <mkdir dir="${junit.output.dir}"/>
279:
        <junit fork="yes" printsummary="withOutAndErr">
280:
            <formatter type="xml"/>
281:
            <test name="adventure.messagerouting.tests.ToolTests" todir="${junit.output.dir}"/>
282:
            <classpath refid="run.ToolTests.classpath"/>
283:
        </junit>
284:
    </target>
285:
    <target name="ToolTests.TestAdventureMessage">
286:
        <mkdir dir="${junit.output.dir}"/>
287:
        <junit fork="yes" printsummary="withOutAndErr">
288:
            <formatter type="xml"/>
289:
            <test name="adventure.messagerouting.tests.ToolTests" todir="${junit.output.dir}"/>
290:
            <classpath refid="run.ToolTests.TestAdventureMessage.classpath"/>
291:
        </junit>
292:
    </target>
293:
    <target name="ToolTests.TestDateFormatting">
294:
        <mkdir dir="${junit.output.dir}"/>
295:
        <junit fork="yes" printsummary="withOutAndErr">
296:
            <formatter type="xml"/>
297:
            <test name="adventure.messagerouting.tests.ToolTests" todir="${junit.output.dir}"/>
298:
            <classpath refid="run.ToolTests.TestDateFormatting.classpath"/>
299:
        </junit>
300:
    </target>
301:
    <target name="ToolTests.TestRafael">
302:
        <mkdir dir="${junit.output.dir}"/>
303:
        <junit fork="yes" printsummary="withOutAndErr">
304:
            <formatter type="xml"/>
305:
            <test name="adventure.messagerouting.tests.ToolTests" todir="${junit.output.dir}"/>
306:
            <classpath refid="run.ToolTests.TestRafael.classpath"/>
307:
        </junit>
308:
    </target>
309:
    <target name="ToolTests.TestTime">
310:
        <mkdir dir="${junit.output.dir}"/>
311:
        <junit fork="yes" printsummary="withOutAndErr">
312:
            <formatter type="xml"/>
313:
            <test name="adventure.messagerouting.tests.ToolTests" todir="${junit.output.dir}"/>
314:
            <classpath refid="run.ToolTests.TestTime.classpath"/>
315:
        </junit>
316:
    </target>
317:
    <target name="ToolTests.TestXmlParser">
318:
        <mkdir dir="${junit.output.dir}"/>
319:
        <junit fork="yes" printsummary="withOutAndErr">
320:
            <formatter type="xml"/>
321:
            <test name="adventure.messagerouting.tests.ToolTests" todir="${junit.output.dir}"/>
322:
            <classpath refid="run.ToolTests.TestXmlParser.classpath"/>
323:
        </junit>
324:
    </target>
325:
    <target name="TwoWayChatPerformancenceTests">
326:
        <mkdir dir="${junit.output.dir}"/>
327:
        <junit fork="yes" printsummary="withOutAndErr">
328:
            <formatter type="xml"/>
329:
            <test name="adventure.messagerouting.tests.TwoWayChatPerformancenceTests" todir="${junit.output.dir}"/>
330:
            <classpath refid="run.TwoWayChatPerformancenceTests.classpath"/>
331:
        </junit>
332:
    </target>
333:
    <target name="TwoWayChatTests">
334:
        <mkdir dir="${junit.output.dir}"/>
335:
        <junit fork="yes" printsummary="withOutAndErr">
336:
            <formatter type="xml"/>
337:
            <test name="adventure.messagerouting.tests.TwoWayChatTests" todir="${junit.output.dir}"/>
338:
            <classpath refid="run.TwoWayChatTests.classpath"/>
339:
        </junit>
340:
    </target>
341:
    <target name="TwoWayChatTests.twoWayChatCorrectnessTest">
342:
        <mkdir dir="${junit.output.dir}"/>
343:
        <junit fork="yes" printsummary="withOutAndErr">
344:
            <formatter type="xml"/>
345:
            <test name="adventure.messagerouting.tests.TwoWayChatTests" todir="${junit.output.dir}"/>
346:
            <classpath refid="run.TwoWayChatTests.twoWayChatCorrectnessTest.classpath"/>
347:
        </junit>
348:
    </target>
349:
    <target name="XmppClient">
350:
        <mkdir dir="${junit.output.dir}"/>
351:
        <junit fork="yes" printsummary="withOutAndErr">
352:
            <formatter type="xml"/>
353:
            <test name="adventure.messagerouting.tests.MessageClientAsyncTests" todir="${junit.output.dir}"/>
354:
            <test name="adventure.messagerouting.tests.MessageClientPubSubTests" todir="${junit.output.dir}"/>
355:
            <test name="adventure.messagerouting.tests.MessageClientTests" todir="${junit.output.dir}"/>
356:
            <test name="adventure.messagerouting.tests.ToolTests" todir="${junit.output.dir}"/>
357:
            <test name="adventure.messagerouting.tests.TwoWayChatPerformancenceTests" todir="${junit.output.dir}"/>
358:
            <classpath refid="run.XmppClient.classpath"/>
359:
        </junit>
360:
    </target>
361:
    <target name="MessageClientTests.TestHttpMessageSendingAndReceiving (1)">
362:
        <mkdir dir="${junit.output.dir}"/>
363:
        <junit fork="yes" printsummary="withOutAndErr">
364:
            <formatter type="xml"/>
365:
            <test name="adventure.messagerouting.tests.MessageClientTests" todir="${junit.output.dir}"/>
366:
            <classpath refid="run.MessageClientTests.TestHttpMessageSendingAndReceiving (1).classpath"/>
367:
        </junit>
368:
    </target>
369:
    <target name="junitreport">
370:
        <junitreport todir="${junit.output.dir}">
371:
            <fileset dir="${junit.output.dir}">
372:
                <include name="TEST-*.xml"/>
373:
            </fileset>
374:
            <report format="frames" todir="${junit.output.dir}"/>
375:
        </junitreport>
376:
    </target>
377:
    <target name="jar" depends="init">
378:
      <delete file="${user.dir}/jars/${project.distname}.jar"/>
379:
      <jar jarfile="${user.dir}/jars/XmppClient.jar">
380:
        <fileset dir="${user.dir}/bin"/>
381:
        <!--fileset dir="${user.dir}/jars"/-->
382:
      </jar>
383:
    </target>
384:
</project>