You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2009/12/09 20:28:18 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=12788253#action_12788253 ] 

Todd Lipcon commented on THRIFT-592:
------------------------------------

lgtm

> 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-test-client-work-properly.patch, 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.