Le 01/10/12 00:06, Adam Estrada a écrit :
I am all for this! I use Eclipse and sometimes getting the project set up from
pure Maven is a real pain. What do you suggest the best path to implement this
is for NetBeans, Eclipse, Idea, etc? Are there other projects out there that
do this that we can take a look at?
For NetBeans I think that a good path is simply to commit the proposed
ide-project/NetBeans directory. Users can open this project directly in
NetBeans without any configuration, provided they have run "mvn install"
at least once before. We did that for GeoAPI.
For Eclipse and Idea, it would be nice if we could put all their files
in ide-project/Eclipse and ide-project/Idea directories, but I don't
know if those IDE allow that. I think that a few years ago, Eclipse
projects were made of ".classpath" files spread in many source code
directories. I don't know if it still the case today. I don't know
neither how Idea projects are structured. We would need advice from
Eclipse/Idea users here...
Martin
On Sep 29, 2012, at 11:58 PM, Martin Desruisseaux wrote:
One last question: since I work on NetBeans, I have an "ide-project/NetBeans" directory
with NetBeans project configuration files. This configuration is not specific to my machine; it is
designed in a way that should make it possible to anyone to open it (NetBeans stores user-specific
information in a separated directory called "private"). It is not a replacement to Maven;
actually Maven must be run at least once before to open the project, because the project refers to
some files produced by Maven.
While NetBeans can open natively Maven projects, NetBeans projects are faster to debug and contains
information not found in Maven projects, for example the words added to the spell-checker for the SIS
javadoc. Would it be okay if I commit a clean (user-neutral) "ide-project/NetBeans" directory,
excluding of course the "private" sub-directory? Maybe something similar could be done in an
"ide-project/Eclipse" directory if someone wish.