Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
CodeGen Omit the generation date
December 21, 2022
19:00, EET
Avatar
APesce
Italy
New Member
Members
Forum Posts: 2
Member Since:
December 21, 2022
sp_UserOfflineSmall Offline

Hello,
the codegen generates my files correctly but at each launch the creation date changes.
On Git I find all the files in modification even if there is nothing special.
Is there a parameter to not generate the date?

/**
* Generated on 2022-12-21 17:40:53
*/

Regards.

December 22, 2022
11:41, EET
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 230
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

At the moment, CodeGen does not have support for omitting the generation date. This could be implemented in a future version.

If you’re working on a Maven project, you could consider using the CodeGen Maven plugin. This would allow you to generate the classes as part of the project’s build process and you wouldn’t need to include the generated classes in your Git repository. See CodeGen’s manual for more information on integrating it into a Maven project.

December 22, 2022
13:12, EET
Avatar
APesce
Italy
New Member
Members
Forum Posts: 2
Member Since:
December 21, 2022
sp_UserOfflineSmall Offline

Hi Matt,
Thanks for the reply.
I prefer to versione files compiled by CodeGen to know if anything has changed.
Some time ago I had done the same thing also using Maven.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 124

pramanj: 86

ibrahim: 74

rocket science: 65

kapsl: 57

Sabari: 51

gjevremovic: 49

Xavier: 43

fred: 41

TimK: 41

Member Stats:

Guest Posters: 0

Members: 684

Moderators: 15

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1335

Posts: 5711

Newest Members:

daniel.boada@soprasteria.com, Ratheesh, Dustingen, janessawhittell, ravi_prabhakar, dustyy137676428, Douglasabibe, DonaldWibip, kennithmazza4, Heiko Geissler

Moderators: Jouni Aro: 963, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 877, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 25, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 230, Lusetti: 0

Administrators: admin: 1