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

make templates dir configurable #713

Open
asolntsev opened this issue Apr 26, 2021 · 2 comments
Open

make templates dir configurable #713

asolntsev opened this issue Apr 26, 2021 · 2 comments

Comments

@asolntsev
Copy link
Contributor

Currently templates dir is hardcoded: src/main/java/. See ninja.template.TemplateEngineFreemarker#srcDir.

Though, a best practice in Java project is storing such resources in src/main/resources.

I suggest at least to make it configurable.

@raphaelbauer
Copy link
Contributor

Sounds like a good idea :) PRs are really welcome. Let us know if we can help in any way!

@asolntsev
Copy link
Contributor Author

yes, I will prepare a PR.

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