harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu" <sean.xx....@gmail.com>
Subject Re: [buildtest] Shall we consider Maven as a BTI framework dependence?
Date Thu, 22 Nov 2007 01:46:46 GMT
2007/11/21, Stepan Mishura <stepan.mishura@gmail.com>:
>
> Hi Sean,
>
> On 11/21/07, Sean Qiu <sean.xx.qiu@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message