Issues

ZF2-103: Empty files while creating new project (using zf console)

Description

c:\WebServer\htdocs>zf create project zf2test Creating project at C:/WebServer/htdocs/zf2test Note: This command created a web project, for more information setting up your V HOST, please see docs/README

Notice: Undefined property: Zend\Code\Reflection\FileReflection::$contents in C: \WebServer\htdocs\lib\ZendFramework2\library\Zend\Code\Reflection\FileReflection .php on line 262

Notice: Undefined property: Zend\Code\Reflection\FileReflection::$contents in C: \WebServer\htdocs\lib\ZendFramework2\library\Zend\Code\Reflection\FileReflection .php on line 262


Content of created Bootstrap.php, ErrorController.php:

"<?php

"


PHP Version 5.3.8 Zend Framework 2.0.0beta1

Comments

Any news on it?

Zend\Tool does not work with ZF2. You can clone the ZendSkeletonApplication to get a base working ZF2 project.

I'm closing this, as I'll be removing Zend\Tool prior to the upcoming beta3 release. The functionality is largely replaced by having the ZendSkeletonApplication repository, and we will be creating functionality for tooling surrounding our Zend\Console component for beta4.

removing Zend\Tool entirely? not only Zend\Tool\Project, Zend\Tool\Framework too ?

Yes. We'll likely build such functionality off a combination of Zend\Console and Zend\Code\Generator in the future; the current solution had design goals that we don't feel fit ZF2, and which are hard to maintain and extend.