Hi. I've been trying out intellij idea for a couple of days now (just updated to version 7 m1), and have run into a couple of questions/dilemmas as for how I'm going to structure my projects. I've previously mostly used pure editors like emacs, and therefore thought it wise to seek advice on this forum to avoid getting some bad habbits from the start =)
My main question is really on how its best to structure your code/projects in turn of folders and placement of different items, for example the libraries/jars that your code depends on? As an example Im currently working on a project that utilizes the spring framework, and I need the spring jars as both runtime and compile time dependencies. I've so far created a folder named 'lib' under my content root (and made idea ignore the folder), placed the needed jars there, and then added them as module libraries (similar to how I have usually done it when manually handling the project structure). This however feels somwhat wrong, since these libraries are now "part of the content". Would it be better to make some central "repository" folder on my computer, place all the frameworks I ever use there, and then reference them at that location, or what is common practice in this area? Does this change if I someday (as I hope I will :) ) start using some sort of SCM?
Thanks for the help