Hi, On 9/17/06, Niclas Hedhman <[EMAIL PROTECTED]> wrote:
On 9/17/06, Felix Meschberger <[EMAIL PROTECTED]> wrote: > (1) they may be generated automatically by maven That sounds not very wise...
Why ? If the project files are generated from the pom by maven, there will always be only on source of project configuration. Having the IDE project files in SVN there will be multiple - generally inconsistant - sources ...
(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
I, for my part, often times modify dependencies in the projects to test things .. and then I sometimes forget about what exactly I did ...
.iws file, otoh, changes with "current view" or "workbench setup" which should be a private affair.
Yeah, this is comparable to the .workspace folder of eclipse
(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)
Good, but then you loose some time whenever there is an update, which is not done in the intellij file - or worse - vice versa...
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...
Agreed re. Maven but the pom files are descriptions of the build environment, which is exactly what the IDE files are, too. So basically the intent is really the same for both files, only format is actually different. Setting up Felix for an IDE from scratch is relatively, at least for eclipse: I run the eclipse:eclipse goal on the parent project and get the eclipse project descriptions for each project. Next I just import all projects into the eclipse workspace. I assume, the same would be possible for IntelliJ ? Regards Felix