Skip to content

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

Merged
dnestoro merged 9 commits intomasterfrom
vj/adopt-reachability-metadata
Sep 3, 2024
Merged

Adjust native-build tools to reachability-metadata.json#614
dnestoro merged 9 commits intomasterfrom
vj/adopt-reachability-metadata

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

dnestoro and others added 5 commits August 21, 2024 18:15
Co-authored-by: Cédric Champeau <cedric.champeau@oracle.com>
Co-authored-by: Cédric Champeau <cedric.champeau@oracle.com>
Co-authored-by: Cédric Champeau <cedric.champeau@oracle.com>
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
@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