Angelo Turetta wrote:
----- Original Message ----- From: "Eric Pugh" <[EMAIL PROTECTED]>
Sent: Friday, November 21, 2003 8:49 PM
Hi all,Factory,
I just wanted to let you know that I have all the unit tests passing for
using the Merlinized Fulcrum components! That means that currently in
Turbine 2.4 we are loading the Cache, Crypto, Intake, Localization,
and Mimetype services as components using Merlin.
First thing: Thanks a lot for your recent work on turbine, I think the code base just had the kind of shaking and polishing it needed to really shine. I'm a turbine user who likes to regularly build the latest bits, so I don't contribute much but sure I follow both the mailing list and the code changes.
That said, clearly, to run the 'merlin' unit tests recently set-up for the fulcrum components, some kind of 'wizardry' must be requested that I'm missing!
1) despite the code for AbstractMerlinTestCase actually checks maven.local.home, I had to revert and put my local repository back in .maven under my home directory (that is, back to the default);
Umm, does not sound right - I'm using a different maven.local.home from maven standard and the deps are pulled in from that repository.
2) even so, before running the tests, it downloads the dependencies for every component, and I end up with a .merlin directory in every components' subdir (WHY don't they use the existing maven repos ?).
Umm .. something odd going on here! What version of the merlin-unit is declared in the project dependencies?
3) never to mention the .merlin directory under my home dir.
This is the default location of the merlin system repository. The Avalon guys are currently working enhancements to the embedding facilities which will enable overriding of this sort of thing.
4) after all this, the tests still don't run because of the following error:
java.lang.IllegalArgumentException: Bad specification version format '1.0-alpha-4' in 'fulcrum-crypto-api'. (Reason: java.lang.NumberFormatException: For input string: "0-alpha-4") at org.apache.avalon.extension.Extension.<init>(Extension.java:444) at org.apache.avalon.extension.Extension.getExtension(Extension.java:785) at org.apache.avalon.extension.Extension.getAvailable(Extension.java:241) at org.apache.avalon.extension.Extension.getAvailable(Extension.java:278) at
The above exception is a result of a bug in an early version of the maven jar plugin. If you take a look a the jar manifest you will see an extensions list that is comma delimited. The manifest spec states that this is space delimited. The solution here is to update to a more recent version of maven - or just update the jar plugin.jelly.
Cheers, Steve.
Security Component
In Fulcrum is a vastly changed (and I hope improved) security component.
Trying tu build that one, I get the following: ---------------------------- The build cannot continue because of the following unsatisfied dependencies:
hibernate-avalon-0.3-dev.jar (no download url specified) osuser-1.0-dev.jar (no download url specified) propertyset-1.3-1Oct03.jar (no download url specified) ----------------------------
In other words: can you please post some hints to help me (and others, I suppose) build and test succesfully all of the fulcrum components ?
Thanks a lot, Angelo Turetta Modena - Italy
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Stephen J. McConnell mailto:[EMAIL PROTECTED]
|------------------------------------------------| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org/merlin | | http://dpml.net/ | |------------------------------------------------|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
