title: How to convert a Liferay portlet to OSGI bundle?
body: <p>I had some problems with my server so i built my portlets and tested them locally on a liferay portlet container. I used portlet 2.0 API for Java and JSR 286 standards. The portlets are built using Spring framework and they work on my local machine. </p>
  
  <p>My question is how do I convert an pack a Spring based portlet, that I have, to a OSGI bundle? What do I nedd to adjust in my current portlet to fit the need's of a OSGI bundle?</p>
  
  <p>I am using eclipse to develope portlets and ant to pack them to a war file and don't know how to use ant to pack it to a osgi bundle jar. </p>
  
  <p>Thank you!</p>