-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
26 lines (22 loc) · 814 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
26
<project name="Jade" 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}"/>
<delete dir="${dist}"/>
</target>
<target name="run" description="create agents" >
<java fork="true" classpath="jade/lib/jade.jar;build" classname="jade.Boot">
<arg value="-gui" />
<arg value="buyer:BookBuyerAgent(10000,50);seller1:BookSellerAgent(3);seller2:BookSellerAgent(5)" />
</java>
</target>
</project>