blob: f109fea4ab0e5c76446f2b608f92f96fba04886e [file] [log] [blame] [view]
Roger Meierfa899322012-10-22 19:27:38 +00001Thrift Java Tutorial
Todd Lipcon4abfb282010-09-28 00:01:31 +00002==================================================
Roger Meierfa899322012-10-22 19:27:38 +000031) Compile the Java library
Todd Lipcon4abfb282010-09-28 00:01:31 +00004
Henrique Mendonçad5acf052014-06-24 16:06:32 +02005 thrift/lib/java$ make
Roger Meierfa899322012-10-22 19:27:38 +00006or:
Henrique Mendonçad5acf052014-06-24 16:06:32 +02007
8 thrift/lib/java$ ant
Todd Lipcon4abfb282010-09-28 00:01:31 +00009
Roger Meierfa899322012-10-22 19:27:38 +0000104) Run the tutorial:
Todd Lipcon4abfb282010-09-28 00:01:31 +000011
Roger Meierfa899322012-10-22 19:27:38 +000012start server and client with one step:
Henrique Mendonçad5acf052014-06-24 16:06:32 +020013
14 thrift/tutorial/java$ make tutorial
Todd Lipcon4abfb282010-09-28 00:01:31 +000015
Roger Meierfa899322012-10-22 19:27:38 +000016or:
Henrique Mendonçad5acf052014-06-24 16:06:32 +020017
18 thrift/tutorial/java$ make tutorialserver
19 thrift/tutorial/java$ make tutorialclient
Todd Lipcon4abfb282010-09-28 00:01:31 +000020
Roger Meierfa899322012-10-22 19:27:38 +000021or:
Henrique Mendonçad5acf052014-06-24 16:06:32 +020022
23 thrift/tutorial/java$ ant tutorialserver
24 thrift/tutorial/java$ ant tutorialclient