On 9/17/06, Felix Meschberger <[EMAIL PROTECTED]> wrote:
(1) they may be generated automatically by maven
That sounds not very wise... (2) many people will modify the files while working - so you will
always have to crosscheck and take care before checking in
Not sure what you mean. The ipr and iml files only get modified when something substantial changes, such as a change in dependencies, new library, new module and so forth. This should happen relatively seldom. The .iws file, otoh, changes with "current view" or "workbench setup" which should be a private affair. (3) how about those not using idea but eclipse, jbuilder, netbeans,
etc. ? should we also commit those files ?
Yeah, why not? (I assume that those IDEs have a system that makes it possible to share.) The only question is 'maintenance' and 'uptodateness', i.e. don't blame the Eclipse guy when Idea files are no longer up-to-date due to a change in the pom.xml... ;o) Before maven we used to commit the project files, too. But then we
were never quite happy because, there were unintented committals or other strugles - one time we committed templates but always forgot to adapt them. Hence, I am really happy with having maven to generate the files for me today. It also gives better consistency.
Maven should be the primary build system, and the reference for "a working commit". But instead of 15 people changing the project files separately, I think it makes sense one share the burden. Setting up Felix from scratch in a IDE is not a small feat... Cheers Niclas