]
Max Rydahl Andersen commented on HBX-963:
-----------------------------------------
hmm...why do you put purely generated java classes into your version control system ? :)
make "generated by" statement optional (or remove it)
-----------------------------------------------------
Key: HBX-963
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-963
Project: Hibernate Tools
Issue Type: Improvement
Components: hbm2java
Affects Versions: 3.2beta9, 3.2beta10
Reporter: Dan Allen
Priority: Minor
Attachments: HBX-963-v1.txt
Original Estimate: 5 minutes
Remaining Estimate: 5 minutes
If you are using a version control system to manage the Java classes generated by the
hbm2java task, then every single time you run the task, it will appear as if every single
file has changed, even when there are no changes to the Java code. The reason this happens
is because the Pojo.ftl template includes a "generated by" statement that
inserts the current date and time. JAXB does this as well and it drives me insane!
I would prefer we just take out the date and time. There just isn't a good reason to
have it and the headaches that it causes are not worth it. I have included a patch to
remove it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: