Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: e470f8395b
Fetching contributors…

Cannot retrieve contributors at this time

50 lines (44 sloc) 1.329 kB
<?xml version="1.0" encoding="UTF-8"?>
<project name="gomoku" default="jar">
<property name="version" value="0.0.2" />
<property name="src" value="src" />
<property name="classes" value="classes" />
<property environment="env" />
<target name="init">
<taskdef resource="scala/tools/ant/antlib.xml" />
</target>
<target name="compile" depends="init">
<mkdir dir="${classes}"/>
<fsc srcdir="${src}" destdir="${classes}" />
<copy todir="${classes}/net/reduls/scala/gomoku/data">
<fileset dir="${src}/net/reduls/scala/gomoku/data">
<include name="*.bin" />
</fileset>
</copy>
<copy todir="${classes}">
<fileset dir="${src}/../..">
<include name="COPYING*" />
</fileset>
</copy>
</target>
<target name="jar" depends="compile">
<jar jarfile="scala-gomoku-${version}.jar" basedir="${classes}">
<metainf dir=".">
<include name="COPYING" />
</metainf>
</jar>
</target>
<target name="run" depends="compile">
<java classname="Main"
classpath="${classes}" >
<classpath>
<pathelement path="${scala.lib}" />
</classpath>
<arg path="build.xml" />
<arg path="src/Main.java" />
</java>
</target>
<target name="clean">
<delete dir="${classes}"/>
</target>
</project>
Jump to Line
Something went wrong with that request. Please try again.