Hi all,

I know it’s sort of considered bad practice to check in generated code, when 
you’re working with maven.

However, we’ve already started to check-in generated code for all other 
languages.
Especially today when working on the Time and Date stuff I really have learned 
to appreciate to see what changed, when working on code-generation.

I would like to propose to also start checking in the generated java-code.

But I would like to generate it into a separate directory and use the 
build-helper-plugin in order to keep things separate (This way we can simply 
delete the directory, run the build and we get rid of obsolete types)

I would propose to generate code into a “src/main/generated” directory.

The upside would be: Everyone can simply check out plc4x and use it in any IDE 
without having to build first.

What do you folks think?


Chris

Reply via email to