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. -Bertrand
