@snoofle said:
@PJH said:
Possibly a very silly question, but before this particular change request, were any of the interim files checked into SVN?No. We checked in the original source, the output java source and the scripts. This gave us full reproducability. The output Java was checked in because of an auditor militantly enforcing a policy that all Java code must be in source control. Jar and interim files they don't care about.
Are the output files also totally off-limits to manual modifications? Both companies I've worked at have had an automatic code generation tool that generates java classes, which are then off-limits to manual modification. I've always wondered what is the point of relying on developers to constantly remind new hires not to make manual modifications, instead of enforcing this by not providing .java files in the first place. Prhaps instead of checking those .java files into svn, the build process ought to have one final step to run javac and then jar, so that the true output are .class files instead of .java files?