I linked the files at first, but that modifies the original .classpath files. I didn't feel comfortable with that. The current files that have been checked in came from the Eclipse project files that were imported through IDEA. I however did have to fine-tune all the things I mentioned. Still very nice that the dep structure has been preserved.
On 1/11/08, Jim Bethancourt <[EMAIL PROTECTED]> wrote: > You should be able to create a new IntelliJ project using the Eclipse > project files, and even link the IntelliJ modules to the Eclipse project > files, so if one changes ,the other will change as well. > > Cheers, > Jim > > > On Jan 11, 2008 1:54 PM, Geert Bevin <[EMAIL PROTECTED]> wrote: > > Hi Tim, > > > > > > > - Cross project dependencies --I don't know enough about IDEA structures > > > to know if this is a problem, but the eclipse projects mirror exactly > the > > > dependency constraints defined/enforced by tcbuild (more specifically > > > modules.def.yml). It'd be nice if this isn't lost for those working in > > > IDEA > > > > This has been taken over exactly as in eclipse, all the inter-projects > > dependencies are intact. > > > > > > > - Formatting and import organization -- probably the least important > > > issue, but can cause lots of useless churn in source control if things > > > aren't well unified. > > > > I spent some time on this and got them very close to Eclipse. I > > formatted several of my files in both IDEs and there were only very > > minor differences (that I sadly couldn't work away). The imports order > > should be the same, however there is one weird behavior in Eclipse > > when imports are not covered by the package order in the settings. It > > seems that it orders them alphabetically and case-sensitively, so EDU. > > < java. < junit. IDEA lets you set a single location for the non > > specified packaged, and I set that at the bottom. So, the EDU packages > > are currently placed differently. However, now that I think of it, I > > could easily add those to the package settings in IDEA to locate it > > before java., there shouldn't be many other caps packages. > > > > > > > - Errors/warnings -- At best as we can, these should unified. The > biggest > > > issue I see is that an eclipse guy makes a change that is considered an > > > error on the IDEA side (or vice versa). It would be very unfortunate if > > > something like this led us to use some lowest common denominator. > > > > The warnings are drastically different, which is good actually since > > IDEA finds other interesting things. Didn't get any errors. > > > > > > > - JDK API visibility and compile target settings -- 1.4 modules (most of > > > them are) get compiled against the 1.4 rt.jar and produce target 1.4 > > > classes. > > > > Yeah, I fine-tuned that too, should be correct for all the projects. > > > > > > > It might be worth evolving the eclipsegen thing I wrote a while back to > > > automagically generate the idea files from modules.def.yml and the ivy > > > dependency information. > > > > I agree :-) > > > > Take care, > > > > Geert > > > > > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] > [mailto:tc-dev- > > > > [EMAIL PROTECTED] On Behalf Of Steven Harris > > > > Sent: Friday, January 11, 2008 6:32 AM > > > > To: [email protected] > > > > Subject: Re: [tc-dev] IDEA project file and modules for TC > > > > > > > > I don't see why not as long as they can coexist nicely. > > > > > > > > On Jan 11, 2008, at 5:48 AM, Geert Bevin wrote: > > > > > > > > > Hi, > > > > > > > > > > I finally got more than fed up with Eclipse (sorry Eugene, nothing > > > > > personal) and decided to see how easy it was with IDEA 7 to migrate > to > > > > > an IDEA setup. Seems it's very easy because you can create a new > IDEA > > > > > project from an existing Eclipse workspace. After that I did still > > > > > need to tweak language levels and code formatting, but I have this > > > > > working now for IDEA 7. Since Jonas got us all at Terracotta a free > > > > > license, I was wondering if you think that I should commit the > project > > > > > files. They all live in a dedicated directory that I've placed at > > > > > /code/base/idea > > > > > > > > > > What do you think? > > > > > > > > > > Geert > > > > > > > > > > -- > > > > > Geert Bevin > > > > > Terracotta - http://www.terracotta.org > > > > > Uwyn "Use what you need" - http://uwyn.com > > > > > RIFE Java application framework - http://rifers.org > > > > > Music and words - http://gbevin.com > > > > > _______________________________________________ > > > > > tc-dev mailing list > > > > > [email protected] > > > > > http://lists.terracotta.org/mailman/listinfo/tc-dev > > > > > > > > _______________________________________________ > > > > tc-dev mailing list > > > > [email protected] > > > > http://lists.terracotta.org/mailman/listinfo/tc-dev > > > > > > _______________________________________________ > > > tc-dev mailing list > > > [email protected] > > > http://lists.terracotta.org/mailman/listinfo/tc-dev > > > > > > > > > -- > > > > > > > > Geert Bevin > > Terracotta - http://www.terracotta.org > > Uwyn "Use what you need" - http://uwyn.com > > RIFE Java application framework - http://rifers.org > > Music and words - http://gbevin.com > > _______________________________________________ > > tc-dev mailing list > > [email protected] > > http://lists.terracotta.org/mailman/listinfo/tc-dev > > > > > _______________________________________________ > tc-dev mailing list > [email protected] > http://lists.terracotta.org/mailman/listinfo/tc-dev > > -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com _______________________________________________ tc-dev mailing list [email protected] http://lists.terracotta.org/mailman/listinfo/tc-dev
