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/12/06 13:23:12 UTC

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

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