Re: Re: Re: Flat directory structure and Eclipse

2006-08-10 Thread jan_bar
> Try setting up the parent project as an eclipse project manually. Yes, that is possible, but it will create confusing layout, because the same files (in subfolders) will be part of two different Eclipse projects (+ twice as much metadata in Eclipse). > I hardly ever edit my paretn project anywa

Ad: Re: Re: Flat directory structure and Eclipse

2006-08-10 Thread Stefan Magnus Landrø
Try setting up the parent project as an eclipse project manually. I hardly ever edit my paretn project anyways. Stefan news <[EMAIL PROTECTED]> skrev 10.08.2006 10:11:48: > HI, > > there is still one trouble. When you use version control system (CVS, SVN, > ..) plugin in Eclipse, you cannot

Re: Re: Flat directory structure and Eclipse

2006-08-10 Thread jan_bar
HI, there is still one trouble. When you use version control system (CVS, SVN, ..) plugin in Eclipse, you cannot checkout/commit the files in root folder, because the root folder is not part of Eclipse workspace. Jan "Stefan Magnus Landrø" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECT

Re: Re: Flat directory structure and Eclipse

2006-08-09 Thread jan_bar
Thanks Stefan for your time. "Stefan Magnus Landrø" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The eclipse plugin is included by default > try running mvn eclipse:eclipse. It will generate the project/classpath > files for you automatically. > > You can of course set up the proj

Re: Re: Flat directory structure and Eclipse

2006-08-09 Thread Stefan Magnus Landrø
The eclipse plugin is included by default try running mvn eclipse:eclipse. It will generate the project/classpath files for you automatically. You can of course set up the projects manually, but it's a lot of work. I typically use the follwing setup: c:\projects c:\projects\myproject\ c:\proje

Re: Flat directory structure and Eclipse

2006-08-09 Thread jan_bar
Thanks Stefan, I don't use the eclipse plugin, but it makes no difference. So, if I understand you well, you have the structure recomended by Maven doc outside of Eclipse workspace and use Eclipse links to each fo the EAR/EJB/WAR subfolders? Are there any troubles with this setup? Jan > Hi Jan,

Re: Flat directory structure and Eclipse

2006-08-09 Thread Stefan Magnus Landrø
Hi Jan, running the maven eclipse plugin, you won't get any project file for the top level (myProject / pom.xml). Also, I recomment using a workspace location different from where you keep your source code (using eclipse's import existing project feature) HTHAB, Stefan news <[EMAIL PROTECTED

Flat directory structure and Eclipse

2006-08-09 Thread jan_bar
Hi, The flat directory is recommended for J2EE projects: myProject / pom.xml | |-- EAR / pom.xml | |-- EJB / pom.xml | |-- WEB / pom.xml This structure is not entirely "flat" because of the root myProject / pom.xml. It is not clear to me how this structure fits into Eclipse workspace. Do you hav