Its purpose is to track the assets that the tools has created. That is the only way that Zend_Tool can determine the context of a particular file.. so it answers questions like: "is this file a model file or a controller file?" "What is this directory for", "Where is the models directory for my new model created by Zend_Tool".

In the future, there will be a way for Zend_Tool to determine and/or scan an existing project for classes and files you've created by hand.

Its the next big priority on the list.

-ralph

Ryan Schmidt wrote:
On Mar 13, 2010, at 06:43, Rob Allen wrote:

On 11 Mar 2010, at 16:32, Jeffery wrote:

I had copied the visible directories and files to another location.  I missed
the .zfproject.xml file
It's a shame there's not a "zf recreated projectfile" command :)

Does the .zfproject.xml file in fact serve any purpose at all other than wasting my time? 
I have found it very inconvenient to need to update it every time I manually add a model 
or controller or whatever, or to fix it after I "zf create"d something only to 
decide I needed to rename it later, but actually the application seems to work fine no 
matter what the project file contains, or indeed even if I delete the project file 
entirely. So what is it there for?



Reply via email to