Re: Plugin woes...

2013-04-05 Thread Rohit Yadav
Good we discussed this issue. Let's make a habit to update the wikis as we push changes around specific components especially APIs, plugins. Cheers. On Fri, Apr 5, 2013 at 10:57 AM, Kelven Yang wrote: > I updated following wiki to help clarify some of confusions in this area > > https://cwiki.a

Re: Plugin woes...

2013-04-04 Thread Kelven Yang
I updated following wiki to help clarify some of confusions in this area https://cwiki.apache.org/confluence/display/CLOUDSTACK/Using+Spring+in+Clou dStack Kelven On 4/4/13 8:45 PM, "Ryan Dietrich" wrote: >I went ahead and updated the wiki with an example. Feel free to >add/remove/edit what

Re: Plugin woes...

2013-04-04 Thread Ryan Dietrich
I went ahead and updated the wiki with an example. Feel free to add/remove/edit what I've written. -Ryan Dietrich On Apr 4, 2013, at 6:12 PM, Kelven Yang wrote: > We removed auto-scanning recently and we need to update related > documentation as well on guidelines to program components and ad

Re: Plugin woes...

2013-04-04 Thread Kelven Yang
We removed auto-scanning recently and we need to update related documentation as well on guidelines to program components and add/enable a plugin into CloudStack. I'll update the wiki accordingly soon Kelven On 4/4/13 2:50 PM, "Ryan Dietrich" wrote: >Ok, it works now. I just had to add: > > c

Re: Plugin woes...

2013-04-04 Thread Ryan Dietrich
Ok, it works now. I just had to add: to client/tomcatconf/componentContext.xml.in I'll wait for Kelven to update the xml in 4.1, and then I'll pretty up my example plugin and update the wiki. Thank you all for your assistance. -Ryan Dietrich On Apr 4, 2013, at 3:00 PM, Alex Huang wro

RE: Plugin woes...

2013-04-04 Thread Alex Huang
you better instructions on how to add it properly in the latest 4.1 branch. --Alex > -Original Message- > From: Ryan Dietrich [mailto:r...@betterservers.com] > Sent: Thursday, April 4, 2013 1:31 PM > To: dev@cloudstack.apache.org > Subject: Re: Plugin woes... > > I had this work

Re: Plugin woes...

2013-04-04 Thread Ryan Dietrich
> > On 4/4/13 1:24 PM, "Alex Huang" wrote: > >> Ryan, >> >> Did you add it to componentscontext.xml? >> >> --Alex >> >>> -Original Message- >>> From: Ryan Dietrich [mailto:r...@betterservers.com] >>&

Re: Plugin woes...

2013-04-04 Thread Ryan Dietrich
Alex Huang wrote: > Ryan, > > Did you add it to componentscontext.xml? > > --Alex > >> -Original Message- >> From: Ryan Dietrich [mailto:r...@betterservers.com] >> Sent: Thursday, April 4, 2013 1:16 PM >> To: dev@cloudstack.apache.org >>

Re: Plugin woes...

2013-04-04 Thread Kelven Yang
> -Original Message- >> From: Ryan Dietrich [mailto:r...@betterservers.com] >> Sent: Thursday, April 4, 2013 1:16 PM >> To: dev@cloudstack.apache.org >> Subject: Re: Plugin woes... >> >> Oh, I should mention I did this on the 4.1 branch. >> >

RE: Plugin woes...

2013-04-04 Thread Alex Huang
Ryan, Did you add it to componentscontext.xml? --Alex > -Original Message- > From: Ryan Dietrich [mailto:r...@betterservers.com] > Sent: Thursday, April 4, 2013 1:16 PM > To: dev@cloudstack.apache.org > Subject: Re: Plugin woes... > > Oh, I should mention I did t

Re: Plugin woes...

2013-04-04 Thread Ryan Dietrich
Oh, I should mention I did this on the 4.1 branch. On Apr 4, 2013, at 2:10 PM, Ryan Dietrich wrote: > I have written a test plugin, but it is not being picked up by spring. > > Specifically, I am looking at ApiDiscoveryServiceImpl.java > >@Inject protected List _services = null; > My newly