I just fixed some weird behaviour with one of my plug-ins that depend from another one since it uses some extension point. The message was that the extension point in the plugin could not be found. After some search on the net I stumbled upon the Eclipse Wiki Book. All the tips mentioned there did not help. What I noticed though was a bunch of access rules. Among them the following: forbidden */**. So I compared the Manifest file with other plug-ins there I noticed the one with the problem had an entry „Eclipse-Buddy: global“. Removing this line got me rid of the access rules and my problem.
Since all other plug-ins are based on 3.2 and only this on 3.4 I figure that might be the problem.
Kategorie: Java
Tipps und Tricks rund um die Programmiersprache Java
Work around protected method definitions
Sometimes you want to call a protected method but you class is not a subclass and neither in the same package.
„Work around protected method definitions“ weiterlesen
Remove button to remove itself
This article describes how to implement a table with SWT that holds several rows. Each row contains a button to remove this row.
„Remove button to remove itself“ weiterlesen
In Three steps to your Java Emitter template
Creating a Java Emitter Template (JET) is no easy feat, but if you have the right infrastructure set up it’s not that difficult.
This article is based on the Java Code Generator plug-in for Eclipse.
„In Three steps to your Java Emitter template“ weiterlesen
How to debug a Java Emitter template
This is a tricky task. The generation of a piece of code – let’s assume that it is a Java class – is based on a java emitter template that defines with literal constants and JSP like syntax the code of the resulting class. To create a source file a Java generator class is generated from the template. This generator class produces dour output Java source file.
„How to debug a Java Emitter template“ weiterlesen