I did finally get code to generate.  I changed the line endings in my thrift
file from windows to unix using Notepad++ and everything generated.

On Wed, Apr 13, 2011 at 4:08 PM, Roger Meier <[email protected]>wrote:

> Hi John
>
> I created the attached files with official Thrift compiler for Windows
> (thrift-0.6.0.exe) on my Windows 7 (core i7, 64bit) host.
>
> C:\Users\Roger Meier>thrift-0.6.0.exe -v --debug --gen csharp --gen java
> envelope.thrift
>
> It seems to be another issue...
>
> What happens with other idl's? e.g.
> http://svn.apache.org/repos/asf/thrift/trunk/test/ThriftTest.thrift
> http://svn.apache.org/repos/asf/thrift/trunk/tutorial/
>
> -Roger
>
> -----Ursprüngliche Nachricht-----
> Von: John Ruiz [mailto:[email protected]]
> Gesendet: Mittwoch, 13. April 2011 17:57
> An: [email protected]
> Betreff: Re: Code does not generate on Windows 7 (x64)
>
> Hello,
>
> Does anyone have any ideas to help me start debugging what this issue might
> be?  Adding -v to the thrift command gives expected output - no errors.
>
> I'm worried that I've committed some unknown faux pas since it seems that
> the response turnaround for other threads is impressive.
>
> Let me know, =)
> John
> On Fri, Apr 8, 2011 at 12:42 AM, John Ruiz <[email protected]> wrote:
>
> > Hello,
> >
> > I have attempted the following on multiple Windows 7 (x64) machines
> > and get the same result.  I am using thrift-0.6.0.
> >
> > Given the following IDL (envelope.thrift):
> >
> > namespace csharp my.namespace
> > namespace java my.namespace
> >
> > struct Envelope {
> >   1: required string Id,
> >   2: optional string CorrelationId,
> >   3: required string Topic,
> >   4: required string Type,
> >   5: required i64 Created,
> >   6: required i64 Sent,
> >   7: optional i64 Received,
> >   8: required binary Content,
> > }
> >
> > When I run: 'thrift-0.6.0.exe --gen csharp envelope.thrift' the
> > gen-csharp folder is created, but it is empty.  The console has
> > neither errors nor output.  It looks like the following:
> >
> > D:\Dev\Projects\MyProject>thrift-0.6.0.exe -gen csharp envelope.thrift
> >> D:\Dev\Projects\MyProject>
> >
> >
> > The same thing happens when I try to generate java - the gen-java
> > folder is created, but it is empty.  The console contains no errors.
> >
> > Any ideas?
> > John
> >
>

Reply via email to