You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Sean Qiu <se...@gmail.com> on 2007/11/21 08:37:03 UTC

[buildtest] Shall we consider Maven as a BTI framework dependence?

Maven[1] is a popular software project management and comprehension tool.
Many apache projects are maintained by maven now.

We may integrate more applications into our BTI as what we have done to
Geronimo.
Geronimo will download and install Maven as a part of its adaptor[2].
Other applications cannot utilize the Maven.

Every applications that use Maven need to do the duplicate download and
install work.
So shall we consider Maven as a BTI framework dependence?
Shall we move Maven to ${bti-root}/script/parameters.xml external [3]?
Just take maven as a bti framework dependence as well as crurse-control and
ant-contrib.
Consequently, other applications using maven can using maven through ${
ext.maven.location}.


[1] http://maven.apache.org/
[2]
https://svn.apache.org/repos/asf/harmony/enhanced/buildtest/branches/2.0/tests/gut/build.xml
[3]
https://svn.apache.org/repos/asf/harmony/enhanced/buildtest/branches/2.0/scripts/parameters.xml
-- 
Sean Qiu
http://xiaoxia.turendui.com

Re: [buildtest] Shall we consider Maven as a BTI framework dependence?

Posted by Sean Qiu <se...@gmail.com>.
2007/11/21, Stepan Mishura <st...@gmail.com>:
>
> Hi Sean,
>
> On 11/21/07, Sean Qiu <se...@gmail.com> wrote:
> > Maven[1] is a popular software project management and comprehension
> tool.
> > Many apache projects are maintained by maven now.
> >
> > We may integrate more applications into our BTI as what we have done to
> > Geronimo.
> > Geronimo will download and install Maven as a part of its adaptor[2].
> > Other applications cannot utilize the Maven.
> >
> > Every applications that use Maven need to do the duplicate download and
> > install work.
>
> Yes, this should be fixed. I think that the script[2] for Geronimo
> should delegate Maven downloading and installing to the BTI framework.
>
> > So shall we consider Maven as a BTI framework dependence?
> > Shall we move Maven to ${bti-root}/script/parameters.xml external [3]?
> > Just take maven as a bti framework dependence as well as crurse-control
> and
> > ant-contrib.
>
> I wouldn't consider it as the framework dependence - there are suites
> that don't depends on Maven. So in many cases Maven shouldn't be
> downloaded and installed.


It makes sense.

> Consequently, other applications using maven can using maven through ${
> > ext.maven.location}.
> >
>
> Yes, as I said this can be achieved by delegating all work to BTI (i.e
> adding Maven to
> ${bti-root}/adaptors/gut/parameters.xml ). Then the framework will
> care about downloading and installing it. If another suite depends on
> Maven then it should declare in its parameters.xml Maven as external
> dependency. This will let to avoid duplicate download work.


+1
Oops, if some adaptors take a same external dependency, BTI will not
download more than once.
So if i encounter some other applications that dependents on Maven, then can
share Maven.

Thanks,
Sean Qiu


Thanks,
> Stepan.
>
> >
> > [1] http://maven.apache.org/
> > [2]
> >
> https://svn.apache.org/repos/asf/harmony/enhanced/buildtest/branches/2.0/tests/gut/build.xml
> > [3]
> >
> https://svn.apache.org/repos/asf/harmony/enhanced/buildtest/branches/2.0/scripts/parameters.xml
> > --
> > Sean Qiu
> > http://xiaoxia.turendui.com
>



-- 
Sean Qiu
http://xiaoxia.turendui.com

Re: [buildtest] Shall we consider Maven as a BTI framework dependence?

Posted by Stepan Mishura <st...@gmail.com>.
Hi Sean,

On 11/21/07, Sean Qiu <se...@gmail.com> wrote:
> Maven[1] is a popular software project management and comprehension tool.
> Many apache projects are maintained by maven now.
>
> We may integrate more applications into our BTI as what we have done to
> Geronimo.
> Geronimo will download and install Maven as a part of its adaptor[2].
> Other applications cannot utilize the Maven.
>
> Every applications that use Maven need to do the duplicate download and
> install work.

Yes, this should be fixed. I think that the script[2] for Geronimo
should delegate Maven downloading and installing to the BTI framework.

> So shall we consider Maven as a BTI framework dependence?
> Shall we move Maven to ${bti-root}/script/parameters.xml external [3]?
> Just take maven as a bti framework dependence as well as crurse-control and
> ant-contrib.

I wouldn't consider it as the framework dependence - there are suites
that don't depends on Maven. So in many cases Maven shouldn't be
downloaded and installed.

> Consequently, other applications using maven can using maven through ${
> ext.maven.location}.
>

Yes, as I said this can be achieved by delegating all work to BTI (i.e
adding Maven to
${bti-root}/adaptors/gut/parameters.xml ). Then the framework will
care about downloading and installing it. If another suite depends on
Maven then it should declare in its parameters.xml Maven as external
dependency. This will let to avoid duplicate download work.

Thanks,
Stepan.

>
> [1] http://maven.apache.org/
> [2]
> https://svn.apache.org/repos/asf/harmony/enhanced/buildtest/branches/2.0/tests/gut/build.xml
> [3]
> https://svn.apache.org/repos/asf/harmony/enhanced/buildtest/branches/2.0/scripts/parameters.xml
> --
> Sean Qiu
> http://xiaoxia.turendui.com