On Thu, 2004-04-01 at 03:36, Stephen McConnell wrote:
> Bruno Dumon wrote:
> > Thanks for your reply Stephen.
> >
> > On Wed, 2004-03-31 at 18:55, Stephen McConnell wrote:
> >
> >>Bruno:
> >>
> >>Not sure what the problem is but my feeling is that your build may be a
> >>little out of sync. There are currently a lot of updates going into the
> >>excalibur content and I'm replicating version changes into the merlin
> >>and associated packages - and other associated housekeeping stuff.
> >>Currently I'm getting a clean build but I need to make a few commits
> >>later this evening following synchronization of cornerstone, repository
> >>and merlin with recent excalibur updates.
> >
> >
> > I had been thinking something like that. My avalon dir was a fresh
> > checkout (done this morning) though. Also, I'm not building anything
> > from excalibur myself, but just relying on the downloaded artifacts.
> > Maybe I'd better build that from CVS too?
>
> There seems to be a problem with the synchronization of the apache jar
> repository content with the ibiblio content which could well be throwing
> things out (resolution is in progress). I've made some updates to the
> builds yesterday that should take care of the logkit and excalibur
> dependencies automatically. I've also updated ibiblio with the latest
> repo, meta, logging, util, and merlin content. So in principal - a cvs
> update and build should do the trick.
Hmmm... I have a clean avalon CVS snapshot, I cleaned out my local maven
repository, and ran 'ant clean' and 'ant' in the avalon directory (which
launches the individual maven builds).
This runs successfully (I still have my temporary-but-not-good-enough
patch in place for the threading problem in the commissioner). Then I
run maven in merlin/facilities/finder. The build is successful, but the
testcases still fail with the following error:
test:test:
[junit] Running org.apache.avalon.finder.test.StandardTestCase
[INFO ] (kernel): building application model
[INFO ] (kernel): install phase
[INFO ] (kernel): installing: file:${user.dir}/test/target/classes/
---- exception report ----------------------------------------------------------
Exception: org.apache.avalon.merlin.KernelException
Message: Install failure:
file:/home/bruno/oss/avalon/merlin/facilities/finder/test/target/classes/
---- cause ---------------------------------------------------------------------
Exception: org.apache.avalon.composition.model.ModelException
Message: Could not create classloader.
---- cause ---------------------------------------------------------------------
Exception: java.lang.IllegalArgumentException
Message: Bad specification version format 'SNAPSHOT' in 'avalon-finder-api'. (Reason:
java.lang.NumberFormatException: For input string: "SNAPSHOT")
---- stack trace ---------------------------------------------------------------
java.lang.IllegalArgumentException: Bad specification version format 'SNAPSHOT' in
'avalon-finder-api'. (Reason: java.lang.NumberFormatException: For input string:
"SNAPSHOT")
org.apache.avalon.extension.Extension.<init>(Extension.java:411)
org.apache.avalon.extension.Extension.getExtension(Extension.java:755)
org.apache.avalon.extension.Extension.getAvailable(Extension.java:208)
org.apache.avalon.extension.Extension.getAvailable(Extension.java:245)
org.apache.avalon.composition.model.impl.DefaultClassLoaderModel.buildOptionalPackages(DefaultClassLoaderModel.java:573)
org.apache.avalon.composition.model.impl.DefaultClassLoaderModel.<init>(DefaultClassLoaderModel.java:201)
org.apache.avalon.composition.model.impl.DefaultClassLoaderModel.createClassLoaderModel(DefaultClassLoaderModel.java:266)
org.apache.avalon.composition.model.impl.DefaultContainmentModel.createContainmentModel(DefaultContainmentModel.java:965)
org.apache.avalon.composition.model.impl.DefaultContainmentModel.createContainmentModel(DefaultContainmentModel.java:1181)
org.apache.avalon.composition.model.impl.DefaultContainmentModel.addContainmentModel(DefaultContainmentModel.java:575)
org.apache.avalon.composition.model.impl.DefaultContainmentModel.addContainmentModel(DefaultContainmentModel.java:569)
org.apache.avalon.merlin.impl.DefaultFactory.create(DefaultFactory.java:276)
org.apache.avalon.merlin.unit.AbstractMerlinTestCase.setUp(AbstractMerlinTestCase.java:164)
junit.framework.TestCase.runBare(TestCase.java:125)
So you're sure this works for you? I fail to see how/where the
"SNAPSHOT" case would be supported. AFAICS the version string is always
parsed by the DeweyDecimal class, which gives the
numberformatexception...
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]