摘要: 此文章限于用Maven 构建的Osgi(felix)写好一个例子,并用maven已经编译好,将其在外部运行,如图所示但是start之后并不执行各个bundle中的Activator(Activator中都有输出语句)原来是在MANIFETS.MF中没有指定ActivatorBundle-Activator: com.demo.Activator如何指定?可以在eclipse中的pom.xml中添加属性:<properties> <Bundle-Activator>com.demo.use.Activator</Bundle-Activator></pr 阅读全文
posted @ 2012-04-18 10:28 haoxx 阅读(943) 评论(2) 推荐(1) 编辑