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

It is advised to have a correspondance between package and folder names #6194

Open
conifercone opened this issue Dec 12, 2024 · 5 comments
Open

Comments

@conifercone
Copy link

conifercone commented Dec 12, 2024

image

packageNameForFile is a relative path, and packageNameFromFolder is an absolute path, which are never equal. Is this a problem?

@conifercone
Copy link
Author

folderNameForFile is an absolute path, why?

@conifercone
Copy link
Author

drools version: 10.0.0

@tkobayas
Copy link
Contributor

Hi @conifercone , Could you share a reproducer (= a simple maven project to reproduce the issue)? Locally, I see that folderNameForFile is a relative path e.g. com/sample.

@conifercone
Copy link
Author

conifercone commented Jan 20, 2025

@tkobayas Thanks for your reply. I think it may be caused by the file path separator of Windows. Because the file path separator of Windows is \ , it

Image

does not work.

@tkobayas
Copy link
Contributor

tkobayas commented Jan 20, 2025

@conifercone Thank you! Certainly it looks like an issue. However, it doesn't yet explain that folderNameForFile is an absolute path. Could you kindly share a reproducer so that we can see the same issue?

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

No branches or pull requests

2 participants