Questions tagged [equinox]

Use this tag for questions about Equinox which is an implementation of the OSGi R4 core framework specification, a set of bundles that implement various optional OSGi services and other infrastructure for running OSGi-based systems.

Eclipse Equinox provides a certified implementation of the OSGi R4.x core framework specification. It is a modular runtime that allows developers to implement an application as a set of "bundles" using the common services and infrastructure.

603 questions
10
votes
1 answer

Eclipse p2 : Difference between category.xml and site.xml

p2 repository creation ant tasks like eclipse.publish.featuresAndBundles seem to take a site.xml or category.xml file which specifies the category information. I see that the contents of site.xml and category.xml that eclipse generates are exactly…
pdeva
  • 43,605
  • 46
  • 133
  • 171
10
votes
3 answers

Can Eclipse 3.5 discover all bundles in the plugins dir?

Simple usecase: assemble an Eclipse product using simple scripts, just dumping bundles into the plugins dir. This used to work with 3.3 - with 3.5 it's broken: my application doesn't start as the app plugin is not found. Question: what's the…
inger
  • 19,574
  • 9
  • 49
  • 54
8
votes
5 answers

Equinox start error (console bundle is missed)

java.version=1.6.0_10 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -console -configuration runtime ENTRY org.eclipse.osgi 4 0 2012-03-28 15:50:09.721 !MESSAGE Could not…
boredmgr
  • 272
  • 1
  • 7
  • 20
8
votes
1 answer

what is the difference between and in spring DM

what is the difference between and in the xml config file of spring DM.
chao luo
  • 143
  • 1
  • 2
  • 7
8
votes
1 answer

OSGi Declarative Services in Eclipse, multiple service interfaces, and Thread Safety

I just stumbled over a phenomenon in my code which comes down to this: I have an OSGi Declarative Service providing two service interfaces configured as follows:
Stefan Winkler
  • 3,871
  • 1
  • 18
  • 35
8
votes
5 answers

Eclipse OSGI config: relative paths and/or @config.dir-like substitutions?

In my RCP app, I would like to point a property (osgi.java.profile) to a file, and would prefer using paths relative to my installation and config dir. Is there a definitive spec on what kind of variables are supported in config.ini? @config.dir…
inger
  • 19,574
  • 9
  • 49
  • 54
8
votes
3 answers

Launching OSGi from IDEA

I develop scala application using IntelliJ IDEA. I'd like my application modules to be OSGi bundles. In Eclipse it is possible to create a project which is both scala project and plug-in project. Eclipse also supports launching of Equinox platform…
Wojciech Durczyński
  • 2,627
  • 2
  • 16
  • 11
8
votes
2 answers

Eclipse RCP: Target platform - Eclipse vs. Equinox?

I'm just starting with OSGi and Eclipse RCP. Could someone explain to me the difference between "Eclipse" and "Equinox" as the target platform, when creating a new eclipse plugin project? I still know that Equinox is Eclipse's implementation of…
Marc-Christian Schulze
  • 3,154
  • 3
  • 35
  • 45
8
votes
6 answers

Starting OSGi bundle

I try to run OSGi plug in in Eclipse. It is empty bundle, but eclipse always send me errors There are my console messages http://pastebin.com/dqQfpQhd What is wrong?
EK.
  • 2,890
  • 9
  • 36
  • 49
8
votes
1 answer

In Equinox Is it possible to to mark an OSGi bundle as started from its containing feature's p2.inf?

I have an Eclipse feature which includes several bundles. I want to tell p2 to mark one of those bundles as started when the feature is installed. This is possible using the bundles own META-INF/p2.inf like so, instructions.configure =…
Miles Sabin
  • 23,015
  • 6
  • 61
  • 95
8
votes
6 answers

Service References in OSGi

Once an instance of an OSGi service is retrieved from the bundle context does it become invalidated when the service is stopped? My initial tests show that the service instance can be used even after the service bundle is stopped, which contradicts…
James Carr
  • 797
  • 2
  • 10
  • 21
7
votes
1 answer

Does there exist an overview of OSGi terminology, frameworks and their relations?

I'm trying to get comfortable in the vast ecosystem of enterprise OSGi programming, but I find it very difficult to get an overview of how this technology stack is put together, which technologies build upon one another, which technologies solve…
Tormod Haugene
  • 3,538
  • 2
  • 29
  • 47
7
votes
5 answers

EclipseLink : No Persistence provider for EntityManager named

I'd like to create one Bundle that is able to use Java Persistence. To achieve this, I've created a plugin project within Eclipse. In my project, I've created a persistence.xml file into META-INF. I've aslo added in my MANIFEST.mf (into the…
user376112
  • 859
  • 5
  • 15
  • 24
7
votes
1 answer

Sling logging configuration in Equinox

I am trying to use Apache Sling logging in an Equinox project. It is working fine, but I can't make Sling to use my config file. I am using a standard logback configuration xml, which should work according to the Sling documentation. But no matter…
Rian Schmits
  • 3,096
  • 3
  • 28
  • 44
7
votes
4 answers

OSGi + Logback + slf4j - Eclipse Run Configuration

Here is my configuration: We are developing an OSGi application and want to include logging. I decided to use slf4j + logback. We are using Eclipse as an IDE and Tycho to benefit from the Eclipse IDE like Manifest Editor and so on. So I have tried…
hueck
  • 193
  • 3
  • 15
1
2
3
40 41