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
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.