thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hannes Baldursson" <>
Subject Re: Don't get it (Erlang)
Date Fri, 31 Oct 2008 10:49:15 GMT
I've been looking into the skeleton app, it's awesome - I owe you one!

But I'm having 2 problems.

1. Where should I place the erlang files generated by Thrift?
2. Where should I place the Thrift modules?

Like I said I'm new to erlang and thrift and I've got a hard time wrapping
my head around it because of the limited documentation.

Thanks in advance,

On Thu, Oct 30, 2008 at 21:12, Suhail Doshi <>wrote:

> Hannes Baldursson wrote:
>> Hi all,
>> I'm having some troubles with the Erlang generated code from Thrift. I
>> might
>> add that I'm a newbie in using Thrift and got minimal knowledge about
>> Erlang
>> but I'm fairly experienced in programming.
>> I've been looking at the tutorial where in one directory "tutorial/erl/"
>> there are files called "server.erl" and "" that seem to be an
>> implementation of the RPC functions. Am I missing something or doesn't
>> Thrift generate server stubs based on my definition file?
>> All the generated files I see are in the gen-erl and I can't see that any
>> one of them do what server.erl does... am I missing something or do I have
>> to hand code the "server.erl" file
>> btw, I will make sure to add your points into the wiki page
>> Thanks in advance,
>> Hannes Baldursson
> Hi Hannes,
> I am very new to thrift too, just started hacking away at it last week.
> Fortunately I was lucky to be friends with Todd Lipcon who made the Erlang
> bindings for Thrift in the first place. Something very useful is:
> Play around and check it out, should give you a great stepping stone. You
> might get stuck make the erlang app, make sure to check where your rpc
> directory is pointing to in gen/Makefile.
> Suhail

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message