268269270271272273274275276277278
getLog().info("Runner Service available"); invokeRun(runner, felix.getBundleContext()); try { felix.stop(); felix.waitForStop(5000); // Delete felix-cache File cache = new File(m_targetDir.getAbsolutePath() + "/felix-cache"); cache.delete(); } catch (Exception e) {
251252253254255256257258259260261
Object runner = waitForRunnerService(felix.getBundleContext()); invokeRun(runner, felix.getBundleContext()); try { felix.stop(); felix.waitForStop(5000); // Delete felix-cache File cache = new File(m_targetDir.getAbsolutePath() + "/felix-cache"); cache.delete(); } catch (Exception e) {
267268269270271272273274275276277
264265266267268269270271272273274
// shutdown the Felix container if (myFelix != null) { logger.log(Logger.LOG_INFO, "Shutting down Sling"); try { myFelix.stop(); myFelix.waitForStop(0); } catch (BundleException be) { // may be thrown by stop, log but continue