Skip to content

Conversation

@fanste
Copy link
Contributor

@fanste fanste commented Oct 16, 2025

HBX-3166: Same usage order of reveng files and strategy for all tools

@fanste
Copy link
Contributor Author

fanste commented Oct 16, 2025

New logic is based (with minor optimizations) on the order of the ANT implementation:

  • if a delegate is given, try to find a constructor with a RevengStrategy argument. If not found, try to use a no-args constructor and print a warning.
  • if no delegate is given, try to use a no-args constructor. If not found, try to find a constructor with a RevengStrategy argument and provide a DefaultStrategy.
  • If a revengFile is provided the strategy provided by the OverrideRepository is used as a delegate.

@koentsje koentsje merged commit 82532ff into hibernate:main Oct 20, 2025
3 checks passed
@koentsje
Copy link
Member

Thanks for your contribution!

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.

2 participants