-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
25 lines (21 loc) · 845 Bytes
/
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
<project name="MAMS" default="run" basedir=".">
<property name="src" location="src"/>
<property name="build" location="build"/>
<target name="init">
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init" description="compile the source ">
<javac srcdir="${src}" destdir="${build}">
<classpath location="jade/lib/jade.jar"/>
</javac>
</target>
<target name="clean" description="clean up">
<delete dir="${build}"/>
</target>
<target name="run" description="create agents">
<java fork="true" classpath="jade/lib/jade.jar;build" classname="jade.Boot">
<arg value="-gui"/>
<arg value="Sarah:mams.AgentMAMS(Sofian,Pierre,Billy);Pierre:mams.AgentMAMS(Sofian,Billy);Sofian:mams.AgentMAMS(Pierre,Sarah);Billy:mams.AgentMAMS(Sofian,Pierre)"/>
</java>
</target>
</project>