Being the one who wrote that particular piece of code the reasoning was mainly:
“Well I copied and pasted it already and it does not hurt, so it might as well stay in. If someone else changes it at some point having something excluded might come in handy.” Your surmise is absolutely correct. Best, Caspar Von: Nil Goyette [mailto:nil.goye...@imeka.ca] Gesendet: Mittwoch, 17. Juni 2015 16:28 An: Kislinskiy, Stefan; mitk-users@lists.sourceforge.net Betreff: Re: [mitk-users] Configuration Admin service unavailable Ah, nice, I wasn't aware of other plugins, like "org.commontk.configadmin". Thank you. I have another question on this subject. Is there a reason to use PLUGINS and EXCLUDE_PLUGINS together? I would have thought that only the plugins in PLUGINS were added, thus all other plugins were logically excluded... Nil Le 2015-06-17 10:15, Kislinskiy, Stefan a écrit : Hi Nil, please have a look at Applications/Diffusion/CMakeLists.txt as reference, i.e. there’s also a list entry for org.commontk.configadmin (and some others). Best regards, Stefan From: Nil Goyette [mailto:nil.goye...@imeka.ca] Sent: Mittwoch, 17. Juni 2015 15:41 To: mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net> Subject: [mitk-users] Configuration Admin service unavailable Hi all, On MITK 2015.05, instead of using the EXCLUDE_PLUGINS keyword in mitkFunctionCreateBlueBerryApplication, I used the PLUGINS keyword and now I see this message when I open my application: "Configuration Admin service unavailable, cannot set home page url." I guess I see this warning because I forgot to add at least one plugin but I can't find which one! The code doesn't help me much. ctkServiceReference cmRef = context->getServiceReference<ctkConfigurationAdmin>(); configAdmin = context->getService<ctkConfigurationAdmin>(cmRef); if null, warn Here's my list of plugins: set(_plugins org.blueberry.core.commands org.blueberry.core.expressions org.blueberry.core.jobs org.blueberry.core.runtime org.blueberry.ui.qt org.mitk.core.ext org.mitk.core.jobs org.mitk.core.services org.mitk.gui.common org.mitk.gui.qt.coreapplication org.mitk.gui.qt.datamanager org.mitk.gui.qt.ext org.mitk.gui.qt.extapplication org.mitk.gui.qt.imagenavigator org.mitk.gui.qt.moviemaker org.mitk.gui.qt.stdmultiwidgeteditor org.mitk.gui.qt.volumevisualization ... our own plugins ... ) set(_exclude_plugins ) Thank you for your time. Nil
------------------------------------------------------------------------------
_______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users