Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can configure the OSGI frameworks that Osmorc uses from the plugin+ project settings. I use IntelliJ IDEA 11.1.2 and Osmorc 1.4.2.</p> <p>Here is a screenshot where I configure the OSGI container (at IDE Settings-->OSGi) to some local installation of Apache Felix 4.0.1. </p> <p><img src="https://i.stack.imgur.com/4SaD4.png" alt="OSGi Framework Definiton"></p> <p>You can also define your custom framework/container and then select the desired OSGI framework to use at Project Settings-->OSGI as seen below:</p> <p><img src="https://i.stack.imgur.com/Bucxk.png" alt="OSGi Framework selection"></p> <p>In order to create Run configurations, you first need to create some OSGi facets. Hopefully, you are also using maven and the maven-bundle-plugin which will greatly reduce the amount of configuration you need to do(since OSmorc automatically syncs with your pom.xml), but even if you do not, you can manually edit the information for creating the bundles.</p> <p>So, what you need to do next is create some OSGi facets. Go to Project "Structure-->Facets" and add a new OSGi facet for each bundle you wish to create. It you have automatic detection turned on, then the facets maybe already there. If not, then add them manually and then configure them as you see appropriate, like in the following example.</p> <p><img src="https://i.stack.imgur.com/l8Of5.png" alt="Intellij IDEA OSGi Facet Configuration"></p> <p>Finally edit your "Run Configurations" and add a new OSGi run configuration. Select the framework you wish to use and the bundles you wish to start as well as other parameters, like in the following example:</p> <p><img src="https://i.stack.imgur.com/k0jdq.png" alt="Intellij IDEA OSGi Run Configuration"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload