news <[EMAIL PROTECTED]> wrote on 03/01/2003 02:49:59 AM:

> [EMAIL PROTECTED] wrote:
> > 
> > I was hoping to get to this before you, but given I'm still running 
the 
> > 'update all' from gump\work (and have for the last 10-11 hrs), it'll 
have 
> > to wait :)
> 
> You should be able to reproduce this without gump.
I could, but I'm trying to learn how to use Gump.

> > I could also hack about the bootstrap task in maven so that we can 
> > override the location of the jars for the classpath, or will gump (by 
> > specifying build.sysclasspath=only) override any classpath 
> > references/elements in the build file?
> 
> the classpath elements will be overriden.
Cool.

> > If that's the case, rather than trying to build all of maven, lets get 
a 
> > parallel stream running where we can bootstrap it too.
> 
> parallel is good.  How can I help?
We'll need a descriptor for maven-bootstrap that depends on ant (and jaxp 
under < jdk14).

The bootstrap build file is build-bootstrap.xml in the base directory of 
maven.

We'll need to pass the build file some properties:
#offline mode
maven.bootstrap.online=-o
maven.get.jars.baseUrl = http://www.ibiblio.org/maven
maven.bootstrap.dir = ${basedir}/bootstrap
maven.bootstrap.classes = ${maven.bootstrap.dir}/bootstrap-classes
maven.bootstrap.phase1.classes = ${maven.bootstrap.dir}/phase1-classes
maven.bootstrap.install.dir = ${maven.bootstrap.dir}/install-phase1
maven.home=${maven.bootstrap.dir}/maven.home
maven.local.repo=${maven.bootstrap.dir}/maven.local.repo
maven.jar.override=true
and then maven.jar.xxx for each of mavens dependencies:

dom4j, ant, ant-optional, commons-beanutils, commons-betwixt, commons-cli, 
commons-collections, commons-digester, commons-grant, commons-graph, 
commons-io, commons-jelly, commons-jexl, commons-lang, commons-logging, 
commons-util, forehead, jdepend, logkit, log4j, piccolo, velocity, werkz, 
which, xml-apis, xerces.

Some of these are *not* compile time deps, but run-time deps.

That should build maven into the ${maven.home} directory using whatever 
jars we give it, I think :)
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to