SpringDM Run Configuration - Artifacts not deploying

Hello All,

I have embarked on a 3 day saga to get my Code, Compile, Deploy workflow set up for 2 projects that will be done on OSGi, and more specifically SpringDM Server ( Now Virgo ).  As a bit of a background I am comming from Eclipse where OSGi developement tools are way superior to anything I have seen until know in Intellij. It does have 1 big caveat, the fact that when you are about to deploy to production all hell breaks loose because eclipse took over the classpath during development.

So I am using Maven to create my bundles, and I have set up the OSGi Facet to find the Manifest.MF file created by the maven-bundlor-plugin, and doesn't try to create it on its own, this is all working because I was able to deploy my bundles with a stand alone Felix container.

Next Up  SpringDM Run Configuration. Here I have set up my project modules to be DM Bundles which immediately makes them available in the "Deploy Artifacts" tab of the "SpringDM" run configuration. I select the artifacts there and run the server. For the life of me I do not understand why the bundles are not getting deployed on the server.

The bundles are created by osmorc (i think) under the [Project Root]/out/artifacts directory, and I have inspected some (not all) of the bundles to make sure the Manifest headers are in order.

I did follow this post http://blogs.jetbrains.com/idea/2010/05/spring-dmserver-support-for-intellij-idea/ which is a bit outdated but makes sense, but it just wouldn't work.

I would like to ask if there someone here that is working with the following combo Intellij + Maven + SpringDm/Virgo and give me a brief insight on the development workflow, to see if I am missing something blatantely obvious.


Best Regards,
Fotis

2 comments
Comment actions Permalink

Hello,

Unfortunately I can't reproduce the problem with simple test artifacts I am using for Virgo.
I would like to ask you to provide me with some minimal project that allows to reproduce the issue.

If this is not an option, I need at least:
- DM server console output
- screenshot of IDEA UI after the unsuccessfull deployment

Regards,
Michael

0
Comment actions Permalink

Hello Michael,

Thank you very much for your effort.

I eventually dropped the whole SpringDM thing, and went with an ApacheFelix deployment which brought along with it a whole other bag of issues.

If I try SpringDM/Virgo again, I will make sure to revisit this thread.

Best,
Fotis

0

Please sign in to leave a comment.