You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Angelo Turetta <at...@commit.it> on 2003/11/22 17:24:43 UTC

What kind of magic am I missing ? (was: Turbine 2.4 Status Update)

----- Original Message ----- 
From: "Eric Pugh" <ep...@upstate.com>
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);

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 ?).

3) never to mention the .merlin directory under my home dir.

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
org.apache.avalon.composition.model.impl.DefaultClassLoaderModel.buildOption
alPackages(DefaultClassLoaderModel.java:504)
 at
org.apache.avalon.composition.model.impl.DefaultClassLoaderModel.<init>(Defa
ultClassLoaderModel.java:219)
 at
org.apache.avalon.composition.model.impl.DefaultClassLoaderModel.createClass
LoaderModel(DefaultClassLoaderModel.java:128)
 at
org.apache.avalon.composition.model.impl.DefaultContainmentModel.createConta
inmentModel(DefaultContainmentModel.java:457)
 at
org.apache.avalon.composition.model.impl.DefaultContainmentModel.createConta
inmentModel(DefaultContainmentModel.java:673)
 at
org.apache.avalon.composition.model.impl.DefaultContainmentModel.addContainm
entModel(DefaultContainmentModel.java:281)
 at
org.apache.avalon.merlin.unit.AbstractMerlinTestCase.<init>(AbstractMerlinTe
stCase.java:250)
 at
org.apache.avalon.merlin.unit.AbstractMerlinTestCase.<init>(AbstractMerlinTe
stCase.java:126)
 at
org.apache.fulcrum.crypto.CryptoServiceTest.<init>(CryptoServiceTest.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)
----------------------------

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: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: What kind of magic am I missing ?

Posted by Stephen McConnell <mc...@apache.org>.

Angelo Turetta wrote:

>----- Original Message ----- 
>From: "Stephen McConnell" <mc...@apache.org>
>Sent: Saturday, November 22, 2003 6:04 PM
>
>
>  
>
>>>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.
>>    
>>
>
>Sorry to come back after that much time.
>
>I've rebuilt maven from CVS (1.0-rc2-SNAPSHOT), and the error is still
>there.
>Looking at it again, your explaination doesn't buy me. I've looked at the
>manifest for fulcrum-crypto-api and there are not comma separated lists. On
>the other hand the error message is clear: NumberFormatException for input
>string "0-alpha-4". It seems that somewhere inside avalon extension the
>parsing of version strings is not that flexible.
>

 From a hazy memory of the Sun manifest spec. a specification version is 
a dewy decimal.  After all - dependencies declared in a manifest can 
reference a something like 1.2 and this will match an extension with 1.2.3.

My guess is you need to update the specification version property.

>
>After some browsing I've not been able to find where in the cvs repository
>is stored org/apache/avalon/extension/Extension.java, I'd like to take a
>look at the code: what module should I checkout ?
>

avalon/merlin/

The extension handling is in the extensions subproject.

Cheers, Steve.

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


RE: What kind of magic am I missing ?

Posted by Eric Pugh <ep...@upstate.com>.
You know what, looking at that error again, I seem to recal something on
avalon-dev about a possible bug being fixed..  As I said, check there...

ERic

> -----Original Message-----
> From: Angelo Turetta [mailto:at-turbine@commit.it]
> Sent: Saturday, December 06, 2003 12:20 PM
> To: Turbine Developers List
> Subject: Re: What kind of magic am I missing ?
>
>
>
> ----- Original Message -----
> From: "Stephen McConnell" <mc...@apache.org>
> Sent: Saturday, November 22, 2003 6:04 PM
>
>
> > >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.
>
> Sorry to come back after that much time.
>
> I've rebuilt maven from CVS (1.0-rc2-SNAPSHOT), and the error is still
> there.
> Looking at it again, your explaination doesn't buy me. I've
> looked at the
> manifest for fulcrum-crypto-api and there are not comma
> separated lists. On
> the other hand the error message is clear:
> NumberFormatException for input
> string "0-alpha-4". It seems that somewhere inside avalon
> extension the
> parsing of version strings is not that flexible.
>
> After some browsing I've not been able to find where in the
> cvs repository
> is stored org/apache/avalon/extension/Extension.java, I'd
> like to take a
> look at the code: what module should I checkout ?
>
> Ciao,
> Angelo Turetta
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: What kind of magic am I missing ?

Posted by Angelo Turetta <at...@commit.it>.
----- Original Message ----- 
From: "Stephen McConnell" <mc...@apache.org>
Sent: Saturday, November 22, 2003 6:04 PM


> >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.

Sorry to come back after that much time.

I've rebuilt maven from CVS (1.0-rc2-SNAPSHOT), and the error is still
there.
Looking at it again, your explaination doesn't buy me. I've looked at the
manifest for fulcrum-crypto-api and there are not comma separated lists. On
the other hand the error message is clear: NumberFormatException for input
string "0-alpha-4". It seems that somewhere inside avalon extension the
parsing of version strings is not that flexible.

