Wie kann ich Zend Framework nature erneut auf ein Netbeans-Projekt anwenden?

533
Pierre-Yves Gillier

Ich arbeite an einem Netbeans-Projekt mit einem Zend Framework "nature" auf zwei durch mercurial synchronisierten Computern. Auf dem ersten Computer, auf dem das Projekt erstellt wurde, ist das Projekt als ZF-Projekt markiert, und ich kann ZF.bat-Befehle im Kontextmenü ausführen.

Beim zweiten Projekt wurde das Projekt über Quecksilber importiert, aber ZF-Natur wird nicht auf das Projekt angewendet.

Ich habe die Konfigurationsdateien überprüft, aber nichts gefunden.

0

1 Antwort auf die Frage

0
Pierre-Yves Gillier

OK, got it.

Netbeans uses the file named .zfproject.xml (created by Zend_Tool) to apply ZF nature to its projects.

This file wasn't synced in my repo so the second computer thought it was a standalone PHP project.