I do the same, expect I do the checkout as command line to avoid a .project,
so that I can import all modules in one click.

I the "create a new project" "general", uncheck defaut location to enter the
checkout directory containing the root pom. Eclispe 3.2+ is required to
support nested projects

I the get a general project will all my maven modules as files and java
projects for each java module.
The main project is used to edit non-java modules, and to launch maven as
multiproject using "external tools".

Nico.


2007/12/17, Jim Sellers <[EMAIL PROTECTED]>:
>
> I'm not clear if this was covered by the other responses:
>
> 1) check out your root (parent) project
> 2) run eclipse:eclipse on it (you may have to run mvn install first)
> 3) Import -> Existing projects into workspace
> 4) browse to the sub-project (module)
> 5) make sure "copy projects into workspace" is NOT checked.  This process
> will give you a "symbolic link"-like to the module.
> 6) repeat steps 3-6 until all modules are showing up as "projects" in
> eclipse
>
> Having said all that, your original question was:
> "Now I would to have a way to get access to the root pom.xml"
> Why are you trying to get the root pom?
>
> As for linked resources, are you talking about this:
> http://jira.codehaus.org/browse/MECLIPSE-178
>
> I was under the impression that linked resources HAD to be absolute links.
>
> HTH
> Jim
>
>
> On 12/13/07, nicolas de loof <[EMAIL PROTECTED]> wrote:
> >
> > I myselft use this process :
> >
> > - check out with command line svn outside eclipse
> > - run mvn eclipse:eclipse
> > - in eclipse : right clic / import existing projects into workspace
> > - create a new "simple" (non java) project at the project root
> >
> > Europa supports having multiple projects in workspace that overlap : my
> > root
> > project contains all sub-projects as folder.
> >
> > Nico.
> >
> >
> >
> > 2007/12/3, Yann Albou <[EMAIL PROTECTED]>:
> > >
> > >
> > > That will be very useful...
> > > What is the feature in Europa that allows to have recursive projects ?
> I
> > > couldn't find any information on it...
> > >
> > > Yann.
> > >
> > > Carlos Sanchez a écrit :
> > > > In Q4E we are going to add that option in the next release so you
> see
> > > > the parent pom as another project
> > > > http://code.google.com/p/q4e/
> > > >
> > > > On Dec 2, 2007 2:36 PM, Siarhei Dudzin <[EMAIL PROTECTED]>
> > wrote:
> > > >> Eclipse Europa allows you to have recursive projects. Which means
> you
> > > can
> > > >> checkout the project with the parent poms and then simply import
> the
> > > >> sub-projects.
> > > >>
> > > >> Siarhei
> > > >>
> > > >>
> > > >> On 12/2/07, Nick Stolwijk <[EMAIL PROTECTED]> wrote:
> > > >>> I'm on a Linux machine and simply created a symlink to the parent
> > pom
> > > in
> > > >>> one of the submodules. Then it showed up in Eclipse.
> > > >>>
> > > >>> Hth,
> > > >>>
> > > >>> Nick Stolwijk
> > > >>>
> > > >>> Yann Albou wrote:
> > > >>>> Hello;
> > > >>>>
> > > >>>> I use a multi module maven project.
> > > >>>> after generating the eclipse project and importing these project
> in
> > > an
> > > >>>> eclipse workspace I get all my projects in my worspace.
> > > >>>>
> > > >>>> Now I would to have a way to get access to the root pom.xml(parent
> > > >>>> pom of all my imported projects).
> > > >>>>
> > > >>>> Do you guys have any suggestion on how to acheive this in eclipse
> ?
> > > >>>>
> > > >>>> I have created a simple project in which I created a linked
> > resource
> > > >>>> and it works. The only issue is that linked resources doesn't
> > support
> > > >>>> relative path and doesn't support variables like ${project_loc},
> So
> > > >>>> that means I need to reference an absolute path.
> > > >>>> And in my company we don't all use the same directory to store
> > > >>>> projects...
> > > >>>>
> > > >>>> Yann.
> > > >>>>
> > > >>>>
> > > >>>>
> > ---------------------------------------------------------------------
> > > >>>> 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