Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (36 sloc) 938 Bytes
<?xml version="1.0"?>
<project name="Pylos" default="run">
<path id="classpath">
<fileset dir="lib" includes="**/*.jar"/>
</path>
<target name="compile">
<mkdir dir="bin"/>
<javac srcdir="src" destdir="bin" classpathref="classpath" includeantruntime="false"/>
</target>
<target name="run" depends="compile">
<java classname="pylos.Pylos" fork="true">
<classpath>
<path refid="classpath"/>
<pathelement path="bin"/>
</classpath>
<jvmarg line="-Djava.security.policy=no.policy"/>
</java>
</target>
<target name="standalone" depends="compile">
<delete dir="Pylos"/>
<mkdir dir="Pylos"/>
<copy file="Pylos.jar" todir="Pylos"/>
<copy todir="Pylos/assets">
<fileset dir="assets"/>
</copy>
</target>
<target name="clean">
<delete dir="bin"/>
</target>
<target name="clean-logs">
<delete dir="log">
<include name="*"/>
<exclude name=".gitkeep"/>
</delete>
</target>
</project>