-- Brad Kowalczyk <[email protected]> wrote (on Wednesday, 29 April 2009, 03:08 AM +0200): > I just setup the zf.sh and zf.php scripts in my env then svn exported the > Zend/ > CodeGenerator lib into the appropriate location (it was not incl in the full > ZF > download) and tried to create a new project using the 'zf create project ...' > command. I got this: > > Fatal error: Call to undefined method > Zend_CodeGenerator_Php_File::fromreflectedfilepath() in /usr/local/lib/ > ZendFramework-1.7.8/incubator/library/Zend/Tool/Project/Context/Zf/ > ActionMethod.php on line 82 > > Has this method been removed from the current svn version? (as mentioned above > everything under Zend/CodeGenerator was exported from svn the rest is regular > 1.7.8) Is there any way I can get this to work or do I need to use the entire > svn version or is there somewhere else I can get a working Zend/CodeGenerator > lib?
You should use it directly from svn trunk, or the 1.8 release branch, or wait until the 1.8 release (tomorrow). In each of those cases, yes, it's working correctly .It does not work correctly from 1.7.8, and mixing it into an existing release is not something I would expect to work (there are many dependencies, some of which are on features specific to the 1.8 release.) -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/
