You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Mark R. Diggory" <md...@latte.harvard.edu> on 2004/02/03 23:07:09 UTC
Global project.xml and supporting files
I've found in a couple other projects I've been working that take
advantage of Maven and "multiproject plugin" that having the global
project.xml and other supporting files in a "subdirectory" similar in
nature to those of the subprojects is highly beneficial.
/jakarta-commons/global-site/project.xml (etc)
/jakarta-commons/collections
/jakarta-commons/lang
/jakarta-commons/math
Benefits are the following
1.) you can checkout only the projects you want to work on individually.
2.) in IDE's like Eclipse, you can checkout the global project, then
your varioous subprojects, and the build can resolve eveything with
relative locations. This means that in Eclipse you can mountup each
subproject as a separate project, subprojects that are dependent on
eachother can be checked out and made dependent on eachother in eclipse.
The "global project" just becomes another dependency.
3.) using the Maven eclipse plugin starts to make more sense with this
organization. Because in Eclipse, the root directory of a project is
where the .project and .classpath files exist, each subproject then has
a separate .project and .classpath. Once you get the maven actually
functioning inside of Eclipse, building can be in the individual
subprojects or global project.
Thoughts and feelings? This really does make alot of sense to me.
-Mark
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: Global project.xml and supporting files
Posted by Todd Jonker <tv...@pobox.com>.
shared?
On Tue, 03 Feb 2004 21:30:24 -0500, "Mark R. Diggory"
<md...@latte.harvard.edu> said:
> How about: site? build? common-site? main?
>
> Stephen Colebourne wrote:
>
> > It does make it easier laid out like this, although I can't say the name
> > 'global-site' quite seems right. Probably should be 'common', but that could
> > get confusing...
> >
> > Stephen
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: Global project.xml and supporting files
Posted by "Mark R. Diggory" <md...@latte.harvard.edu>.
How about: site? build? common-site? main?
Stephen Colebourne wrote:
> It does make it easier laid out like this, although I can't say the name
> 'global-site' quite seems right. Probably should be 'common', but that could
> get confusing...
>
> Stephen
>
> ----- Original Message -----
> From: "robert burrell donkin" <ro...@blueyonder.co.uk>
>
>>i'm pretty positive on this one. can anyone see any downsides?
>>
>>- robert
>>
>>On 3 Feb 2004, at 22:07, Mark R. Diggory wrote:
>>
>>
>>>I've found in a couple other projects I've been working that take
>>>advantage of Maven and "multiproject plugin" that having the global
>>>project.xml and other supporting files in a "subdirectory" similar in
>>>nature to those of the subprojects is highly beneficial.
>>>
>>>/jakarta-commons/global-site/project.xml (etc)
>>>
>>>/jakarta-commons/collections
>>>/jakarta-commons/lang
>>>/jakarta-commons/math
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: Global project.xml and supporting files
Posted by Stephen Colebourne <sc...@btopenworld.com>.
It does make it easier laid out like this, although I can't say the name
'global-site' quite seems right. Probably should be 'common', but that could
get confusing...
Stephen
----- Original Message -----
From: "robert burrell donkin" <ro...@blueyonder.co.uk>
> i'm pretty positive on this one. can anyone see any downsides?
>
> - robert
>
> On 3 Feb 2004, at 22:07, Mark R. Diggory wrote:
>
> > I've found in a couple other projects I've been working that take
> > advantage of Maven and "multiproject plugin" that having the global
> > project.xml and other supporting files in a "subdirectory" similar in
> > nature to those of the subprojects is highly beneficial.
> >
> > /jakarta-commons/global-site/project.xml (etc)
> >
> > /jakarta-commons/collections
> > /jakarta-commons/lang
> > /jakarta-commons/math
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: Global project.xml and supporting files
Posted by "Mark R. Diggory" <md...@latte.harvard.edu>.
To critique myself,
1.) The global maven.xml with the multiproject reactor code would need
some adjustment.
2.) all projects would then need to extend
<extends>../<global-site>/project.xml
thats about all I can see,
-Mark
robert burrell donkin wrote:
> i'm pretty positive on this one. can anyone see any downsides?
>
> - robert
>
> On 3 Feb 2004, at 22:07, Mark R. Diggory wrote:
>
>> I've found in a couple other projects I've been working that take
>> advantage of Maven and "multiproject plugin" that having the global
>> project.xml and other supporting files in a "subdirectory" similar in
>> nature to those of the subprojects is highly beneficial.
>>
>> /jakarta-commons/global-site/project.xml (etc)
>>
>> /jakarta-commons/collections
>> /jakarta-commons/lang
>> /jakarta-commons/math
>>
>>
>>
>> Benefits are the following
>> 1.) you can checkout only the projects you want to work on individually.
>>
>> 2.) in IDE's like Eclipse, you can checkout the global project, then
>> your varioous subprojects, and the build can resolve eveything with
>> relative locations. This means that in Eclipse you can mountup each
>> subproject as a separate project, subprojects that are dependent on
>> eachother can be checked out and made dependent on eachother in
>> eclipse. The "global project" just becomes another dependency.
>>
>> 3.) using the Maven eclipse plugin starts to make more sense with this
>> organization. Because in Eclipse, the root directory of a project is
>> where the .project and .classpath files exist, each subproject then
>> has a separate .project and .classpath. Once you get the maven
>> actually functioning inside of Eclipse, building can be in the
>> individual subprojects or global project.
>>
>> Thoughts and feelings? This really does make alot of sense to me.
>>
>> -Mark
>>
>> --
>> Mark Diggory
>> Software Developer
>> Harvard MIT Data Center
>> http://www.hmdc.harvard.edu
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: Global project.xml and supporting files
Posted by robert burrell donkin <ro...@blueyonder.co.uk>.
i'm pretty positive on this one. can anyone see any downsides?
- robert
On 3 Feb 2004, at 22:07, Mark R. Diggory wrote:
> I've found in a couple other projects I've been working that take
> advantage of Maven and "multiproject plugin" that having the global
> project.xml and other supporting files in a "subdirectory" similar in
> nature to those of the subprojects is highly beneficial.
>
> /jakarta-commons/global-site/project.xml (etc)
>
> /jakarta-commons/collections
> /jakarta-commons/lang
> /jakarta-commons/math
>
>
>
> Benefits are the following
> 1.) you can checkout only the projects you want to work on
> individually.
>
> 2.) in IDE's like Eclipse, you can checkout the global project, then
> your varioous subprojects, and the build can resolve eveything with
> relative locations. This means that in Eclipse you can mountup each
> subproject as a separate project, subprojects that are dependent on
> eachother can be checked out and made dependent on eachother in
> eclipse. The "global project" just becomes another dependency.
>
> 3.) using the Maven eclipse plugin starts to make more sense with this
> organization. Because in Eclipse, the root directory of a project is
> where the .project and .classpath files exist, each subproject then
> has a separate .project and .classpath. Once you get the maven
> actually functioning inside of Eclipse, building can be in the
> individual subprojects or global project.
>
> Thoughts and feelings? This really does make alot of sense to me.
>
> -Mark
>
> --
> Mark Diggory
> Software Developer
> Harvard MIT Data Center
> http://www.hmdc.harvard.edu
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: Global project.xml and supporting files
Posted by __matthewHawthorne <ma...@apache.org>.
Mark R. Diggory wrote:
> I've found in a couple other projects I've been working that take
> advantage of Maven and "multiproject plugin" that having the global
> project.xml and other supporting files in a "subdirectory" similar in
> nature to those of the subprojects is highly beneficial.
>
> /jakarta-commons/global-site/project.xml (etc)
>
> /jakarta-commons/collections
> /jakarta-commons/lang
> /jakarta-commons/math
>
>
> Thoughts and feelings? This really does make alot of sense to me.
Sounds good to me.
I usually don't like to run Maven or Ant through Eclipse, but if this
helps those who do, so be it.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org