Archive for the ‘ Eclipse ’ Category
Have you ever written an Eclipse Plug-In that has to call an Ant-Script? OK, I’m sure you get this done. Maybe then you’ve ask yourself (or someone else ): “How do I get the Ant output into the console of Eclipse?” So, I have and also was asked. My spontaneous and innocent answer: “Just call [ READ MORE ]
Once again e4 (exactly what’s in) was on the agenda. And i will have to say once more that a deeper look to e4 is required Another topic was about JPicus. An I/O Analyser made by SAP. You can inject JPicus into the JVM of your application by adding JPicus as a java-agent (“-javaagent:jpicus.jar”). Very [ READ MORE ]
Today i’ve participated in the OSGi Meeting which was launched at the early beginning of eclipse summit. The first topic on this session was the “new” released OSGi Spec. 4.2. And in context of that, the OSGi Service Notation was announced. Not very special but important to know. First of all to bring the communication [ READ MORE ]
Tonight i’ve been arrived at Ludwigsburg to attend Eclipse Summit Europe 2009 from tomorrow 27. until Thursday 29. October. There is a big program launched and I’m looking forward to attend in a few presentations during the next days. 27. Oct OSGi Meeting – Parallel to the Eclipse Summit Europe there is the first OSGi [ READ MORE ]
The org.eclipse.equinox.ds bundle released with Eclipse Galileo supports lazy activation of declarative services. The source code of org.eclipse.equinox.ds is located at dev.eclipse.org/cvsroot/rt/org.eclipse.equinox/compendium/ bundles/org.eclipse.equinox.ds And there we will find the following source code lines: Important is the check if the bundle is in the LAZY_ACTIVATION state. In this case the bundle will also be started in [ READ MORE ]
There are a looooot of new features added to this new version of eDependency. Take a look at the project site[ READ MORE ]
In our opinion one of the biggest improvements to OSGi comes by classloading. Just as basic as it is the more important it becomes. This topic will present some basics of OSGi classloading – what you can do, what it implies and what’s the meaning of. Let us start off from the ground. The basic [ READ MORE ]
The following code-lines will give you the possibility to find the bundle which exports a specific package. Note: It’s not considered that different versions of a bundle may be available. be happy until cancelled, Your Codescale’s public class LookupExportedPackage { /** * Lookup for a bundle which exports the specified * <code>packageName</code>. Else <code>null</code> will [ READ MORE ]
Simple question: “What will happen if a bundle stops but his service is in use?” Maybe you remember my topic on ‘How-To and Why-To use an OSGi-Service or Eclipse-ExtensionPoint‘. In that i’ve also given a simple example on an osgi-service. There we’ve got one supplier who distributed books to a library. Also we’ve got one customer [ READ MORE ]
You may know that the osgi classloading is a bit different as usual. In Equinox there are also Buddies and Fragments which effect the Classloading. This influences a Class.forName() as well as Class.getResource() (If you need to load a resource also try bundle.getEntry() !). If you load by getSystemResource(), forget about this command! You will [ READ MORE ]
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 2 other followers
Get every new post delivered to your Inbox.