You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by di...@multitask.com.au on 2003/01/02 18:23:25 UTC

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

news <ne...@main.gmane.org> wrote on 03/01/2003 02:49:59 AM:

> dion@multitask.com.au 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


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

Posted by di...@multitask.com.au.
Sam Ruby <ru...@intertwingly.net> wrote on 03/01/2003 10:02:23 AM:

> dion@multitask.com.au wrote:
> >><depend project="jakarta-ant" property="maven.jar.ant" id="ant"/>
> > 
> > And.
> >   <property name="maven.jar.ant" value="${gump's location of ant jar 
file 
> > - ${jarDir}/jakarta-ant/ant.jar???}" />
> 
> That should not be required.  Note the "property=" on the depend 
> element.  There even is an "id" which identifies which ant jar, to 
> handle those cases where projects rename jars.
Cool. Ya learn something new every day.
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


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

Posted by di...@multitask.com.au.
Sam Ruby <ru...@intertwingly.net> wrote on 03/01/2003 10:02:23 AM:

> dion@multitask.com.au wrote:
> >><depend project="jakarta-ant" property="maven.jar.ant" id="ant"/>
> > 
> > And.
> >   <property name="maven.jar.ant" value="${gump's location of ant jar 
file 
> > - ${jarDir}/jakarta-ant/ant.jar???}" />
> 
> That should not be required.  Note the "property=" on the depend 
> element.  There even is an "id" which identifies which ant jar, to 
> handle those cases where projects rename jars.
Cool. Ya learn something new every day.
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


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

Posted by Sam Ruby <ru...@intertwingly.net>.
dion@multitask.com.au wrote:
>><depend project="jakarta-ant" property="maven.jar.ant" id="ant"/>
> 
> And.
>   <property name="maven.jar.ant" value="${gump's location of ant jar file 
> - ${jarDir}/jakarta-ant/ant.jar???}" />

That should not be required.  Note the "property=" on the depend 
element.  There even is an "id" which identifies which ant jar, to 
handle those cases where projects rename jars.

- Sam Ruby


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

Posted by Sam Ruby <ru...@intertwingly.net>.
dion@multitask.com.au wrote:
>><depend project="jakarta-ant" property="maven.jar.ant" id="ant"/>
> 
> And.
>   <property name="maven.jar.ant" value="${gump's location of ant jar file 
> - ${jarDir}/jakarta-ant/ant.jar???}" />

That should not be required.  Note the "property=" on the depend 
element.  There even is an "id" which identifies which ant jar, to 
handle those cases where projects rename jars.

- Sam Ruby


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


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

Posted by di...@multitask.com.au.
Sam Ruby <ru...@intertwingly.net> wrote on 03/01/2003 04:52:40 AM:

> > The bootstrap build file is build-bootstrap.xml in the base directory 
of 
> > maven.
> 
> <ant buildfile="build-gump.xml">
This one should be:
<ant buildfile="build-bootstrap.xml">

> > We'll need to pass the build file some properties:
> > #offline mode
> > maven.bootstrap.online=-o
> 
> <property name="version" value="-o"/>

<property name="maven.bootstrap.online" value="-o"/>

> > maven.get.jars.baseUrl = http://www.ibiblio.org/maven
> 
> Why?
We probably don't need it, as we're telling Maven we're offline, I just 
wasn't sure.

[snip other goodies]

> > 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"/>

And.
  <property name="maven.jar.override" value="true" />
  <property name="maven.jar.ant" value="${gump's location of ant jar file 
- ${jarDir}/jakarta-ant/ant.jar???}" />

otherwise Maven will try to download the ant jar from ibiblio.

> I can take this one.  Can you see what you can do to get jelly built?
Yep, I think Morgan is doing a test on a single taglib to see if he can 
get it going. I'll help.

Thanks,
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au



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

Posted by di...@multitask.com.au.
Sam Ruby <ru...@intertwingly.net> wrote on 03/01/2003 04:52:40 AM:

> > The bootstrap build file is build-bootstrap.xml in the base directory 
of 
> > maven.
> 
> <ant buildfile="build-gump.xml">
This one should be:
<ant buildfile="build-bootstrap.xml">

> > We'll need to pass the build file some properties:
> > #offline mode
> > maven.bootstrap.online=-o
> 
> <property name="version" value="-o"/>

<property name="maven.bootstrap.online" value="-o"/>

> > maven.get.jars.baseUrl = http://www.ibiblio.org/maven
> 
> Why?
We probably don't need it, as we're telling Maven we're offline, I just 
wasn't sure.

[snip other goodies]

> > 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"/>

And.
  <property name="maven.jar.override" value="true" />
  <property name="maven.jar.ant" value="${gump's location of ant jar file 
- ${jarDir}/jakarta-ant/ant.jar???}" />

otherwise Maven will try to download the ant jar from ibiblio.

> I can take this one.  Can you see what you can do to get jelly built?
Yep, I think Morgan is doing a test on a single taglib to see if he can 
get it going. I'll help.

Thanks,
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


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

Posted by Sam Ruby <ru...@intertwingly.net>.
dion@multitask.com.au 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


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


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

Posted by Sam Ruby <ru...@intertwingly.net>.
dion@multitask.com.au 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