thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dvir Volk <dvir...@gmail.com>
Subject Re: wrong include paths in PHP
Date Mon, 20 Jul 2009 12:52:22 GMT
I could, but I figured since in python it's not mandatory, there might be a
trick to achieve that in PHP as well...

On Mon, Jul 20, 2009 at 3:37 PM, Patrick Schlangen <p.schlangen@mac.com>wrote:

> Hi,
>
> why don't you just use the directory structure suggested by Thrift?
> It's very logical and tidy.
>
> Patrick
>
> Am Montag 20 Juli 2009 um 02:34PM schrieb "Dvir Volk" <dvirsky@gmail.com>:
> >Hi,
> >When I'm generating php from thrift files, I always get this thing:
> >if I generate a service called Foo, the output is 2 files, one is
> >FooService.php and the other Foo_types.php, FooService.php will contain
> the
> >following include:
> >
> >include_once $GLOBALS['THRIFT_ROOT'].'/packages/Foo/Foo_types.php';
> >
> >when actually they are both located in the the same directory, and it
> should
> >just be:
> >include_once 'Foo_types.php';
> >
> >How do I stop this behavior? It's driving me crazy editing generated files
> >all the time...
> >
> >
>

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