Before the release of 1.10.0 I built a number of Zend_Tool providers to
generate things like Models and DbTable files.  But since I upgraded to
1.10.0, the zf command is not finding my providers (I want to use my own
providers rather than the packaged ones because the provide additional
functionality [see http://bit.ly/cLvkB3 if you're interested]).  I've been
poking around in the code, and as far as I can tell,
Zend_Tool_Framework_Loader_IncludePathLoader is never getting used.  Is
there something you have to do now to load custom providers?  Also, is there
any way to tell it to override the existing ones?  It looks like I might be
able to get the functionality working by tweaking
Zend_Tool_Framework_Client_Console::_preInit() but so far I just get the
following exception:

*Fatal error: Uncaught exception 'Zend_Tool_Framework_Provider_Exception'
with message 'A provider by the name Model is already registered and
$overrideExistingProvider is set to false.' in
/usr/local/zend/share/ZendFramework/library/Zend/Tool/Framework/Provider/Repository.php:116
*

I'm going to look into the $overrideExistingProvider parameter, and I'm also
going to try renaming my providers, but there's gotta be a way to make it
work without modifying the ZF code itself.

If no one out there has a solution I'll post a bug report, but I just wanted
to make sure I'm just not missing something first.

Any help would be greatly appreciated!

CM

Reply via email to