| Mark Slee | 54b7ab9 | 2007-03-06 00:06:27 +0000 | [diff] [blame] | 1 | Thrift Java Software Library | 
|  | 2 |  | 
|  | 3 | Author: Mark Slee (mcslee@facebook.com) | 
|  | 4 | Last Modified: 2007-Mar-05 | 
|  | 5 |  | 
|  | 6 | Thrift is distributed under the Thrift open source software license. | 
|  | 7 | Please see the included LICENSE file. | 
|  | 8 |  | 
|  | 9 | Using Thrift with Java | 
|  | 10 | ====================== | 
|  | 11 |  | 
|  | 12 | The Thrift Java source is not build using the GNU tools, but rather uses | 
|  | 13 | the Apache Ant build system, which tends to be predominant amongst Java | 
|  | 14 | developers. | 
|  | 15 |  | 
|  | 16 | To compile the Java Thrift libraries, simply do the following: | 
|  | 17 |  | 
|  | 18 | ant | 
|  | 19 |  | 
|  | 20 | Yep, that's easy. Look for libthrift.jar in the base directory. | 
|  | 21 |  | 
|  | 22 | To include Thrift in your applications simply add libthrift.jar to your | 
|  | 23 | classpath, or install if in your default system classpath of choice. | 
|  | 24 |  | 
|  | 25 | Dependencies | 
|  | 26 | ============ | 
|  | 27 |  | 
|  | 28 | Apache Ant | 
|  | 29 | http://ant.apache.org/ |