ColdBox Forums Notification: Post to Coldspring and Custom Plugins

Title: Coldspring and Custom Plugins
Thread: Coldspring and Custom Plugins
Forum: Need Help?
Conference: ColdBox
User: tb

Thank-you for your help on Friday! I got things to work (I think they were
working, I just had to fire the fwreinit). Now I'm trying to inject a Custom
plugin in to my objects using Coldspring (I got injecting the logger plugin to
work) by passing in a "true" for the second parameter of the getPlugin method
and am getting an error indicating that the app is looking in the system.plugins
directory instead of the location specified in my config file (Unify.plugins).
In my coldspring.xml.cfm file:
[code]
<bean id="UnifyUtilityPlugin"
factory-bean="ColdboxFactory" factory-method="getPlugin">
   <constructor-arg
name="name">
     <value>UnifyUtility</value>
   </constructor-arg>
<constructor-arg name="isCustom">
     <value>true</value>
</constructor-arg>
</bean>
[/code]

I have a CFC called UnifyUtility in a
"plugins" folder under my app and my config file looks like this:
[code]
<Setting name="MyPluginsLocation" value="Unify.plugins" />
[/code]

Am I
missing something? When I pass the "true" in to the getPlugin method from a
handler, it finds and uses the UnifyUtility plugin but seems to be erroring out
when going through the ColdboxFactory.cfc. Thoughts? Thanks so much!

http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=C8F42294-FF65-CEF6-65BEE1AEB7063413