Angelo, Thanks for your email! Glad to know people are trying out things! Also, having other people do the build really helps me find the rough spots in the build.
> -----Original Message----- > From: Angelo Turetta [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 22, 2003 5:25 PM > To: Turbine Developers List > Subject: What kind of magic am I missing ? (was: Turbine 2.4 Status > Update) > > > ----- Original Message ----- > From: "Eric Pugh" <[EMAIL PROTECTED]> > Sent: Friday, November 21, 2003 8:49 PM > > > > Hi all, > > > > 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, > Factory, > > 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); Good point.. Not sure why this happens, that is a bit weird. If I get a chance I'll look into it, but I noticed that problem and didn't really think about it at all. I fixed one bug in AbstractMerlinTestCase, this may be related. > > 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 ?). Not sure, maybe related to point 1? I notice that it happens when you run under a reactor build. Try it with each individual project and it doesn't. So I think it is some sort of reactor not passing the right stuff/merlin not reading the right stuff... > > 3) never to mention the .merlin directory under my home dir. By default, i think that is where merlin puts the merlin stuff if you don't have a MERLIN_HOME specified. However, if you are running stuff under turbine, it may be my crummy implementation of the Merlin container. There is work going on to come up with a single merlin core that is used in every bootstrap case. I don't yet quite know where to put the merlin files in turbine based webapps.. in the /webapp/web-inf/lib dir? Or shared in MERLIN_HOME? Or maybe a setting.. I like the idea that with merlin, if I deploy 10 webapps all using the same component, merlin downloads and shares the component, making my .war file smaller... > > 4) after all this, the tests still don't run because of the > following error: > Would you run this not as a reactor, but a single component run (jakarta-turbine-fulcrum/crypto/ maven test) and send me the results..? > 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 > org.apache.avalon.composition.model.impl.DefaultClassLoaderMod > el.buildOption > alPackages(DefaultClassLoaderModel.java:504) > at > org.apache.avalon.composition.model.impl.DefaultClassLoaderMod > el.<init>(Defa > ultClassLoaderModel.java:219) > at > org.apache.avalon.composition.model.impl.DefaultClassLoaderMod > el.createClass > LoaderModel(DefaultClassLoaderModel.java:128) > at > org.apache.avalon.composition.model.impl.DefaultContainmentMod > el.createConta > inmentModel(DefaultContainmentModel.java:457) > at > org.apache.avalon.composition.model.impl.DefaultContainmentMod > el.createConta > inmentModel(DefaultContainmentModel.java:673) > at > org.apache.avalon.composition.model.impl.DefaultContainmentMod > el.addContainm > entModel(DefaultContainmentModel.java:281) > at > org.apache.avalon.merlin.unit.AbstractMerlinTestCase.<init>(Ab > stractMerlinTe > stCase.java:250) > at > org.apache.avalon.merlin.unit.AbstractMerlinTestCase.<init>(Ab > stractMerlinTe > stCase.java:126) > at > org.apache.fulcrum.crypto.CryptoServiceTest.<init>(CryptoServi > ceTest.java:79 > ) > > > 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) > ---------------------------- I am in progress of breaking up the security code (another week probably). I will get those jars uploaded but rightnow you have to build them. If you are really keen to try the security stuff I can do it tomarrow, just let me know. > > 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 ? Also, any other issues you run into, I'd love patchs to the fulcrum/xdocs/ howto build file! Eric --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
