Bug 577118 - Handle multiple Plug-in versions in launching facility

- Take only the latest version of a workspace/target bundle if multiple
versions are present and no version is specified in the launch-config
- Replace selected target-bundles only by a workspace-bundle if it has
the same Major-Minor-Micro version
- When writing bundle entries for launch-configurations, check if there
are other bundles in the same container (workspace or target-platform)
to decide if the version is written and not only check the number of
'active' models
- write versioned-entries to the dev.properties to enable different dev
classpath-entries for different versions of a bundle

Change-Id: Ib559c47ba6dfa5a56da4259c92dbe5d95370a45a
Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
Reviewed-on: https://git.eclipse.org/r/c/pde/eclipse.pde.ui/+/187493
Tested-by: PDE Bot <pde-bot@eclipse.org>
Reviewed-by: Julian Honnen <julian.honnen@vector.com>
20 files changed
tree: b4541711281d7ad600027f1935b51db97237528f
  1. .mvn/
  2. apitools/
  3. ds/
  4. features/
  5. releng/
  6. tests-pom/
  7. ua/
  8. ui/
  9. .gitignore
  10. CONTRIBUTING
  11. LICENSE
  12. NOTICE
  13. pom.xml
  14. README.md
README.md

Contributing to PDE - Plug-in development Environment

Thanks for your interest in this project.

Project description:

The PDE project the Eclipse tooling to develop plug-ins and OSGI bundles.
Website: https://www.eclipse.org/pde/

How to contribute:

Contributions to PDE are most welcome. There are many ways to contribute, from entering high quality bug reports, to contributing code or documentation changes. For a complete guide, see the [How to Contribute] 1 page on the team wiki.

Developer resources:

Information regarding source code management, builds, coding standards, and more.

Contributor License Agreement:

Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).

How to build on the command line

You need Maven 3.3.1 installed. After this you can run the build via the following command:

mvn clean verify -Pbuild-individual-bundles

Search for bugs:

This project uses Bugzilla to track ongoing development and issues.

Create a new bug:

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!

Contact:

Contact the project developers via the project's “dev” list.

License

Eclipse Public License (EPL) v1.0