You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by dan tran <da...@gmail.com> on 2005/05/06 02:11:31 UTC
Multiproject builds orderring
Hello,
I have 2 sub trees, both does not depend on each other.
root/
tree1/
tree2/
Can I make multiproject to build a specific tree first?
-Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Multiproject builds orderring
Posted by dan tran <da...@gmail.com>.
Steve, it is much better then maven.xml;)
Thanks
-D
On 5/6/05, Steve Molloy <sm...@convera.com> wrote:
> You could also set a dummy dependency between the 2 projects. Even if
> it's not actually used, it will provide your ordering. I know I used it
> for multi-level project trees, where I had, for instance, 3 components
> part of a core project, another 2 part of UI. So even if the UI project
> didn't actually depend on the core one (neither actually had code, just
> sub-projects), I had a dependency which ended up deploying an empty jar
> to our local repository but made sure that UI was always built after
> core...
>
> Steve
>
> On Thu, 2005-05-05 at 21:35 -0700, dan tran wrote:
>
> > I asked for it eh?
> >
> > Any how, I took a look at the code involved, it is deep in ant's
> > DirectoryScanner.
> > Using maven.multiproject.includes is not fit.
> >
> > I settle for some jelly in maven.xml ;-)
> >
> > Thanks for the offer.
> >
> > -D
> >
> >
> >
> > On 5/5/05, Brett Porter <br...@gmail.com> wrote:
> > > You can request it :)
> > >
> > > If you want to provide a patch for 1.1 I'd be happy to apply it.
> > >
> > > - Brett
> > >
> > > On 5/6/05, dan tran <da...@gmail.com> wrote:
> > > > actually, it does not have any orderring. Just the matter of which
> > > > one shows up first in the directory list ;-)
> > > >
> > > > Can I request this feature? I am current using multiproejct plugin (reactor) to
> > > > run one of my build systems which does not take advantage of maven's
> > > > dependencies. (sorry, just cant)
> > > >
> > > > The orderring can be specified in maven.multiproject.includes.
> > > >
> > > > -D
> > > >
> > > >
> > > > On 5/5/05, dan tran <da...@gmail.com> wrote:
> > > > > Thanks Brett, It runs on the reverse alphabetical order
> > > > > ie tree2 got called first ;-)
> > > > >
> > > > > -Dan
> > > > >
> > > > >
> > > > > On 5/5/05, Brett Porter <br...@gmail.com> wrote:
> > > > > > currently it is alphabetical.
> > > > > >
> > > > > > - Brett
> > > > > >
> > > > > > On 5/6/05, dan tran <da...@gmail.com> wrote:
> > > > > > > Hello,
> > > > > > >
> > > > > > > I have 2 sub trees, both does not depend on each other.
> > > > > > >
> > > > > > > root/
> > > > > > >
> > > > > > > tree1/
> > > > > > >
> > > > > > > tree2/
> > > > > > >
> > > > > > > Can I make multiproject to build a specific tree first?
> > > > > > >
> > > > > > > -Dan
> > > > > > >
> > > > > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Multiproject builds orderring
Posted by dan tran <da...@gmail.com>.
Steve, it is much better then maven.xml;)
Thanks
-D
On 5/6/05, Steve Molloy <sm...@convera.com> wrote:
> You could also set a dummy dependency between the 2 projects. Even if
> it's not actually used, it will provide your ordering. I know I used it
> for multi-level project trees, where I had, for instance, 3 components
> part of a core project, another 2 part of UI. So even if the UI project
> didn't actually depend on the core one (neither actually had code, just
> sub-projects), I had a dependency which ended up deploying an empty jar
> to our local repository but made sure that UI was always built after
> core...
>
> Steve
>
> On Thu, 2005-05-05 at 21:35 -0700, dan tran wrote:
>
> > I asked for it eh?
> >
> > Any how, I took a look at the code involved, it is deep in ant's
> > DirectoryScanner.
> > Using maven.multiproject.includes is not fit.
> >
> > I settle for some jelly in maven.xml ;-)
> >
> > Thanks for the offer.
> >
> > -D
> >
> >
> >
> > On 5/5/05, Brett Porter <br...@gmail.com> wrote:
> > > You can request it :)
> > >
> > > If you want to provide a patch for 1.1 I'd be happy to apply it.
> > >
> > > - Brett
> > >
> > > On 5/6/05, dan tran <da...@gmail.com> wrote:
> > > > actually, it does not have any orderring. Just the matter of which
> > > > one shows up first in the directory list ;-)
> > > >
> > > > Can I request this feature? I am current using multiproejct plugin (reactor) to
> > > > run one of my build systems which does not take advantage of maven's
> > > > dependencies. (sorry, just cant)
> > > >
> > > > The orderring can be specified in maven.multiproject.includes.
> > > >
> > > > -D
> > > >
> > > >
> > > > On 5/5/05, dan tran <da...@gmail.com> wrote:
> > > > > Thanks Brett, It runs on the reverse alphabetical order
> > > > > ie tree2 got called first ;-)
> > > > >
> > > > > -Dan
> > > > >
> > > > >
> > > > > On 5/5/05, Brett Porter <br...@gmail.com> wrote:
> > > > > > currently it is alphabetical.
> > > > > >
> > > > > > - Brett
> > > > > >
> > > > > > On 5/6/05, dan tran <da...@gmail.com> wrote:
> > > > > > > Hello,
> > > > > > >
> > > > > > > I have 2 sub trees, both does not depend on each other.
> > > > > > >
> > > > > > > root/
> > > > > > >
> > > > > > > tree1/
> > > > > > >
> > > > > > > tree2/
> > > > > > >
> > > > > > > Can I make multiproject to build a specific tree first?
> > > > > > >
> > > > > > > -Dan
> > > > > > >
> > > > > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Multiproject builds orderring
Posted by Steve Molloy <sm...@convera.com>.
You could also set a dummy dependency between the 2 projects. Even if
it's not actually used, it will provide your ordering. I know I used it
for multi-level project trees, where I had, for instance, 3 components
part of a core project, another 2 part of UI. So even if the UI project
didn't actually depend on the core one (neither actually had code, just
sub-projects), I had a dependency which ended up deploying an empty jar
to our local repository but made sure that UI was always built after
core...
Steve
On Thu, 2005-05-05 at 21:35 -0700, dan tran wrote:
> I asked for it eh?
>
> Any how, I took a look at the code involved, it is deep in ant's
> DirectoryScanner.
> Using maven.multiproject.includes is not fit.
>
> I settle for some jelly in maven.xml ;-)
>
> Thanks for the offer.
>
> -D
>
>
>
> On 5/5/05, Brett Porter <br...@gmail.com> wrote:
> > You can request it :)
> >
> > If you want to provide a patch for 1.1 I'd be happy to apply it.
> >
> > - Brett
> >
> > On 5/6/05, dan tran <da...@gmail.com> wrote:
> > > actually, it does not have any orderring. Just the matter of which
> > > one shows up first in the directory list ;-)
> > >
> > > Can I request this feature? I am current using multiproejct plugin (reactor) to
> > > run one of my build systems which does not take advantage of maven's
> > > dependencies. (sorry, just cant)
> > >
> > > The orderring can be specified in maven.multiproject.includes.
> > >
> > > -D
> > >
> > >
> > > On 5/5/05, dan tran <da...@gmail.com> wrote:
> > > > Thanks Brett, It runs on the reverse alphabetical order
> > > > ie tree2 got called first ;-)
> > > >
> > > > -Dan
> > > >
> > > >
> > > > On 5/5/05, Brett Porter <br...@gmail.com> wrote:
> > > > > currently it is alphabetical.
> > > > >
> > > > > - Brett
> > > > >
> > > > > On 5/6/05, dan tran <da...@gmail.com> wrote:
> > > > > > Hello,
> > > > > >
> > > > > > I have 2 sub trees, both does not depend on each other.
> > > > > >
> > > > > > root/
> > > > > >
> > > > > > tree1/
> > > > > >
> > > > > > tree2/
> > > > > >
> > > > > > Can I make multiproject to build a specific tree first?
> > > > > >
> > > > > > -Dan
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
Re: Multiproject builds orderring
Posted by dan tran <da...@gmail.com>.
I asked for it eh?
Any how, I took a look at the code involved, it is deep in ant's
DirectoryScanner.
Using maven.multiproject.includes is not fit.
I settle for some jelly in maven.xml ;-)
Thanks for the offer.
-D
On 5/5/05, Brett Porter <br...@gmail.com> wrote:
> You can request it :)
>
> If you want to provide a patch for 1.1 I'd be happy to apply it.
>
> - Brett
>
> On 5/6/05, dan tran <da...@gmail.com> wrote:
> > actually, it does not have any orderring. Just the matter of which
> > one shows up first in the directory list ;-)
> >
> > Can I request this feature? I am current using multiproejct plugin (reactor) to
> > run one of my build systems which does not take advantage of maven's
> > dependencies. (sorry, just cant)
> >
> > The orderring can be specified in maven.multiproject.includes.
> >
> > -D
> >
> >
> > On 5/5/05, dan tran <da...@gmail.com> wrote:
> > > Thanks Brett, It runs on the reverse alphabetical order
> > > ie tree2 got called first ;-)
> > >
> > > -Dan
> > >
> > >
> > > On 5/5/05, Brett Porter <br...@gmail.com> wrote:
> > > > currently it is alphabetical.
> > > >
> > > > - Brett
> > > >
> > > > On 5/6/05, dan tran <da...@gmail.com> wrote:
> > > > > Hello,
> > > > >
> > > > > I have 2 sub trees, both does not depend on each other.
> > > > >
> > > > > root/
> > > > >
> > > > > tree1/
> > > > >
> > > > > tree2/
> > > > >
> > > > > Can I make multiproject to build a specific tree first?
> > > > >
> > > > > -Dan
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Multiproject builds orderring
Posted by Brett Porter <br...@gmail.com>.
You can request it :)
If you want to provide a patch for 1.1 I'd be happy to apply it.
- Brett
On 5/6/05, dan tran <da...@gmail.com> wrote:
> actually, it does not have any orderring. Just the matter of which
> one shows up first in the directory list ;-)
>
> Can I request this feature? I am current using multiproejct plugin (reactor) to
> run one of my build systems which does not take advantage of maven's
> dependencies. (sorry, just cant)
>
> The orderring can be specified in maven.multiproject.includes.
>
> -D
>
>
> On 5/5/05, dan tran <da...@gmail.com> wrote:
> > Thanks Brett, It runs on the reverse alphabetical order
> > ie tree2 got called first ;-)
> >
> > -Dan
> >
> >
> > On 5/5/05, Brett Porter <br...@gmail.com> wrote:
> > > currently it is alphabetical.
> > >
> > > - Brett
> > >
> > > On 5/6/05, dan tran <da...@gmail.com> wrote:
> > > > Hello,
> > > >
> > > > I have 2 sub trees, both does not depend on each other.
> > > >
> > > > root/
> > > >
> > > > tree1/
> > > >
> > > > tree2/
> > > >
> > > > Can I make multiproject to build a specific tree first?
> > > >
> > > > -Dan
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Multiproject builds orderring
Posted by dan tran <da...@gmail.com>.
actually, it does not have any orderring. Just the matter of which
one shows up first in the directory list ;-)
Can I request this feature? I am current using multiproejct plugin (reactor) to
run one of my build systems which does not take advantage of maven's
dependencies. (sorry, just cant)
The orderring can be specified in maven.multiproject.includes.
-D
On 5/5/05, dan tran <da...@gmail.com> wrote:
> Thanks Brett, It runs on the reverse alphabetical order
> ie tree2 got called first ;-)
>
> -Dan
>
>
> On 5/5/05, Brett Porter <br...@gmail.com> wrote:
> > currently it is alphabetical.
> >
> > - Brett
> >
> > On 5/6/05, dan tran <da...@gmail.com> wrote:
> > > Hello,
> > >
> > > I have 2 sub trees, both does not depend on each other.
> > >
> > > root/
> > >
> > > tree1/
> > >
> > > tree2/
> > >
> > > Can I make multiproject to build a specific tree first?
> > >
> > > -Dan
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Multiproject builds orderring
Posted by dan tran <da...@gmail.com>.
Thanks Brett, It runs on the reverse alphabetical order
ie tree2 got called first ;-)
-Dan
On 5/5/05, Brett Porter <br...@gmail.com> wrote:
> currently it is alphabetical.
>
> - Brett
>
> On 5/6/05, dan tran <da...@gmail.com> wrote:
> > Hello,
> >
> > I have 2 sub trees, both does not depend on each other.
> >
> > root/
> >
> > tree1/
> >
> > tree2/
> >
> > Can I make multiproject to build a specific tree first?
> >
> > -Dan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Multiproject builds orderring
Posted by Brett Porter <br...@gmail.com>.
currently it is alphabetical.
- Brett
On 5/6/05, dan tran <da...@gmail.com> wrote:
> Hello,
>
> I have 2 sub trees, both does not depend on each other.
>
> root/
>
> tree1/
>
> tree2/
>
> Can I make multiproject to build a specific tree first?
>
> -Dan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org