Skip to content

feat: add auto-generated enums for HIPO schema #1205

Open
baltzell wants to merge 12 commits into
developmentfrom
bank-enums
Open

feat: add auto-generated enums for HIPO schema #1205
baltzell wants to merge 12 commits into
developmentfrom
bank-enums

Conversation

@baltzell
Copy link
Copy Markdown
Collaborator

No description provided.

@baltzell baltzell added the speed label Apr 11, 2026
@baltzell baltzell force-pushed the bank-enums branch 3 times, most recently from 29cfe40 to ca90c21 Compare May 13, 2026 19:08
@baltzell baltzell marked this pull request as ready for review May 13, 2026 19:10
Comment thread pom.xml
<goals>
<goal>run</goal>
</goals>
<inherited>false</inherited> <!-- make this one NOT inherited -->
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Instead of preventing inheritance, could you just move this plugin to common-tools/clas-io? There it would be closer to its generated Java code artifacts.

Comment thread libexec/bank-schema-enums
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If you move the plugin to common-tools/clas-io, you could also move this script to common-tools/clas-io/ too; no need for it to live in libexec since this script is only needed at build time.

Comment thread pom.xml
Comment on lines +455 to +470
<!-- delete auto-generated bank schema enums during clean phase -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<filesets>
<fileset>
<directory>common-tools/clas-io/src/main/java/org/jlab/io/banks</directory>
<includes>
<include>**/*.java</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

same here, this could be moved to common-tools/clas-io.

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.

2 participants