| 1 | <project name="dac" default="run-broker-cajo" basedir="."> |
|---|
| 2 | <property name="lib.dir" value="${basedir}/lib" /> |
|---|
| 3 | <property name="cajoBrokerURL" value="localhost"/> |
|---|
| 4 | <property name="cajoGAE" value="//localhost:1198/broker" /> |
|---|
| 5 | <property name="urlGAE" value="http://localhost:8080/dac" /> |
|---|
| 6 | |
|---|
| 7 | <path id="lib.classpath"> |
|---|
| 8 | <fileset dir="${lib.dir}"> |
|---|
| 9 | <include name="*.jar" /> |
|---|
| 10 | </fileset> |
|---|
| 11 | <pathelement location="etc" /> |
|---|
| 12 | </path> |
|---|
| 13 | |
|---|
| 14 | <target name="send-agent"> |
|---|
| 15 | <java classname="org.dacframe.Launcher" classpathref="lib.classpath" fork="true" failonerror="true"> |
|---|
| 16 | <assertions> |
|---|
| 17 | <enable /> |
|---|
| 18 | </assertions> |
|---|
| 19 | </java> |
|---|
| 20 | </target> |
|---|
| 21 | |
|---|
| 22 | <target name="run-worker-gae"> |
|---|
| 23 | <java classname="org.dacframe.worker.WorkerGAE" classpathref="lib.classpath" fork="true" failonerror="true"> |
|---|
| 24 | <sysproperty key="org.dacframe.workerType" value="workergae" /> |
|---|
| 25 | <arg value="${urlGAE}"/> |
|---|
| 26 | <arg value="${cajoGAE}"/> |
|---|
| 27 | <assertions> |
|---|
| 28 | <enable /> |
|---|
| 29 | </assertions> |
|---|
| 30 | </java> |
|---|
| 31 | </target> |
|---|
| 32 | |
|---|
| 33 | <target name="run-broker-cajo"> |
|---|
| 34 | <java classname="org.dacframe.broker.CajoBrokerServer" classpathref="lib.classpath" fork="true" failonerror="true"> |
|---|
| 35 | <sysproperty key="org.dacframe.workerType" value="brokerCajo" /> |
|---|
| 36 | <arg value="${cajoBrokerURL}"/> |
|---|
| 37 | <assertions> |
|---|
| 38 | <enable /> |
|---|
| 39 | </assertions> |
|---|
| 40 | </java> |
|---|
| 41 | </target> |
|---|
| 42 | |
|---|
| 43 | <target name="run-worker"> |
|---|
| 44 | <java classname="org.dacframe.worker.WorkerSingleThreaded" classpathref="lib.classpath" fork="true" failonerror="true"> |
|---|
| 45 | <sysproperty key="org.dacframe.workerType" value="workerab" /> |
|---|
| 46 | <assertions> |
|---|
| 47 | <enable /> |
|---|
| 48 | </assertions> |
|---|
| 49 | </java> |
|---|
| 50 | </target> |
|---|
| 51 | |
|---|
| 52 | <target name="run-logserver"> |
|---|
| 53 | <java classname="org.apache.log4j.net.SocketServer" classpathref="lib.classpath"> |
|---|
| 54 | <arg value="12388"/> |
|---|
| 55 | <arg value="etc/logserver/logserver.properties"/> |
|---|
| 56 | <arg value="etc/logserver"/> |
|---|
| 57 | <sysproperty key="log4j.configuration" value="logserver/logserver.properties"/> |
|---|
| 58 | </java> |
|---|
| 59 | </target> |
|---|
| 60 | </project> |
|---|
| 61 | |
|---|