We're trying to plan how to mash together a build server for our shiny new javaJava backend. We use a lot of jaxbJAXB XSD code generation and I was getting into a heated argument with whoever cared that the build server should:
- delete jaxbDelete JAXB created structures that were checked in.
- generateGenerate the code from XSD's.
- useUse code generated from those XSD's.
Everyone else thought that it made more sense to just use the code they checked in (we check in the code generated from the XSD because Eclipse pretty much forces you to do this as far as I can tell).
My only stale argument is in my reading of the Joel test is that making the build in one step means generating from the source code and the source code is not the javaJava source, but the XSD's because if you're messing around with the generated code you're gonna get pinched eventually.
So, given that we all agree (you may not agree) we should probably be checking in our generate javaJava files, should we use them to generate our code or should we generate it using the XSD's?