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

fix: support regeneration of GlobalConstants.java (#952) #1421

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

DavePearce
Copy link
Collaborator

This enables regeneration of the GlobalConstants.java via the command gradle constants. This requires Corset v9.7.15 (which at this time has not yet been released). The solution is to allow for an override to the class name being produced in Corset. So, it doesn't always have to generate a file Trace.java. Rather you can specify the class name to generate (in this case, GlobalConstants). The relevant gradle option for the constants command is updated to do this.

@DavePearce DavePearce linked an issue Oct 16, 2024 that may be closed by this pull request
@DavePearce DavePearce force-pushed the 952-enable-regenerate-globalconstantjava branch from 0087a35 to 6ca86e4 Compare October 16, 2024 11:04
This enables regeneration of the `GlobalConstants.java` via the command
`gradle constants`.  This requires Corset `v9.7.15` (which at this time
has not yet been released).  The solution is to allow for an override to
the class name being produced in Corset.  So, it doesn't always have to
generate a file `Trace.java`.  Rather you can specify the class name to
generate (in this case, `GlobalConstants`).  The relevant gradle option
for the `constants` command is updated to do this.
@DavePearce DavePearce force-pushed the 952-enable-regenerate-globalconstantjava branch 2 times, most recently from 70d8dcf to e121dc2 Compare October 16, 2024 12:23
@DavePearce DavePearce requested review from gauravahuja and FlorianHuc and removed request for letypequividelespoubelles October 16, 2024 15:08
@DavePearce DavePearce merged commit 13ce736 into arith-dev Oct 17, 2024
5 checks passed
@DavePearce DavePearce deleted the 952-enable-regenerate-globalconstantjava branch October 17, 2024 09:14
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.

Enable regenerate GlobalConstant.java
2 participants