2011/2/14 Bertrand Delacretaz <[email protected]>: > Hi, > > On Sun, Feb 13, 2011 at 12:22 PM, Olivier Grisel > <[email protected]> wrote: >> 2011/2/13 Rupert Westenthaler <[email protected]>: >>> Hi >>> >>> after some digging I found the reason for this is the unavailability >>> of the geonames.org webserivce >>>... >>> I suggest to deactivate all engines that depend on external service >>> for the integration builds. However I have no Idea how to do that >>> other than creating an own sling launcher configuration that excludes >>> such engines. >> >> A launcher for off-line stanbol is a good idea anyway: it would be >> useful for people pre-loading the entithub with precomputed entity >> dumps and only use enhancements related to this local base without >> relying on an internet connection to remote services and / or >> knowledge bases. > > How about using a global stanbol.offline.mode system property instead > of a different launcher? > > We can then create a component that registers an OnlineMode service > only if that property is not true. > > Then, components that are only active if online just need an > @Reference to that OnlineMode service, and they'll all go away if the > property is set to true.
Why not. We could also have re-purpose the "lite" launcher to only include standalone bundles (those who don't require an online access). Both solutions are fine to me. We could even implement them both at the same time. -- Olivier http://twitter.com/ogrisel - http://github.com/ogrisel
