Hi,

we are trying to run some MerlinTestCases. It seems that we are unable to
set the repository locations, though. It seems that in the INFO section, the
replository locations are right, but then, they get switched back to the
default values.

How is that? And how does the kernel configuration override that behaviour?



Thanks for any hints :)


/peter




merlin.properties:
-------------------
merlin.info = true
merlin.debug = true
merlin.override = conf/merlin-test-config.xml

merlin-test-config.xml:
-----------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<kernel>
   <!-- logging system parameters -->
   <logging priority="INFO" name="kernel"/>
   <repository>
     <hosts>
       <host path="file:///C:/Documents and
Settings/tso/.maven/repository"/>
       <host path="http://arven/artifacts"/>
     </hosts>
   </repository>
</kernel>

avalon.properties:
------------------
avalon.repository.hosts=file:///C:/Documents and
Settings/pnb/.maven/repository,http://arven/artifacts



output:
-------
test:test:
    [junit] dir attribute ignored if running in the same VM
    [junit] Running com.scancoin.display.test.DisplayTest
[DEBUG  ] (kernel.logging): default priority: DEBUG
[DEBUG  ] (kernel.logging): adding category: kernel
[DEBUG  ] (kernel): logging system established
[INFO   ] (kernel): Merlin Kernel Environment Listing

  ${user.dir} ==
D:\Program\eclipse3m6\eclipse\workspace\TestApp\modules\displa
y
  ${user.home} == C:\Documents and Settings\PNB

  ${avalon.repository.cache} == c:\programs\maven\repository
  ${avalon.repository.hosts} == file:///C:/Documents and
Settings/pnb/.maven/rep
ository,http://arven/artifacts

  ${merlin.repository} == c:\programs\maven\repository
  ${merlin.lang} == null
  ${merlin.home} == D:\projekt\avalon\merlin\target\merlin
  ${merlin.system} == D:\projekt\avalon\merlin\target\merlin\system
  ${merlin.config} == D:\projekt\avalon\merlin\target\merlin\config
  ${merlin.kernel} ==
file:/D:/projekt/avalon/merlin/target/merlin/config/kernel
.xml
  ${merlin.override} == conf/merlin-test-config.xml
  ${merlin.dir} ==
D:\Program\eclipse3m6\eclipse\workspace\TestApp\modules\disp
lay\impl
  ${merlin.temp} == C:\DOCUME~1\PNB\LOCALS~1\Temp
  ${merlin.context} ==
D:\Program\eclipse3m6\eclipse\workspace\TestApp\modules\
display\impl\target
  ${merlin.anchor} ==
D:\Program\eclipse3m6\eclipse\workspace\TestApp\modules\d
isplay\impl
  ${merlin.info} == true
  ${merlin.debug} == true
  ${merlin.server} == true
  ${merlin.autostart} == true
  ${merlin.deployment} == file:/${user.dir}/impl/target/classes/

[DEBUG  ] (kernel): repository established:
cache:c:\programs\maven\repository,
http://dpml.net/, http://www.ibiblio.org/maven/
[DEBUG  ] (kernel.logging): adding category: kernel
........
---- exception report
----------------------------------------------------------

Exception: org.apache.avalon.merlin.KernelException
Message: Install failure:
file:/D:/Program/eclipse3m6/eclipse/workspace/TestApp
/modules/display/impl/target/classes/
---- cause
---------------------------------------------------------------------

Exception: org.apache.avalon.composition.model.ModelException
Message: Could not create classloader.
---- cause
---------------------------------------------------------------------

Exception: org.apache.avalon.repository.RepositoryException
Message: Failed to download artifact to local cache file
c:\programs\maven\repos
itory\testapp\jars\testapp-display-api-DEV.jar from hosts:
  http://dpml.net/
  http://www.ibiblio.org/maven/

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

Reply via email to