Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 1 | Thrift Java Tutorial |
Todd Lipcon | 4abfb28 | 2010-09-28 00:01:31 +0000 | [diff] [blame] | 2 | ================================================== |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 3 | 1) Compile the Java library |
Todd Lipcon | 4abfb28 | 2010-09-28 00:01:31 +0000 | [diff] [blame] | 4 | |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 5 | thrift/lib/java$ make |
6 | or: | ||||
7 | thrift/lib/java$ ant | ||||
Todd Lipcon | 4abfb28 | 2010-09-28 00:01:31 +0000 | [diff] [blame] | 8 | |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 9 | 4) Run the tutorial: |
Todd Lipcon | 4abfb28 | 2010-09-28 00:01:31 +0000 | [diff] [blame] | 10 | |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 11 | start server and client with one step: |
12 | thrift/tutorial/java$ make tutorial | ||||
Todd Lipcon | 4abfb28 | 2010-09-28 00:01:31 +0000 | [diff] [blame] | 13 | |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 14 | or: |
15 | thrift/tutorial/java$ make tutorialserver | ||||
16 | thrift/tutorial/java$ make tutorialclient | ||||
Todd Lipcon | 4abfb28 | 2010-09-28 00:01:31 +0000 | [diff] [blame] | 17 | |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 18 | or: |
19 | thrift/tutorial/java$ ant tutorialserver | ||||
20 | thrift/tutorial/java$ ant tutorialclient |