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

Adjust native-build tools to reachability-metadata.json #614

Merged
merged 9 commits into from
Sep 3, 2024

Conversation

vjovanov
Copy link
Member

No description provided.

@vjovanov vjovanov requested a review from dnestoro August 12, 2024 20:10
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 12, 2024
Copy link
Collaborator

@melix melix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would also be good to add release notes and context about this change

Copy link
Collaborator

@melix melix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to self: the section which creates a temporary file for the access filter file is good enough for now, but it should probably be implemented differently.

Basically, instead of having the agent configuration create the file and mutate itself, there should be a task which does this, and that task should be an implicit dependency of the agent configuration. It requires changes to both the Gradle and Maven plugins.

However, currently the agent options are "serialized" as strings, including paths, which prevents Gradle from understanding that the Collection<String> actually refer to file contents. This means that the up-to-date checking is incorrect, since it will only consider the file paths and not their contents. That is already the situation today, so nothing to change in this PR, it's just notes so that I remember later.

@dnestoro dnestoro merged commit fae3e47 into master Sep 3, 2024
219 checks passed
@dnestoro dnestoro deleted the vj/adopt-reachability-metadata branch September 3, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants