Hi there,

I'm having problems running my test case with AbstractMerlinTestCase. The
test fails with NPE when calling the first time getLogger().

> The unit test package is dependent on the latest build of Merlin.

I did build merlin from scratch. I've got now
Implementation: merlin:merlin-impl;3.3-SNAPSHOT (20040312.154102)

However, going into avalon/merlin and doing a "maven merlin:update" does
fail with a 'Goal "merlin:update" does not exist in this project.' I do not
know whether this is done correctly. Is it the right directory? Maybe it is
not necessary in any case?

> When using the abstract testcase you need to include the following 
> dependency statement in your project.xml file...

I did do that, however with a newer version

        <dependency>
            <groupId>merlin</groupId>
            <artifactId>merlin-unit</artifactId>
            <version>3.2.6-dev</version>
        </dependency>

> It is strongly recommended that you remove any avalon-* and merlin-*
> directories from you maven repository.  In addition, if your updating
> Merlin to the latest binary release then please replace both the
> MERLIN_HOME/bin directory and the MERLIN_HOME/system directory.

I did remove and I am running merlin from the snapshot directory
taraget/merlin directory. From other threads I learned that LogKit 1.2 has
to be in the classpath too.

        <dependency>
            <groupId>logkit</groupId>
            <artifactId>logkit</artifactId>
            <version>1.2</version>
        </dependency>

By the way, is LogKit 1.2 the old version of avalon-logging 1.0? 

However, test keep failing.

I am struggling for hours now to get this simple example working and am
looking forward to any help.

Thanks in advance.
Daniel Frey


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to