Thanks Matthew, I figured this must have been the case - just that after seeing it in the docs I thought perhaps it was supposed to be working in the current stable release and was perhaps broken or unintentionally left out, so I just made an attempt to fill in the gaps.
Do you think it would be a good idea to label libs in the documentation with the minimum ZF version required? Just a thought. Brad On Wed 29/04/09 10:09 PM , Matthew Weier O'Phinney wrote: -- Brad Kowalczyk 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/ [1]">http://framework.zend.com/ Links: ------ [1] http://framework.zend.com/
