<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-8492250.post6774548357654266319..comments</id><updated>2009-10-12T19:34:06.389+10:00</updated><title type='text'>Comments on Life At The Tuna Ranch: OSGi Pipe Dreams</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.tunaranch.net/feeds/6774548357654266319/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default'/><link rel='alternate' type='text/html' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html'/><author><name>tunaranch</name><uri>http://www.blogger.com/profile/15761663360171407209</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8492250.post-7925128538597206938</id><published>2009-10-12T19:34:06.758+10:00</published><updated>2009-10-12T19:34:06.758+10:00</updated><title type='text'>@Peter Correct. Problem with being half Gen Y and ...</title><content type='html'>@Peter Correct. Problem with being half Gen Y and a Virgo :D&lt;br /&gt;&lt;br /&gt;In all seriousness, though, this is the first time that I&amp;#39;ve a tool be umm... stubborn, if you will. &lt;br /&gt;&lt;br /&gt;@Mirko @Peter That extensions looks like it&amp;#39;ll do the trick, though. That said, I might wait for DM Server to settle down, and see where OSGi Blueprints go before I get my hands dirty again.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/7925128538597206938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/7925128538597206938'/><link rel='alternate' type='text/html' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html?showComment=1255340046758#c7925128538597206938' title=''/><author><name>tunaranch</name><uri>http://www.blogger.com/profile/15761663360171407209</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='08793901207583973164'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html' ref='tag:blogger.com,1999:blog-8492250.post-6774548357654266319' source='http://www.blogger.com/feeds/8492250/posts/default/6774548357654266319' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8492250.post-8209656530159226847</id><published>2009-10-12T17:55:20.963+10:00</published><updated>2009-10-12T17:55:20.963+10:00</updated><title type='text'>Stuart's suggestion is actually what we are using....</title><content type='html'>Stuart&amp;#39;s suggestion is actually what we are using. Works well enough for us in 99% of our cases. Here is a snippet that should get you started in no time:&lt;br /&gt;&amp;lt;plugin&amp;gt;&lt;br /&gt;  &amp;lt;groupId&amp;gt;org.apache.felix&amp;lt;/groupId&amp;gt;&lt;br /&gt;  &amp;lt;artifactId&amp;gt;maven-bundle-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;  &amp;lt;version&amp;gt;2.0.0&amp;lt;/version&amp;gt;&lt;br /&gt;  &amp;lt;extensions&amp;gt;true&amp;lt;/extensions&amp;gt;&lt;br /&gt;  &amp;lt;configuration&amp;gt;&lt;br /&gt;    &amp;lt;instructions&amp;gt;&lt;br /&gt;      &amp;lt;unpackBundle&amp;gt;true&amp;lt;/unpackBundle&amp;gt;&lt;br /&gt;      &amp;lt;manifestLocation&amp;gt;META-INF&amp;lt;/manifestLocation&amp;gt;&lt;br /&gt;      &amp;lt;!-- enable simple spring xml file analysis --&amp;gt;&lt;br /&gt;      &amp;lt;_plugin&amp;gt;aQute.lib.spring.SpringComponent&amp;lt;/_plugin&amp;gt;&lt;br /&gt;    &amp;lt;/instructions&amp;gt;&lt;br /&gt;  &amp;lt;/configuration&amp;gt;&lt;br /&gt;  &amp;lt;executions&amp;gt;&lt;br /&gt;    &amp;lt;execution&amp;gt;&lt;br /&gt;      &amp;lt;id&amp;gt;bundle-manifest&amp;lt;/id&amp;gt;&lt;br /&gt;      &amp;lt;phase&amp;gt;process-classes&amp;lt;/phase&amp;gt;&lt;br /&gt;      &amp;lt;goals&amp;gt;    &lt;br /&gt;        &amp;lt;goal&amp;gt;manifest&amp;lt;/goal&amp;gt;&lt;br /&gt;      &amp;lt;/goals&amp;gt;   &lt;br /&gt;    &amp;lt;/execution&amp;gt;&lt;br /&gt;  &amp;lt;/executions&amp;gt;&lt;br /&gt;&amp;lt;/plugin&amp;gt;&lt;br /&gt;&lt;br /&gt;Read through the &lt;a href="http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html" rel="nofollow"&gt;documentation&lt;/a&gt; to find more tweaks to adjust it to your specific needs. &lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mirko</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/8209656530159226847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/8209656530159226847'/><link rel='alternate' type='text/html' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html?showComment=1255334120963#c8209656530159226847' title=''/><author><name>Mirko</name><uri>http://www.blogger.com/profile/05180331822627058711</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html' ref='tag:blogger.com,1999:blog-8492250.post-6774548357654266319' source='http://www.blogger.com/feeds/8492250/posts/default/6774548357654266319' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8492250.post-8138538322825869598</id><published>2009-10-12T16:57:20.923+10:00</published><updated>2009-10-12T16:57:20.923+10:00</updated><title type='text'>Wow man, you're picky :-) You want to work things ...</title><content type='html'>Wow man, you&amp;#39;re picky :-) You want to work things out of the box for all your choices! Unfortunately, OSGi is used in many different areas and therefore has no extensive support for a specific configuration like yours.&lt;br /&gt;&lt;br /&gt;The easiest solution seems to be Stuart&amp;#39;s advice, use the bundle plugin. This is based on bnd.&lt;br /&gt;&lt;br /&gt;bnd has a built-in plugin for spring, you can activate it with (I think, I do not use maven):&lt;br /&gt;&lt;br /&gt;&amp;lt;_plugins&amp;gt;aQute.lib.spring.SpringComponent&amp;lt;/_plugins&amp;gt;&lt;br /&gt;&lt;br /&gt;If you have problems with this, let me know. Kind regards,&lt;br /&gt;&lt;br /&gt;   Peter Kriens</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/8138538322825869598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/8138538322825869598'/><link rel='alternate' type='text/html' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html?showComment=1255330640923#c8138538322825869598' title=''/><author><name>Peter Kriens</name><uri>http://www.blogger.com/profile/11373850803487010328</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html' ref='tag:blogger.com,1999:blog-8492250.post-6774548357654266319' source='http://www.blogger.com/feeds/8492250/posts/default/6774548357654266319' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8492250.post-938499941333022747</id><published>2009-10-08T22:33:06.637+10:00</published><updated>2009-10-08T22:33:06.637+10:00</updated><title type='text'>@pat The big reason I didn't go with bundlor was b...</title><content type='html'>@pat The big reason I didn&amp;#39;t go with bundlor was because you had to duplicate project info, and it couldn&amp;#39;t even convert the version number (especially if it contains -SNAPSHOT) into an osgi version. &lt;br /&gt;&lt;br /&gt;Personally I liked bnd better, and if it could parse spring manifests and maybe supported import-template then that&amp;#39;s one thing taken care of.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/938499941333022747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/938499941333022747'/><link rel='alternate' type='text/html' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html?showComment=1255005186637#c938499941333022747' title=''/><author><name>tunaranch</name><uri>http://www.blogger.com/profile/15761663360171407209</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='08793901207583973164'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html' ref='tag:blogger.com,1999:blog-8492250.post-6774548357654266319' source='http://www.blogger.com/feeds/8492250/posts/default/6774548357654266319' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8492250.post-898705745300031099</id><published>2009-10-08T21:33:17.658+10:00</published><updated>2009-10-08T21:33:17.658+10:00</updated><title type='text'>In this case you should use SpringSource Bundlor w...</title><content type='html'>In this case you should use SpringSource Bundlor which parses also your XML files ... an in a newer version of BND it has a plugin to parse also your Spring XML stuff ... aQute.lib.spring.SpringComponent</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/898705745300031099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/898705745300031099'/><link rel='alternate' type='text/html' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html?showComment=1255001597658#c898705745300031099' title=''/><author><name>patbaumgartner</name><uri>http://www.blogger.com/profile/07352442316735203623</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html' ref='tag:blogger.com,1999:blog-8492250.post-6774548357654266319' source='http://www.blogger.com/feeds/8492250/posts/default/6774548357654266319' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8492250.post-1819553069933965998</id><published>2009-10-07T08:28:52.314+10:00</published><updated>2009-10-07T08:28:52.314+10:00</updated><title type='text'>@Mirko:

