Skip to content

Conversation

@daniel-raffler
Copy link
Contributor

Updates the copyright template to always use the current year when creating a new file. The old template was still using 2024 in the copyright header

Copy link
Member

@kfriedberger kfriedberger left a comment

Choose a reason for hiding this comment

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

Thanks for the fix. Could you also check the Eclipse-template?

We should (from time to time) synchronize these templates from SoSy-Lab project-template repository.
I do not know whether we already documented that step anywhere in JavaSMT.

@daniel-raffler
Copy link
Contributor Author

Hello Karlheinz

Thanks for the fix. Could you also check the Eclipse-template?

I just tried, and Eclipse already seems to use the right date for the header when creating a new class. The template appears to come from .settings/org.eclipse.jdt.ui.prefs and looks like this:

Screenshot From 2026-01-28 10-37-14

It says ${year} in the copyright header, so this should update automatically

We should (from time to time) synchronize these templates from SoSy-Lab project-template repository. I do not know whether we already documented that step anywhere in JavaSMT.

The Intelij project files appear to be specific to JavaSMT, and are not included in java-project-template. This might just be an omission as the template does include an Eclipse project. However, I'm not sure how easy it would be to add a generic Intelij project to java-project-template

I also ran syncTo.sh, but didn't see too many changes since the last update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants