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

Issues/5346 fixes #5583

Merged
merged 2 commits into from
Mar 8, 2023
Merged

Issues/5346 fixes #5583

merged 2 commits into from
Mar 8, 2023

Conversation

pkriens
Copy link
Member

@pkriens pkriens commented Mar 8, 2023

It was noted by laeubi that

  • it always generated a module-info.class for a release version
  • the requirements were always additive for subsequent releases

This was my practical understanding but he made a test case
that actually leveraged a unique analysis per released version.
Unfortunately, we need to do each analysis from scratch, something
I'd hoped to prevent.

This made the copy functions for Analyzer, Jar, etc. superfluous so
I removed those for now.

Module info class is now only generated when

  • the instruction is properly set for the main jar
  • there is no module-info.class in the release version

---
 Signed-off-by: Peter Kriens <Peter.Kriens@aQute.biz>

Signed-off-by: Peter Kriens <Peter.Kriens@aQute.biz>
It was noted by laeubi that
* it always generated a module-info.class for a release version
* the requirements were always additive for subsequent releases

This was my practical understanding but he made a test case
that actually leveraged a unique analysis per released version.
Unfortunately, we need to do each analysis from scratch, something
I'd hoped to prevent.

This made the copy functions for Analyzer, Jar, etc. superfluous so
I removed those for now.

Module info class is now only generated when
* the instruction is properly set for the main jar
* there is no module-info.class in the release version

---
 Signed-off-by: Peter Kriens <Peter.Kriens@aQute.biz>

Signed-off-by: Peter Kriens <Peter.Kriens@aQute.biz>
@pkriens pkriens merged commit 9a36d0b into master Mar 8, 2023
@pkriens pkriens deleted the issues/5346_fixes branch March 8, 2023 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant