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
3
votes
2 answers

Shall I add my unit test folder to the java build path in Eclipse?

We are developing an Eclipse product made of several plugins, some of them developed by us. Each of our plugins has be defined as an Eclipse plugin project in workspace and has two folders, source and test. Recently I noticed that we are delivering…
Govan
  • 2,079
  • 4
  • 31
  • 53
3
votes
1 answer

How to correctly specify eclipse-plugins in category.xml of tycho eclipse-repository?

I want to create a p2 repository of some eclipse-plugins during a tycho build. My category.xml looks like this:
SpaceTrucker
  • 13,377
  • 6
  • 60
  • 99
3
votes
1 answer

Eclipse Incremental Builder Plugin does not work

I recently started working with Eclipse's Plug-in development environment on Eclipse RCP (4.2.1 Juno). I created a project with the Incremental Builder Template. My goal is to perform a build process on the user code after Java Build is over. The…
Mostafa Zeinali
  • 2,456
  • 2
  • 15
  • 23
2
votes
1 answer

Eclipse 3.7 RCP Application with multiple plugins

What is the right way to make an RCP application that is “ready for plugins”? I have struggled to do this basic concept and am trying to accomplish this in Eclipse 3.7 (latest 3.x version). Step 1 I would like to explore this by using 3 eclipse…
2
votes
1 answer

Eclipse PDE: what should 'categorize repository' do on an export of a deployable feature?

I have a category.xml file. I'm exporting a feature as a deployable feature. I've checked the 'categorize repository' box and given it a path to the category.xml file. Then I export to a directory. As far as I can tell, this has no effect on the…
James Moore
  • 8,636
  • 5
  • 71
  • 90
2
votes
2 answers

Eclipse: mocking up the platform for testing

I am developing an Eclipse plugin and have tests for it. Some are regular JUnit tests, some are PDE tests (i.e. require starting an eclipse instance to be able to access eclipse internals). I wonder if it would be a good idea to try to turn some of…
Vlad Dumitrescu
  • 931
  • 5
  • 11
2
votes
2 answers

Headless pde build with Java 7 / Eclipse 3.7.1 fails

We are trying to get a working headless PDE build for our application but compiling fails during the build with the following message: ERROR in C:\...\TimerManager.java [javac] private final Map>…
jonas
  • 31
  • 4
2
votes
1 answer

Custom project type with Eclipse plugin

I'm looking to make a custom project type with an Eclipse plugin where the files for the project are actually stored on a remote server but displayed to the user as normal. I can handle connecting to the server to fetch the files and all of that…
Gary
  • 926
  • 3
  • 12
  • 24
2
votes
0 answers

Eclipse Plugin Development - how to set project baseline?

Wanted to take a look at developing an Eclipse plugin. Installed the Plugin Development Environment and created a new plugin project from the "Hello World" plugin template. Initially I got an error that there was no API Baseline defined. So, I…
Adam
  • 6,539
  • 3
  • 39
  • 65
2
votes
1 answer

Add Button to Eclipse view toolbar without using viewer

I am trying to create an Eclipse PDE plugin that has a view with a button in the view's tool bar. The view is intended to display text, which will change format when the toolbar button is clicked. I have been trying to work around using a viewer,…
Katya
  • 83
  • 7
2
votes
1 answer

PDE Build cannot resolve classes in plugins it depends on

Working Eclipse features and plugins, I have a problem with building two separate features (lets call them One and Two) where Two contains plugins that depend on plugins in One. I use PDE Build and ideally would like to have the option to build just…
Ansig
  • 311
  • 1
  • 4
  • 7
2
votes
1 answer

Setting source level to Java 8 in PDE build property file

we're currently trying to upgrade our software solution to Java 8 from previously Java 6. We've already succeeded in getting everything to run and build on our development machines, but are now stuck on our build server being unable to build certain…
Radioo
  • 422
  • 5
  • 18
2
votes
1 answer

Specifying path with whitespace in eclipse on mac os

I need to mention a path variable in eclipse Helios on Mac Os. The path I am specifying contains whitespace in it. Example: user/folder/android sdk I have tried following ways which failed in the end: Specifying path in quotes both single &…
Rj71439
  • 131
  • 1
  • 4
2
votes
1 answer

Target platform not found if building from child project with Tycho

In my project there are multiple eclipse product files (100+ for different customers), I would like to build only one specific product at the time. If I build the whole project from the root folder, the project is build correctly with all…
flavio.donze
  • 7,432
  • 9
  • 58
  • 91
2
votes
0 answers

Override marker click action

I want to add a custom action when the user clicks on a marker from the left vertical ruler of the editor I managed to run a custom action by adding in the plugin.xml the following code:
Garry White
  • 179
  • 1
  • 1
  • 8