[Opensim-dev] Addon module using IApplicationPlugin does not initialised on startup (RAdmin clone)
Justin Clark-Casey
jjustincc at googlemail.com
Thu Jan 5 23:23:18 UTC 2012
Hi Michelle. The IApplicationPlugin mechanism is separate from the IRegionModule mechanism. If you look in
OpenSim/ApplicationPlugins/RemoteController/Resources you'll see a file called RemoteAdminPlugin.addin.xml. I bleieve
that you'll need to add another plugin entry to this and re-run prebuild.<sh|bat> before rebuilding to pick it up.
This is from memory and code reading, so you may have to play around a bit. Early on in the log file you'll see the lines
22:53:22 - [PLUGINS]: Initializing addin manager
22:53:25 - [PLUGINS]: Loading extension point /OpenSim/Startup
22:53:26 - [PLUGINS]: Trying plugin /OpenSim/Startup/RestRegions
22:53:26 - [PLUGINS]: Plugin Loaded: OpenSim.ApplicationPlugins.Rest.Regions
22:53:26 - [PLUGINS]: Trying plugin /OpenSim/Startup/RemoteController
22:53:26 - [PLUGINS]: Plugin Loaded: OpenSim.ApplicationPlugins.RemoteController
22:53:26 - [PLUGINS]: Trying plugin /OpenSim/Startup/LoadRegions
22:53:26 - [PLUGINS]: Plugin Loaded: OpenSim.ApplicationPlugins.LoadRegions
22:53:26 - [PLUGINS]: Trying plugin /OpenSim/Startup/RegionModulesController
22:53:26 - [PLUGINS]: Plugin Loaded: OpenSim.ApplicationPlugins.RegionModulesController
22:53:26 - [PLUGINS]: Trying plugin /OpenSim/Startup/RestInventory
22:53:26 - [PLUGINS]: Plugin Loaded: OpenSim.ApplicationPlugins.Rest.Inventory
which will indicate whether your plugin was successfully loaded or not.
btw, thanks very much for the RemoteAdmin work. Apologies for not being able to look at it sooner, I do plan to do so
soon. As usual client work keeps getting in the way :).
Best,
Justin
On 05/01/12 15:49, Argus wrote:
> Hi
>
> Lately I have been playing around with Remote Admin and been testing some new commands. Unfortunatly I always need to
> patch newer OS versions to get these implemended in my OS. For Testpurpases I would like to create a addon module which
> basically is a 1:1 clone of the existing RemoteAdmin module were I can implement commands prior to implementation in core.
>
> I have however run into problems now, the addon module is not loaded on startup. The copied addon module does compile
> without errors. When I use IShareRegionModule instead of IApplicationPlugin the addon module does get initialised
> (ignoring the missing IApplicationPlugin functions) . Maybe someone can give me a hint what I could be missing..
>
> Thx
> Michelle
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
More information about the Opensim-dev
mailing list