You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Reiss (JIRA)" <ji...@apache.org> on 2009/10/02 19:24:23 UTC

[jira] Updated: (THRIFT-592) PhpClient.php expect all the files to be under tutorial/gen-php but the files are in sub-folders

     [ https://issues.apache.org/jira/browse/THRIFT-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Reiss updated THRIFT-592:
-------------------------------

    Patch Info: [Patch Available]

> PhpClient.php expect all the files to be under tutorial/gen-php but the files are in sub-folders
> ------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-592
>                 URL: https://issues.apache.org/jira/browse/THRIFT-592
>             Project: Thrift
>          Issue Type: Bug
>         Environment: Ubuntu Jaunty
>            Reporter: pablo platt
>         Attachments: v1-0001-THRIFT-592.-php-Make-the-tutorial-work-properly-aft.patch
>
>
> When compiling the php files for the tutorial:
>     thrift -r --gen php tutorial.thrift
> It creates the gen-php folder with two subfolders: tutorial and shared
> but the PhpClient.php file under /tutorial/php expect all the php files to be under gen-php without the subfolders:
>     $GEN_DIR = '../gen-php';
>     require_once $GEN_DIR.'/SharedService.php';
>     require_once $GEN_DIR.'/shared_types.php';
>     require_once $GEN_DIR.'/Calculator.php';
>     require_once $GEN_DIR.'/tutorial_types.php';
> Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.