[thrift] spruce up Erlang binding for tonight's release
Summary:
* got rid of most of the otp_base jonx ... save that for a future release unfortunately
* cleaned up the tutorial server, added -erl to tutorial.thrift's shebang
* made better README and TODO
Test Plan: checked out a copy, read my directions, built and ran the tutorial, and pretended that it didn't blow
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665273 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tutorial/erl/server.erl b/tutorial/erl/server.erl
index 2a44e1d..ab2b040 100644
--- a/tutorial/erl/server.erl
+++ b/tutorial/erl/server.erl
@@ -8,7 +8,7 @@
-include("server/tErlServer.hrl").
-include("transport/tErlAcceptor.hrl").
--include("calculator.hrl").
+-include("calculator_thrift.hrl").
-export([start/0, start/1, stop/1, ping/0, add/2, calculate/2, getStruct/1, zip/0]).
@@ -62,7 +62,7 @@
}]),
Handler = ?MODULE,
- Processor = calculator,
+ Processor = calculator_thrift,
TF = tBufferedTransportFactory:new(),
PF = tBinaryProtocolFactory:new(),