Yes, I know about OBR, but I don't think ...</title><content type='html'>@Mirko:&lt;br /&gt;&lt;br /&gt;Yes, I know about OBR, but I don&amp;#39;t think DM Server supports provisioning from them at the moment.&lt;br /&gt;&lt;br /&gt;Nexus Pro does support it, and some work has been done to get Apache Archiva to support it as well, but again, DM Server does not support either :/&lt;br /&gt;&lt;br /&gt;That said, I still think it&amp;#39;s a bit redundant having both an OBR and an M2 repo.&lt;br /&gt;&lt;br /&gt;I would definitely like to see where these things go, but for now it&amp;#39;s &amp;quot;Call me when I can &amp;#39;maven deploy&amp;#39; to one&amp;quot;.&lt;br /&gt;&lt;br /&gt;@Mcculls&lt;br /&gt;Yes, I did try maven-bundle-plugin. It gets it about 90% right. Where it mostly falls over is web modules, and it doesn&amp;#39;t know about stuff declared in Spring applicationContexts, so it leaves some stuff out.&lt;br /&gt;&lt;br /&gt;I had a quick play with pax, but I couldn&amp;#39;t figure out how to deploy my project, which is bundles + web modules + dm server in one hit.&lt;br /&gt;&lt;br /&gt;I might have to revisit this when I have some more time.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/1819553069933965998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/1819553069933965998'/><link rel='alternate' type='text/html' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html?showComment=1254868132314#c1819553069933965998' title=''/><author><name>tunaranch</name><uri>http://www.blogger.com/profile/15761663360171407209</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='08793901207583973164'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html' ref='tag:blogger.com,1999:blog-8492250.post-6774548357654266319' source='http://www.blogger.com/feeds/8492250/posts/default/6774548357654266319' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8492250.post-3088576941594500337</id><published>2009-10-07T01:56:54.109+10:00</published><updated>2009-10-07T01:56:54.109+10:00</updated><title type='text'>FYI, if you use maven-bundle-plugin 2.0.1 then oft...</title><content type='html'>FYI, if you use maven-bundle-plugin 2.0.1 then often all you need to do is change the POM packaging from jar to bundle.&lt;br /&gt;&lt;br /&gt;It uses Maven details to configure Bnd...&lt;br /&gt;&lt;br /&gt;&lt;a href="http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html" rel="nofollow"&gt;http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You might also want to look into the OPS4J Pax projects, such as:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://paxrunner.ops4j.org" rel="nofollow"&gt;http://paxrunner.ops4j.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ops4j.org/projects/pax/construct/" rel="nofollow"&gt;http://www.ops4j.org/projects/pax/construct/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For example, try:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;mvn org.ops4j:maven-pax-plugin:run&lt;/i&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/3088576941594500337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/3088576941594500337'/><link rel='alternate' type='text/html' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html?showComment=1254844614109#c3088576941594500337' title=''/><author><name>mcculls</name><uri>http://www.blogger.com/profile/04261077211575061061</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html' ref='tag:blogger.com,1999:blog-8492250.post-6774548357654266319' source='http://www.blogger.com/feeds/8492250/posts/default/6774548357654266319' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8492250.post-8351360789417364178</id><published>2009-10-07T01:27:27.202+10:00</published><updated>2009-10-07T01:27:27.202+10:00</updated><title type='text'>Just as a side note. Did you know that there is a ...</title><content type='html'>Just as a side note. Did you know that there is a semi official spec under RFC112 (http://www.osgi.org/download/rfc-0112_BundleRepository.pdf) called OBR. Felix maintains it and as far as I know, it supports provisioning from a Nexus (Pro?) repository (via console and probably scripting as well). There is currently a lot of work going on in this direction, so maybe soon we can see a fully official and seamless repository integration. Pascal from the Equinox P2 team is currently working on that I think.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/8351360789417364178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8492250/6774548357654266319/comments/default/8351360789417364178'/><link rel='alternate' type='text/html' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html?showComment=1254842847202#c8351360789417364178' title=''/><author><name>Mirko</name><uri>http://www.blogger.com/profile/05180331822627058711</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tunaranch.net/2009/10/osgi-pipe-dreams.html' ref='tag:blogger.com,1999:blog-8492250.post-6774548357654266319' source='http://www.blogger.com/feeds/8492250/posts/default/6774548357654266319' type='text/html'/></entry></feed>