Bug 569770 - Use versionized version of javax.annotations in
org.eclipse.e4.core.* bundles

Without this, you see the following errors if you start your IDE with
Java 15.

Description	Resource	Path	Location	Type
PostConstruct cannot be resolved to a
type	MessageFactoryServiceImpl.java	/org.eclipse.e4.core.services/src/org/eclipse/e4/core/internal/services	line
256	Java Problem
PreDestroy cannot be resolved to a
type	BaseMessageRegistry.java	/org.eclipse.e4.core.services/src/org/eclipse/e4/core/services/nls	line
353	Java Problem
The import javax.annotation.PostConstruct cannot be
resolved	MessageFactoryServiceImpl.java	/org.eclipse.e4.core.services/src/org/eclipse/e4/core/internal/services	line
32	Java Problem
The import javax.annotation.PreDestroy cannot be
resolved	BaseMessageRegistry.java	/org.eclipse.e4.core.services/src/org/eclipse/e4/core/services/nls	line
24	Java Problem
The method isAnnotationPresent(Class<? extends Annotation>) in the type
AccessibleObject is not applicable for the arguments
(Class<PostConstruct>)	MessageFactoryServiceImpl.java	/org.eclipse.e4.core.services/src/org/eclipse/e4/core/internal/services	line
256	Java Problem


Change-Id: I05c69bb73fa498d3b6a919a8141a19606ae3b529
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
5 files changed
tree: 3b930b4dd0363c1c148882e2afbe69554f04d99b
  1. bundles/
  2. features/
  3. tests/
  4. .gitignore
  5. CONTRIBUTING
  6. CONTRIBUTING.md
  7. LICENSE
  8. NOTICE
  9. pom.xml
  10. README.md
README.md

Contributing to Eclipse Platform runtime project

Thanks for your interest in this project.

Project description:

Platform runtime provides the background componentns for Eclipse based applications.

Website: https://projects.eclipse.org/projects/eclipse.platform

For more information, refer to the Platform UI wiki page.

How to contribute:

Contributions to Platform UI 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 Platform UI - How to contribute wiki page page on the team wiki.

Test dependencies

Several test plug-ins have a dependency to the Mockito and Hamcrest library. Please install them from the Orbit Download page

Currently the following versions are required:

  • org.hamcrest;bundle-version=“1.3.0”,
  • org.mockito;bundle-version=“2.13”,

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

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).

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) 2.0