Re: cvs commit: jakarta-commons-sandbox/graph2 build.xml

Sam Ruby <[email protected]> Thu, 02 Jan 2003 12:52:40 -0500
Newsgroups gmane.comp.jakarta.alexandria.devel
Message-ID <[email protected]>
[email protected] wrote:
>>parallel is good.  How can I help?
> 
> We'll need a descriptor for maven-bootstrap that depends on ant (and jaxp 
> under < jdk14).

Easy enough:

<project name="maven-bootstrap">
   <depend project="jakarta-ant" inherit="runtime"/>
   <depend project="xml-xerces"/>
</project

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

<ant buildfile="build-gump.xml">

> We'll need to pass the build file some properties:
> #offline mode
> maven.bootstrap.online=-o

<property name="version" value="-o"/>

> maven.get.jars.baseUrl = http://www.ibiblio.org/maven

Why?

> 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

<property name="maven.bootstrap.dir" path="bootstrap"/>

(etc.)

> 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.

<depend project="dom4j" property="maven.jar.dom4j">
<depend project="jakarta-ant" property="maven.jar.ant" id="ant"/>

(etc.)

> 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 :)

I can take this one.  Can you see what you can do to get jelly built?

- Sam Ruby