eclipse-jdt / eclipse-jdt/eclipse.jdt.core

Compile of all plugin projects fails due to invalid plugin.xml

Open
#3,882 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

One of the developers on my team committed an invalid plugin.xml for one project!
All are projects are plugin development projects for Eclipse.
As a result of that ALL projects compile failed with "The import org.eclipse cannot be resolved"

The invalid plugin.xml:

```


. . .

```

Where a good plugin.xml should have the lines:

```

. . .

```

![Image](https://github.com/user-attachments/assets/51b61360-bcaa-41ac-ab58-3b9d18cf6cfc)

The compile should report bad plugin.xml and not cause all plugins to fail compile.

I testet this in the last 3 version of Eclipse 202503, 2024012 and 202409. Same results with the following steps:
1. Create a new work space
2. Import all the projects including the bad one
3. The compile is fine for all projects
4. Restart Eclipse.
5. Eclipse will try to re-compile again and fails in all plugin projects.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.