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

Executable model doesn't report an error when duplicated rule name with "include" kbase #6007

Closed
tkobayas opened this issue Jul 1, 2024 · 0 comments · Fixed by #6013
Closed
Assignees

Comments

@tkobayas
Copy link
Contributor

tkobayas commented Jul 1, 2024

Assuming "kjar-sub" has a rule name "RuleA" with a package "org.example" and "kjar-main" has the same rule name "RuleA" with the same package "org.example",

when "kjar-main" includes "kjar-sub":

<kmodule>
  <kbase name="kjar-main" includes="kjar-sub" />
</kmodule>

non-exec-model reports an error "Duplicate rule name" during build-time, but exec-model doesn't report an error and kjar builds are successful. "RuleA" is overridden by "kjar-sub"'s one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🎯 Done
Development

Successfully merging a pull request may close this issue.

1 participant