On Mon, 2002-03-25 at 16:33, Jon Scott Stevens wrote:
> on 3/25/02 12:16 PM, "Jason van Zyl" <[EMAIL PROTECTED]> wrote:
> 
> > You just need to update-jars.
> 
> Sigh. I DID. Do you see a commons-logging.jar in there?

This will have to become a matter of process ... I am guessing that you
built your beanutils from CVS which craig must have updated to use the
commons-logging API. The jars used for building come from the the
central JAR repo which is what the rest of us are building against. A
handful of us in irc have been building all day and jeff and I just
wiped out our lib.repo's and did the whole bootstrap process.

So this is a versioning problem and has to be dealt with. As a first
step I think we should try to used released jars where possible unless
there is a severe problem with the released version.

This is where the process starts so that we can all build reliably. I
think we have to decide that the central repository is _the_ source for
the jars used in building. I don't know how else things can be stable.

I would definitely like to add a mode of building that allows for the
type of thing you and I do on a daily basis but for now the JARs used to
build maven are specified and they are the JARs that live in the
repository.

This is totally up for discussion and it's something we should work
through because this is going to be a wide scale issue in general.

> -jon
> 
> [220][ ~/checkout/jakarta-turbine-maven ]% dir
> total 56
>  0 drwxrwxr-x   17 jon  staff    534 Mar 25 13:11 ./
>  0 drwxr-xr-x  120 jon  staff   4036 Mar 25 12:40 ../
>  4 -rw-rw-r--    1 jon  staff     43 Feb 21 19:47 .cvsignore
>  0 drwxrwxr-x    7 jon  staff    194 Mar 25 12:40 CVS/
>  0 drwxrwxr-x    3 jon  staff     58 Mar 25 13:11 bootstrap/
>  0 -rw-rw-r--    1 jon  staff      0 Mar 25 13:11 bootstrap.report
> 12 -rw-rw-r--    1 jon  staff   8360 Mar 24 15:17 build-bootstrap.xml
>  4 -rw-rw-r--    1 jon  staff   3574 Mar 14 14:23 build.xml
>  0 drwxrwxr-x    5 jon  staff    126 Mar 25 12:40 conf/
>  4 -rw-rw-r--    1 jon  staff   1215 Mar 24 13:09 jakarta-turbine-maven.xml
>  0 drwxrwxr-x    2 jon  staff     24 Mar 25 13:11 maven/
>  4 -rw-rw-r--    1 jon  staff    762 Mar 14 17:36 project.properties
>  8 -rw-rw-r--    1 jon  staff   7452 Mar 24 10:16 project.xml
>  4 -rw-rw-r--    1 jon  staff    321 Mar 25 09:12 release-todo
>  0 drwxrwxr-x   13 jon  staff    398 Mar 25 12:41 src/
> 16 -rw-rw-r--    1 jon  staff  13668 Mar 25 13:11 velocity.log
>  0 drwxrwxr-x   28 jon  staff    908 Mar 25 12:41 xdocs/
> [221][ ~/checkout/jakarta-turbine-maven ]% ant -f build-bootstrap.xml
> update-jars
> Buildfile: build-bootstrap.xml
> 
> update-jars:
>       [get] Getting:
> http://jakarta.apache.org/turbine/jars/stratum-1.0-b2-dev.jar
>       [get] Not modified - so not downloaded
>       [get] Getting: http://jakarta.apache.org/turbine/jars/log4j-1.1.3.jar
>       [get] Not modified - so not downloaded
>       [get] Getting:
> http://jakarta.apache.org/turbine/jars/velocity-1.3-dev.jar
>       [get] Not modified - so not downloaded
>       [get] Getting: http://jakarta.apache.org/turbine/jars/dom4j-1.3.jar
>       [get] Not modified - so not downloaded
>       [get] Getting:
> http://jakarta.apache.org/turbine/jars/commons-util-1.0-rc2-dev.jar
>       [get] Not modified - so not downloaded
>       [get] Getting:
> http://jakarta.apache.org/turbine/jars/commons-graph.jar
>       [get] Not modified - so not downloaded
>       [get] Getting:
> http://jakarta.apache.org/turbine/jars/commons-lang-0.1-dev.jar
>       [get] Not modified - so not downloaded
>       [get] Getting: http://jakarta.apache.org/turbine/jars/commons-io.jar
>       [get] Not modified - so not downloaded
>       [get] Getting:
> http://jakarta.apache.org/turbine/jars/commons-beanutils.jar
>       [get] Not modified - so not downloaded
>       [get] Getting:
> http://jakarta.apache.org/turbine/jars/commons-collections.jar
>       [get] Not modified - so not downloaded
>       [get] Getting:
> http://jakarta.apache.org/turbine/jars/velocity-dvsl-0.43.jar
>       [get] Not modified - so not downloaded
>       [get] Getting: http://jakarta.apache.org/turbine/jars/jdepend.jar
>       [get] Not modified - so not downloaded
> 
> BUILD SUCCESSFUL
> 
> Total time: 4 seconds
> [222][ ~/checkout/jakarta-turbine-maven ]% ant -f build-bootstrap.xml
> Buildfile: build-bootstrap.xml
> 
> compile:
>    [delete] Deleting directory
> /Users/jon/checkout/jakarta-turbine-maven/bootstrap
>     [mkdir] Created dir: /Users/jon/checkout/jakarta-turbine-maven/bootstrap
>     [javac] Compiling 19 source files to
> /Users/jon/checkout/jakarta-turbine-maven/bootstrap
>       [jar] Building jar: /Users/jon/java/maven.jar
> 
> generate-build:
>    [delete] Deleting directory
> /Users/jon/checkout/jakarta-turbine-maven/maven
>     [mkdir] Created dir: /Users/jon/checkout/jakarta-turbine-maven/maven
>      [echo] 
>       maven.home = /Users/jon/maven
>     
> [create-build-system] Generating to file
> /Users/jon/checkout/jakarta-turbine-maven/bootstrap.report
> 
> BUILD FAILED
> 
> java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
>         at 
> org.apache.commons.beanutils.ConvertUtils.<clinit>(ConvertUtils.java)
>         at org.apache.stratum.xo.Mapper.treeWalk(Unknown Source)
>         at org.apache.stratum.xo.Mapper.map(Unknown Source)
>         at org.apache.stratum.xo.Mapper.map(Unknown Source)
>         at org.apache.stratum.xo.Mapper.map(Unknown Source)
>         at 
> org.apache.maven.BaseProjectTask.initControlContext(BaseProjectTask.java:116
> )
>         at 
> org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:104)
>         at org.apache.tools.ant.Task.perform(Task.java:217)
>         at org.apache.tools.ant.Target.execute(Target.java:184)
>         at org.apache.tools.ant.Target.performTasks(Target.java:202)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:601)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:560)
>         at org.apache.tools.ant.Main.runBuild(Main.java:454)
>         at org.apache.tools.ant.Main.start(Main.java:153)
>         at org.apache.tools.ant.Main.main(Main.java:176)
> 
> Total time: 5 seconds
> org/apache/commons/logging/LogFactory
> [223][ ~/checkout/jakarta-turbine-maven ]% 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]

http://tambora.zenplex.org


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

Reply via email to