mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 18:58:51 +00:00
83c52a8d7a
Summary: The basic Thrift stack implemented in Java, still in need of a lot of work but fully functional. Reviewed By: aditya Test Plan: Unit tests are the NEXT checkin, I swear Notes: Perf on the Java stuff actually isn't that bad, and it's far from optimized at the moment. Barely any tweaking has been done. Testing shows that a Java server with the C++ client has RPC performance within 2x of the pure C++ implementations. This is pretty sweet, since this cost will be eclipsed by the cost of whatever processing is being done on an actual server doing real work. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664715 13f79535-47bb-0310-9956-ffa450edef68
33 lines
748 B
XML
33 lines
748 B
XML
<project name="libthrift" default="dist" basedir=".">
|
|
|
|
<description>Thrift Build File</description>
|
|
|
|
<property name="src" location="src" />
|
|
<property name="build" location="build" />
|
|
|
|
<target name="init">
|
|
<tstamp />
|
|
<mkdir dir="${build}"/>
|
|
</target>
|
|
|
|
<target name="compile" depends="init">
|
|
<javac srcdir="${src}" destdir="${build}" />
|
|
</target>
|
|
|
|
<target name="dist" depends="compile">
|
|
<jar jarfile="libthrift.jar" basedir="${build}"/>
|
|
</target>
|
|
|
|
<target name="install" depends="dist">
|
|
<exec executable="sudo">
|
|
<arg line="install libthrift.jar /usr/local/lib/" />
|
|
</exec>
|
|
</target>
|
|
|
|
<target name="clean">
|
|
<delete dir="${build}" />
|
|
<delete file="libthrift.jar" />
|
|
</target>
|
|
|
|
</project>
|