mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
cb39f08ced
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665090 13f79535-47bb-0310-9956-ffa450edef68
30 lines
812 B
XML
30 lines
812 B
XML
<project name="tutorial" default="tutorial" basedir=".">
|
|
|
|
<description>Thrift Tutorial</description>
|
|
|
|
<property name="src" location="src" />
|
|
<property name="gen" location="../gen-java" />
|
|
<property name="build" location="build" />
|
|
<property name="cpath" location="/usr/local/lib/libthrift.jar" />
|
|
|
|
<target name="init">
|
|
<tstamp />
|
|
<mkdir dir="${build}"/>
|
|
</target>
|
|
|
|
<target name="compile" depends="init">
|
|
<javac srcdir="${gen}" destdir="${build}" classpath="${cpath}" />
|
|
<javac srcdir="${src}" destdir="${build}" classpath="${cpath}:${gen}" />
|
|
</target>
|
|
|
|
<target name="tutorial" depends="compile">
|
|
<jar jarfile="tutorial.jar" basedir="${build}"/>
|
|
</target>
|
|
|
|
<target name="clean">
|
|
<delete dir="${build}" />
|
|
<delete file="tutorial.jar" />
|
|
</target>
|
|
|
|
</project>
|