[Zend Framework] Zend_Tool: あとからプロジェクトを zf で扱えるようにしたいができない

zf で作らなかったプロジェクトを zf で扱う方法を知りたいのですが分かりませんでした。

[markdown]

zf でプロジェクトを作成すると “.zfproject.xml” が作られますが、ファイルがないので怒られます。

“`
% zf create action testCli Index
An Error Has Occurred
A project profile was not found.
Zend Framework Command Line Console Tool v1.12.3
Details for action “Create” and provider “Action”
Action
zf create action name controller-name[=Index] view-included[=1] module
“`

とりあえずファイルを作るも

“`
% touch .zfproject.xml
“`

怒られます。

“`
% zf create action testCli Index
An Error Has Occurred
contents not available to unserialize.
Zend Framework Command Line Console Tool v1.12.3
Details for action “Create” and provider “Action”
Action
zf create action name controller-name[=Index] view-included[=1] module
“`

どうしても使いたいときは “.zfproject.xml” をごりごり書けば良いのかな。

> * [NetBeans Forums – How do I add Zend Framework support in Netbeans 6.9.1 to an existing project?](http://forums.netbeans.org/topic30939.html)
> * [Zend Framework – Keeping .zfproject.xml up to date with Zend_Tool](http://zend-framework-community.634137.n4.nabble.com/Keeping-zfproject-xml-up-to-date-with-Zend-Tool-td2526512.html)

[/markdown]