thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meik Schutz <Meik.Sch...@blip.pt>
Subject Re: "Could not find include file shared.thrift"
Date Sat, 01 Mar 2014 11:56:12 GMT
Hi Nevo,
Thanks for your help, I’m running

thrift -r --gen js:node tutorial.thrift

from the same directory as the thrift IDL file.
Thanks again
Meik



On 01/03/14 02:15, "Nevo Hed" <nhed+thriftusr@aereo.com> wrote:

>Need more context
>What directory are you running from (CWD) and what flags?
>
>
>On Fri, Feb 28, 2014 at 10:59 AM, Meik Schutz <Meik.Schutz@blip.pt> wrote:
>
>> Hi there,
>> I¹m trying to generate node.js files from the tutorial thrift file as in
>>
>> 
>>https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutor
>>ia
>> l/tutorial.thrift
>>
>> using thrift 0.9.1, which I installed using brew. However I get the
>> message
>>
>> [WARNING:/Users/schutzm/Playground/BFEThriftSpike/Thrift/Server/
>> tutorial.th
>> rift:59] Could not find include file shared.thrift
>> 
>>[ERROR:/Users/schutzm/Playground/BFEThriftSpike/Thrift/Server/tutorial.th
>>ri
>> ft:123] (last token was 'shared.SharedService')
>> Service "shared.SharedService" has not been defined.
>>
>> Any hint on what I¹m doing wrong?
>> Thanks
>> Meik
>>
>> ______________________________________________________________________
>> This email has been scanned by the Symantec Email Security.cloud
>>service.
>> For more information please visit http://www.symanteccloud.com
>> ______________________________________________________________________
>>
>
>______________________________________________________________________
>This email has been scanned by the Symantec Email Security.cloud service.
>For more information please visit http://www.symanteccloud.com
>______________________________________________________________________


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
Mime
View raw message