OSGi 在 Virgo 上使用 SpringDM,从 Eclipse 运行,MAC 与 Windows 开发
这个问题更像是“有人以前经历过类似的事情吗?如果有,问题是什么?”。
在工作中,我使用 iMac 进行日常编程。经过一些最初(并且仍然偶尔)的挣扎后,我让我的项目在 Virgo 服务器上运行。独立运行或从 Eclipse 运行,两者都可以工作。
我在家里的 Windows PC 上检查了相同的代码,安装了相同版本的 Eclipse 和 Virgo。我采取了相同的安装&配置步骤就像在工作中的 Mac 上一样。我可以启动该项目并独立运行。但是,当我尝试从 Eclipse 中部署项目时,无论我如何尝试,某些捆绑包都不会部署。
作为绝望的最后选择之一,我什至将 Virgo 移至 ac:\v,以防路径太长。仍然没有成功。
以前有人经历过类似的事情吗?原因是什么?我可能缺少任何隐藏配置吗?
谢谢, 扬
This question is more of type "has anyone experienced something similar before and if so, what was the issue?".
At work I use an iMac to do my daily programming. After some initial (and still occasional) struggles, I got my project running on Virgo server. Stand-alone or from Eclipse, both work.
I checked out the same code at home on my Windows PC, installed same version of Eclipse and Virgo. I took the same installation & configuration steps like on the Mac at work. I can get the project up & running stand-alone. However, when I try to get the project deployed from withing Eclipse, no matter what I try, some bundles would not deploy.
As one of desperate last options I even moved Virgo to a c:\v, just in case the path was to long. Still no success.
Did anyone experience something like this before? What was the reason? Any hidden configuration I might be missing?
Thanks,
Jan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以查看 Virgo\work\org.eclipse.virgo.kernel.deployer_\staging\global\bundle\ 目录。 Virgo 工具通常应部署到此目录并调用部署程序。也许有一些问题。我想,您已经检查了调试输出日志吗?也许这不是部署的问题,而是其他问题。
you can have a look at the
Virgo\work\org.eclipse.virgo.kernel.deployer_<someVersion>\staging\global\bundle\
directory. Virgo tooling should normally deploy to this directory and invoke the deployer. maybe there are some issues. i suppose, you already checked the debug-output-logs? maybe it issnt a problem of deployment but something else.