After some browsing I've not been able to find where in the cvs repository
is stored org/apache/avalon/extension/Extension.java, I'd like to take a
look at the code: what module should I checkout ?

Ciao,
Angelo Turetta


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: What kind of magic am I missing ?

Posted by Stephen McConnell <mc...@apache.org>.

Angelo Turetta wrote:

>----- Original Message ----- 
>From: "Eric Pugh" <ep...@upstate.com>
>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);
>

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: turbine-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>
>
>  
>

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


RE: What kind of magic am I missing ? (was: Turbine 2.4 Status Update)

Posted by Eric Pugh <ep...@upstate.com>.
Angelo,

I looked at your stack trace, and just tried rebuidling things..   I think
the problem is at the Merlin end of things..  Not trying to do the "blame
the other vendor" :-) game..

I did a fresh build and it worked.  I would as on avalon-user about this, it
may be dependent on which version of Merlin you have.  I assume you have the
merlin plugin and avalon meta plugins for Maven installed etc, as I don't
think you would get that far otherwise...

What I do is first went into /api and did 'maven jar:install' and then into
/impl and repeated 'merlin jar:install'.

Don't give up, I think once you get this environmental cruft out of the way
you will be happy!

ERic



> -----Original Message-----
> From: Angelo Turetta [mailto:at-turbine@commit.it]
> Sent: Saturday, December 06, 2003 12:23 PM
> To: epugh@upstate.com
> Cc: turbine-dev@jakarta.apache.org
> Subject: Re: What kind of magic am I missing ? (was: Turbine
> 2.4 Status
> Update)
>
>
> Sorry to come back only after two weeks....
>
> > > 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
>
> The error during test is still present even running outside
> of the reactor.
> Here are the full details. Please find attached the test result.txt
>
>
> Ciao,
> Angelo Turetta
>
> --------------------------------------------------------------
> --------------
> -----------
>
> D:\Java\apache\jakarta-turbine-fulcrum\crypto\impl>maven test
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2-SNAPSHOT
>
> java:prepare-filesystem:
>
> java:compile:
> avalon:meta:
>     [avalon] Writing descriptors using 'xml' format.
>     [avalon] Processed 1 Types and 0 Services from a total of
> 5 classes.
>     [avalon] Writing descriptors using 'xml' format.
>     [avalon] Processed 0 Types and 0 Services from a total of
> 1 classes.
>
>     [echo] Compiling to
> D:\Java\apache\jakarta-turbine-fulcrum\crypto\impl/target/classes
>
> java:jar-resources:
>
> test:prepare-filesystem:
>
> test:test-resources:
>
> test:compile:
>
> test:test:
>     [junit] dir attribute ignored if running in the same VM
>     [junit] Running org.apache.fulcrum.crypto.CryptoServiceTest
>     [junit] Tests run: 6, Failures: 6, Errors: 0, Time
> elapsed: 0.15 sec
>     [junit] [ERROR] TEST
> org.apache.fulcrum.crypto.CryptoServiceTest FAILED
>
> BUILD FAILED
> File...... file:/C:/Documents and
> Settings/aturetta/.maven/plugins/maven-test-plugin-1.4/
> Element... fail
> Line...... 129
> Column.... 54
> There were test failures.
> Total time: 12 seconds
> Finished at: Sat Dec 06 13:16:32 CET 2003
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: What kind of magic am I missing ? (was: Turbine 2.4 Status Update)

Posted by Angelo Turetta <at...@commit.it>.
Sorry to come back only after two weeks....

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

The error during test is still present even running outside of the reactor.
Here are the full details. Please find attached the test result.txt


Ciao,
Angelo Turetta

----------------------------------------------------------------------------
-----------

D:\Java\apache\jakarta-turbine-fulcrum\crypto\impl>maven test
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2-SNAPSHOT

java:prepare-filesystem:

java:compile:
avalon:meta:
    [avalon] Writing descriptors using 'xml' format.
    [avalon] Processed 1 Types and 0 Services from a total of 5 classes.
    [avalon] Writing descriptors using 'xml' format.
    [avalon] Processed 0 Types and 0 Services from a total of 1 classes.

    [echo] Compiling to
D:\Java\apache\jakarta-turbine-fulcrum\crypto\impl/target/classes

java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:

test:test:
    [junit] dir attribute ignored if running in the same VM
    [junit] Running org.apache.fulcrum.crypto.CryptoServiceTest
    [junit] Tests run: 6, Failures: 6, Errors: 0, Time elapsed: 0.15 sec
    [junit] [ERROR] TEST org.apache.fulcrum.crypto.CryptoServiceTest FAILED

