Questions tagged [eclipse-pde]

Use this tag to ask about the Eclipse Plugin Development Environment which provides tools to create, develop, test, debug, build and deploy OSGi bundles, Eclipse plug-ins, fragments, features, update sites and RCP products.

The Eclipse Plug-in Development Environment (PDE) provides tools to create, develop, test, debug, build and deploy Eclipse plug-ins, fragments, features, repositories, update sites and RCP products.

PDE also provides comprehensive OSGi tooling.

Note that PDE build tools are now in maintenance mode and are no longer being developed, building should be done with Maven and Eclipse Tycho.

For more details see: http://www.eclipse.org/pde/

472 questions
0
votes
1 answer

IllegalStateException: Workspace is closed, while calling ResourcesPlugin.getWorkspace()

I am currently trying to access my eclipse projects by using eclipses workspace and project abstractions, but i failed very soon. Please have a look at the following code: public static void main(String[] args) throws Exception { String[]…
lahnsurfer
  • 15
  • 1
  • 6
0
votes
1 answer

show description of marker in problemview/marker view when click on perticular custom marker on vertical ruler of eclipse default editor

I am new to eclipse plugin development ,I am developing eclipse plugin for displaying custom marker on vertical ruler of the eclipse default editor . I am done with that part which put markers on the line numbers in eclipse editor. This is type of…
ammy
  • 43
  • 10
0
votes
1 answer

Eclipse native launcher with non-OSGi application

Is it possible to use the Eclipse native launcher with a Java application that isn't Equinox-based? For example a simple Swing application contained in myapp.jar. I suppose that if this is at all possible the procedure should be the same on all the…
RobSullivan
  • 651
  • 2
  • 7
  • 15
0
votes
1 answer

Eclipse plugin: Using components of another perspective

I already created a new Eclipse perspective, but I would like to know if it is possible to use the same elements and buttons (toolbar ones) that are in the C/C++ perspective? Is there a way to use them in my own perspective?
robertog8
  • 1
  • 2
0
votes
1 answer

Move the files from the project folder and compile from new location using Eclipse Plugin

So I'm making a plugin and I was wondering would it be possible to move/copy the project from folder A to folder B and then all the compilation is done from folder B? The purpose is that the project files will be encrypted and I would then move them…
Ramis
  • 329
  • 1
  • 4
  • 14
0
votes
1 answer

Eclipse PDE : Programmatically read the contents of the target platform

In my application, the target platform is set to contain some of my custom plugins apart from the eclipse plugins. During the application's usage, I want to check the contents of the target platform against an installed folder which is supposed to…
0
votes
2 answers

Adding a list to a PreferencePage

Update: So far I found class ListEditor which provides the functionality I'm searching for except the 'edit' button and only for one column. The 'Proxy bypass' Page extends directly from PreferencePage. So there is no proper Base Class I could…
Martin Dürrmeier
  • 1,653
  • 5
  • 18
  • 35
0
votes
1 answer

Access Java project source folders from PDE Plug-in

How can one access the Source folders on build paths as they can be seen in the Java Build Path settings page dynamically from within a PDE plug-in? I have access to a IJavaProject instance from which I can also access the IProject instance.
Mathias Soeken
  • 1,293
  • 2
  • 8
  • 22
0
votes
1 answer

How can I find an Eclipse update site of a specific class/package

Is there a convenient way to find an Eclipse update sites? How do I proceed if I want to know the update site of org.eclipse.ui? I had some difficulty finding some update sites while defining a target platform from scratch. I thought it might be…
justSaid
  • 1,540
  • 2
  • 12
  • 23
0
votes
1 answer

What do the PDE icons in Eclipse mean?

Following the question "What do the icons in Eclipse mean?" that has an excellent answer I hope to find what all the icons and icon decorations of the "Plug-ins" and "Plug-ins Dependencies" views of the PDE
Boris Daich
  • 2,431
  • 3
  • 23
  • 27
0
votes
1 answer

Migration of PDE Build to CBI (Common Build Infrastructure)

Since Eclipse CBI (Common Build Infrastructure)is coming into picture, we would migrate like to migrate to it from existing PDE Build system (based on ANT). So how can we do the migration easily? Do we need to create POM.xml file for each plugin,…
Anand
  • 2,239
  • 4
  • 32
  • 48
0
votes
2 answers

Why does Eclipse load all plugins in a workspace?

I'm using Eclipse 3.6 for developing Eclipse plug-in. In the same workspace, I have 2 Plug-in projects: projA and projB. No mater which project was run, both two projects will be loaded in the new Eclipse instance. If I only want to load projA, I…
user2400825
  • 185
  • 2
  • 15
0
votes
1 answer

How to get workspace location in Eclipse 4.x

I need to get workspace a location using API in Eclipse 4.x platform. I know that I can use ResourcesPlugin.getWorkspace().getRoot().getLocation().toString(); but I'm wondering if there is another way to do that without static reference to…
Qinto
  • 205
  • 2
  • 12
0
votes
1 answer

JUnit: No runnable tests in Eclipse. but works with maven

JUnit gives me "No runnable tests" when run under Eclipse, but works fine in the maven build. I had a working test fragment, and then let the host plugin extend an extension point. This implies i need to use "Run an Plugin Test", otherwise the…
kutschkem
  • 7,826
  • 3
  • 21
  • 56
0
votes
2 answers

Eclipse: how to run plugin test as part of local build

Due to incomplete understanding of eclipse infrastructure I have one problem. Historically we have one ugly thing in our build procedure. It looks like following: After eclipse builds entire workspace there is one incomplete thing in local build of…
okutane
  • 13,754
  • 10
  • 59
  • 67