由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 问一个spring dynamic module/OSGi的问题
相关主题
请教一个java web application设计的问题in eclipse, how do you use inter dependencies?
问个 maven multi-module project dependency 的问题jetty疑问
帮忙看看maven 的问题一个class file dependencies 太多怎么搞?
现在学Spring需要装Maven吗?有人用过 ObjectDB in Maven 没有?
如何让一个package使用另一个package的sourceMaven question
谁给科普一下 OSGi请教一个maven 管理项目的问题
Argh, maven sucks俺梦想的系统
dependency version collision problem为什么Tomcat看不到新建的maven项目?
相关话题的讨论汇总
话题: bundle话题: osgi话题: jar话题: spring话题: module
进入Java版参与讨论
1 (共1页)
y****e
发帖数: 23939
1
请问怎么能include一个bundle,而这个bundle只有data modle的。其实就是这个
bundle有SOAP的contract bean的定义。我想要用这些contract bean,怎么能把它
include到我的project里面来呢?现在是我可以编译通过,但是因为deploy的时候没有
这个bundle,就会报dependency的错。而那个bundle的jar file根本就不在最后的包里
面。
b***i
发帖数: 3043
2
你什么工具?Eclipse?Export?
自己把bundle的jar放进去不行吗?

【在 y****e 的大作中提到】
: 请问怎么能include一个bundle,而这个bundle只有data modle的。其实就是这个
: bundle有SOAP的contract bean的定义。我想要用这些contract bean,怎么能把它
: include到我的project里面来呢?现在是我可以编译通过,但是因为deploy的时候没有
: 这个bundle,就会报dependency的错。而那个bundle的jar file根本就不在最后的包里
: 面。

x****d
发帖数: 1766
3
not sure what you are asking, are you saying your bundle can't be installed
into the container? what container you are using?
y****e
发帖数: 23939
4
container用的Felix,用spring DM设置,我不知道怎么把这个只有data的jar加进去。
比如象这个在在bundle-context-osgi.xml中:

还有这个POM中的

org.springframework.aop
org.springframework.aop.framework
org.springframework.jdbc.core

都是做什么的啊?我想加的bundle因为只是contract data bean,不知道怎么配置才好。

installed

【在 x****d 的大作中提到】
: not sure what you are asking, are you saying your bundle can't be installed
: into the container? what container you are using?

y****e
发帖数: 23939
5
我仔细检查了一下,还真的是你说的这个问题。我们用的是Felix,不过是用maven做了
个distribution的包,要把需要的jar file include进去。其实就是你说的把bundle的
jar放进去,只不多是让maven来做的。我对这个软件还不太熟,所以搞糊涂了。
谢谢楼上两位的热心回答。

【在 b***i 的大作中提到】
: 你什么工具?Eclipse?Export?
: 自己把bundle的jar放进去不行吗?

1 (共1页)
进入Java版参与讨论
相关主题
为什么Tomcat看不到新建的maven项目?如何让一个package使用另一个package的source
Spring菜鸟求救谁给科普一下 OSGi
JB JAVA Bean,SERVLET位置一问Argh, maven sucks
Java笔试题分享-EJBdependency version collision problem
请教一个java web application设计的问题in eclipse, how do you use inter dependencies?
问个 maven multi-module project dependency 的问题jetty疑问
帮忙看看maven 的问题一个class file dependencies 太多怎么搞?
现在学Spring需要装Maven吗?有人用过 ObjectDB in Maven 没有?
相关话题的讨论汇总
话题: bundle话题: osgi话题: jar话题: spring话题: module