BUILD FAILED
File...... file:/C:/Documents and
Settings/aturetta/.maven/plugins/maven-test-plugin-1.4/
Element... fail
Line...... 129
Column.... 54
There were test failures.
Total time: 12 seconds
Finished at: Sat Dec 06 13:16:32 CET 2003

RE: What kind of magic am I missing ? (was: Turbine 2.4 Status Update)

Posted by Eric Pugh <ep...@upstate.com>.
I will when we get to 1.0 for some of the fulcrum components.  Thanks!

Eric

> -----Original Message-----
> From: Stephen McConnell [mailto:mcconnell@apache.org]
> Sent: Saturday, November 22, 2003 9:15 PM
> To: Turbine Developers List
> Subject: Re: What kind of magic am I missing ? (was: Turbine 
> 2.4 Status
> Update)
> 
> 
> 
> 
> Rogelio Robles wrote:
> 
> >Eric,
> >
> >I'm also following your work with Fulcrum and I like the 
> direction that the
> >things are taking: using an Avalon container, Avalon 
> components and interfaces,
> >etc. 
> >
> >Every other week I build/rebuild from CVS HEAD Turbine, 
> Fulcrum, Torque, etc.
> >And last week I had trouble with Fulcrum but since I had 
> built it before I was
> >able to find (took some time to remember where to find them) 
> and build those
> >dependencies and install them in my Maven repo. Yes, it will 
> be nice have those
> >dependecies in ibiblio/maven or jakarta.apache.org/turbine/repo.
> >
> 
> Eric:
> 
> If you need/want things posted to ibiblio don't hesitate to 
> yell out and 
> I'll take care of it for you.
> 
> Cheers, Steve.
> 
> >
> >Keep those cvs commits coming, better things move than stale.
> >Rogelio
> >
> >--- Eric Pugh <ep...@upstate.com> wrote:
> >  
> >
> >>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:at-turbine@commit.it]
> >>>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" <ep...@upstate.com>
> >>>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(Extensio
> n.java:785)
> >>> at
> >>>org.apache.avalon.extension.Extension.getAvailable(Extensio
> n.java:241)
> >>> at
> >>>org.apache.avalon.extension.Extension.getAvailable(Extensio
> n.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: turbine-dev-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
> >>
> >>    
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
> >
> >
> >  
> >
> 
> -- 
> 
> Stephen J. McConnell
> mailto:mcconnell@apache.org
> 
> |------------------------------------------------|
> | Magic by Merlin                                |
> | Production by Avalon                           |
> |                                                |
> | http://avalon.apache.org/merlin                |
> | http://dpml.net/                               |
> |------------------------------------------------|
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: What kind of magic am I missing ? (was: Turbine 2.4 Status Update)

Posted by Stephen McConnell <mc...@apache.org>.

Rogelio Robles wrote:

>Eric,
>
>I'm also following your work with Fulcrum and I like the direction that the
>things are taking: using an Avalon container, Avalon components and interfaces,
>etc. 
>
>Every other week I build/rebuild from CVS HEAD Turbine, Fulcrum, Torque, etc.
>And last week I had trouble with Fulcrum but since I had built it before I was
>able to find (took some time to remember where to find them) and build those
>dependencies and install them in my Maven repo. Yes, it will be nice have those
>dependecies in ibiblio/maven or jakarta.apache.org/turbine/repo.
>

Eric:

If you need/want things posted to ibiblio don't hesitate to yell out and 
I'll take care of it for you.

Cheers, Steve.

>
>Keep those cvs commits coming, better things move than stale.
>Rogelio
>
>--- Eric Pugh <ep...@upstate.com> wrote:
>  
>
>>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:at-turbine@commit.it]
>>>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" <ep...@upstate.com>
>>>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: turbine-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>
>
>  
>

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


RE: What kind of magic am I missing ? (was: Turbine 2.4 Status Update)

Posted by Rogelio Robles <ro...@yahoo.com>.
Eric,

I'm also following your work with Fulcrum and I like the direction that the
things are taking: using an Avalon container, Avalon components and interfaces,
etc. 

Every other week I build/rebuild from CVS HEAD Turbine, Fulcrum, Torque, etc.
And last week I had trouble with Fulcrum but since I had built it before I was
able to find (took some time to remember where to find them) and build those
dependencies and install them in my Maven repo. Yes, it will be nice have those
dependecies in ibiblio/maven or jakarta.apache.org/turbine/repo.

Keep those cvs commits coming, better things move than stale.
Rogelio

--- Eric Pugh <ep...@upstate.com> wrote:
> 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:at-turbine@commit.it]
> > 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" <ep...@upstate.com>
> > 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: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


RE: What kind of magic am I missing ? (was: Turbine 2.4 Status Update)

Posted by Eric Pugh <ep...@upstate.com>.
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:at-turbine@commit.it]
> 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" <ep...@upstate.com>
> 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: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org