Sonnek, Ryan wrote on Friday, March 19, 2004 5:02 PM:

> Ok,
> In order to use maven in a multiproject setting, the child
> projects "extend" the parent project.  The problem lies in
> having the parent project mounted in eclipse as a project
> with a child project underneath.  It would help if you
> explained in your current setup, what do you have mounted as eclipse
> projects? 
> 
> Here's a quick demonstration of what doesn't work in eclipse:
> /myproject/project.xml /myproject/subproject1/project.xml
> (extends parent project) /myproject/subproject2/project.xml (extends
> parent project) 
> 
> now, in eclipse you CAN NOT mount 3 projects; one for the
> parent, and one for each subproject.  This is because the
> files for the subprojects are already included in the parent
> project.  If your subprojects extend a project.xml in
> parrellel with them, you won't run into this problem.
> 
> Ex:
> /myproject/masterproject/project.xml
> /myproject/subproject1/project.xml  (extends master project)
> /myproject/subproject2/project.xml  (extends master project)
> 
> 
>> -----Original Message-----
>> From: Jörg Schaible [mailto:[EMAIL PROTECTED]
>> Sent: Friday, March 19, 2004 9:51 AM
>> To: Maven Users List
>> Subject: RE: Directory structure for projects & subprojects - nested
>> or parallel? 
>> 
>> Hi Ryan,
>> 
>> Sonnek, Ryan wrote on Friday, March 19, 2004 4:30 PM:
>>> I think you answered your own question.  The only reason I would
>>> suggest using the flattened structure is if you are using eclipse as
>>> your IDE.  I use eclipse for all of my projects and the flattened
>>> structure makes a lot of sense to me.
>> 
>> Why? I use a non-flattened structure without problems in Eclipse.
>> Each subproject is its own project and Eclipse does not care where
>> your project lives as long as you do not nest *Eclipse* projects.
>> 
>>> So, if you're not using eclipse there's no reason to layout your
>>> project like this. Ryan
>> 
>> I have no reason to do so even with Eclipse.
>> 
>> Regards,
>> Jörg
>> 
>> 
> ---------------------------------------------------------------------
>> 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