Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that EclipseJavaCompiler doesn't pass duplicate source files to ECJ #230

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

famod
Copy link
Contributor

@famod famod commented Jul 5, 2022

Fixes #229

I tried setting excludes for DirectoryScanner, but allSources contains absolute paths at that point, making it unecessarily complicated.
Also, checking whether allSources already contains a file would require frequent iterations of that list (or another helper Set).

@olamy olamy added the bug label Jul 5, 2022
@famod famod requested a review from olamy July 6, 2022 15:26
@olamy olamy merged commit e136e4c into codehaus-plexus:master Jul 6, 2022
@olamy
Copy link
Member

olamy commented Jul 6, 2022

@famod thanks for the PR

@famod famod deleted the ecj-duplicate branch July 6, 2022 23:00
@famod
Copy link
Contributor Author

famod commented Jul 8, 2022

Ironically, this will become obsolete with the upcoming change for fixing the following issue: #231 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ECJ: Duplicate source files with generated sources when compiling without clean
2 participants