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
41
votes
6 answers

How to run Eclipse launch configurations programmatically?

I'm finding it difficult to phrase this question well, as there are quite a few generic terms (run, configuration, launch, etc.). Here goes: You can save run configurations in a .launch file. (in the Run Configuration Dialog, under the Common tab,…
jamesh
  • 19,863
  • 14
  • 56
  • 96
37
votes
7 answers

How can I disable "Initialize Java Tooling" on Eclipse startup?

In our application which is a Eclipse plugin, when Eclipse starts it takes long time and the users are seeing "Initialize Java tooling" message on the left down corner of application. Because our users don't have anything to do with java, I wonder…
Govan
  • 2,079
  • 4
  • 31
  • 53
32
votes
4 answers

Programmatically showing a View from an Eclipse Plug-in

I have a plug-in to an Eclipse RCP application that has a view. After an event occurs in the RCP application, the plug-in is instantiated, its methods are called to populate the plug-in's model, but I cannot find how to make the view appear without…
Brian
  • 751
  • 1
  • 6
  • 18
24
votes
5 answers

Deploying a newly developed Eclipse Plugin

I have written an Eclpise plugin (an Error Parser for the CDT), and it works just fine in the debugger version of eclipse. However I cannot for the life of me figure out how to install the plugin into eclipse. I can export the plugin as a jar…
David Martin
  • 1,045
  • 2
  • 11
  • 14
23
votes
9 answers

Running Eclipse Junit Plugin tests with Junit 4.4 or newer -- why aren't tests detected?

I need to use JUnit 4.4 (or newer) in a set of eclipse plugin tests, but I've run into the following problem: Tests are not detected when running with the junit 4.4 or 4.5 bundles from springsource (junit44 and junit45). The org.junit4 bundle that…
rcreswick
  • 16,483
  • 15
  • 59
  • 70
22
votes
6 answers

Building Eclipse plugins and features on the command line

I have a bunch of Eclipse plugins and features, which I would like to build as part of a nightly (headless) build. I've managed to do this using a complicated setup involving manually specifying paths to Eclipse plugin jars, copying…
JesperE
  • 63,317
  • 21
  • 138
  • 197
20
votes
3 answers

How do I get the workbench window to open a modal dialog in an Eclipse based project?

In order to open a modal dialog, you need to pass a parent window, and pass the necessary flags for the dialog to be modal of course. Depending on where you are in the eclipse infrastructure, finding this parent window is not always easy. How can…
Tirno
  • 1,568
  • 2
  • 16
  • 21
20
votes
1 answer

Bundle 'org.eclipse.core.runtime' cannot be resolved

I recently upgraded from Eclipse Kepler to Luna. A plugin I had been working on is now showing build errors without any source being changed. Here is an extract from my MANIFEST.MF, Require-Bundle: org.eclipse.core.runtime;bundle-version="3.7.0", …
clockworkgeek
  • 37,650
  • 9
  • 89
  • 127
17
votes
2 answers

What's 'API Baseline' in Eclipse PDT

Since upgrading to Eclipse 3.7, the Eclipse PDE plugin wants me to specify an 'API Baseline' for all my Eclipse Plugin projects. However there seems to be no documentation which actually explains what 'API Baseline' stands for here, and what is it…
pdeva
  • 43,605
  • 46
  • 133
  • 171
16
votes
7 answers

Automating unit tests (junit) for Eclipse Plugin development

I am developing Eclipse plugins, and I need to be able to automate the building and execution of the test suite for each plugin. (Using Junit) Test are working within Eclipse, and I can break the plugins into the actual plugin and a fragment plugin…
rcreswick
  • 16,483
  • 15
  • 59
  • 70
14
votes
1 answer

Eclipse Plugin Settings - Activation and Singleton Settings

In the Eclipse manifest editor, there exist check boxes for enabling/disabling plug-in activation and singleton behavior, as shown below: [ ] Activate this plug-in when one of its classes is loaded [ ] This plug-in is a singleton Questions: When…
13
votes
3 answers

Eclipse Plugin: how to get the path to the currently selected project

I am writing an Eclipse plugin that will display a menu item in the context menu for a Java Project. I have written the plugin.xml as follows:
DaveJohnston
  • 10,031
  • 10
  • 54
  • 83
13
votes
2 answers

Eclipse: What is the minimum Eclipse installation needed for a headless PDE build?

I am currently using PDE build in headless mode to build my OSGI Bundle project. The PDE Antrunner task uses an Eclipse installation and I am just pointing it to my local Eclipse installation. unfortunatelly my eclipse installation is about 260MB…
Christoph
  • 3,980
  • 2
  • 40
  • 41
11
votes
2 answers

JaCoCo does not show the source files in the HTML coverage report for multi projects

I'm using PDE and in my build.xml I compile my code and try to create a coverage report using JaCoCo and JUnit. I noticed that it does now show the sourcefile, even though I added sourcefiles section in the structure section of jacoco:report. In…
vesii
  • 2,760
  • 4
  • 25
  • 71
10
votes
1 answer

Best practices for Eclipse Feature Integration Testing

I am developing an Eclipse feature consisting of several Eclipse plugins, using Equinox Declarative Services (DS) to wire the plugins together at runtime. I would like to add integration tests to verify the equinox configuration. In particular, I…
Aaron Novstrup
  • 20,967
  • 7
  • 70
  • 108
1
2 3
31 32