David Leangen wrote:

To continue with my build, I manually inserted the mailapi-1.3.1.jar in
its proper place.

However, there is another build error. Any help would be appreciated.

[x:reactor] Exception: org.apache.avalon.repository.RepositoryException
[x:reactor] Message: Unknown artifact:
[artifact:jar:avalon/finder/avalon-finder
-impl#SNAPSHOT].

OK - this is interesting.

Basically what is happening is that magic has sorted all of the projects in avalon based on dependencies. In principal the planet/facilities/finder/impl project should have been built before the test project and at the end of the impl build the impl jar should have been copied to magic's cache.

The actual error your seeing is because Merlin is being told to load a container that includes the finder impl jar in its classloader definition and merlin is looking in it's cache and not finding it.

So first of all:

  1. if the following file exists we know its not a magic
     build sequence issue:

planet/facilities/finder/impl/target/deliverables/jars/avalon-finder-impl-SNAPSHOT.jar

  2. magic should have copied this file to the magic cache
     so you should have this under something like (from memory):

${user.home}/.magic/cache/avalon/finder/jars/avalon-finder-impl-SNAPSHOT.jar

If both the above files exist then we have an issue with the setup of the cache in the testcase.

Steve.

--

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

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



Reply via email to