Initial files from lecturer

This commit is contained in:
2022-12-03 15:24:13 +01:00
commit ad03b9ad1e
6 changed files with 267 additions and 0 deletions

26
build.xml Normal file
View File

@@ -0,0 +1,26 @@
<project name="JadeLab1" 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="UserAgent:jadelab1.MyAgent;ServiceAgent:jadelab1.ServiceAgent" />
</java>
</target>
</project>