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 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 projects manually, but it's a lot of work.
>
> I typically use the follwing setup:
>
> c:\projects
> c:\projects\myproject\
> c:\projects\myproject\EAR
> c:\projects\myproject\WAR
> ....
> c:\projects\myproject\EJB
> c:\projects\myproject_workspace
>
> The advantage of this is that you don't mess up your project folder with
> workspace settings.
>
> HTH
>
> Stefan
>
> news <[EMAIL PROTECTED]> skrev 09.08.2006 14:24:38:
>
> > 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,
> > >
> > > 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]> skrev 09.08.2006 14:05:26:
> > >
> > > > 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 have the "myProject / pom.xml" in the root folder
> of
> > > > Eclipse workspace and each EAR/EJB/WEB as eclipse projects?
> > > >
> > > > It seems to me that this shold work better with Eclipse:
> > > >
> > > > EclipseWorkspace
> > > > |
> > > > |-- myProject.EAR / pom.xml
> > > > |
> > > > |-- myProject.EJB / pom.xml
> > > > |
> > > > |-- myProject.WEB / pom.xml
> > > > |
> > > > |-- myProject.main / pom.xml (this is the parent POM)
> > > >
> > > >
> > > > Thanks, Jan
> > > >
> > > >
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to