More on UnitTesting

[email protected]
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <8538F0205935D411A7D100508BAC128901983DAD@DIANA>
Hi,
just one more question on unit testing:
How can I force the MerlinTestCase to have it's repository somewhere else
than USER_HOME/.maven/repository with 3.3.0?

Can I set that in merlin.properties or is there still something called
avalon.properties?

I tried to set

merlin.repository=target/repository in merlin.properties but without
success:

    [junit] Running com.scancoin.management.HttpRequestTest
user.dir=H:\workspace\OrchardJ\modules\management\test
[DEBUG  ] (kernel.logger): logging system established
[DEBUG  ] (kernel.logger): adding category [kernel]
[DEBUG  ] (kernel): logging system established
[DEBUG  ] (kernel): repository established: C:\Documents and
Settings\PNB\.mave
\repository, file:/c:/maven-repos/repository/, http://arven/artifacts/
[DEBUG  ] (kernel.logger): adding category [kernel]
[INFO   ] (kernel): info report
-----------------------------------------------------------
Merlin Kernel Environment Listing
-----------------------------------------------------------

  ${user.dir} == H:\workspace\OrchardJ\modules\management\test
  ${user.home} == C:\Documents and Settings\PNB

  ${avalon.repository.cache} == C:\Documents and
Settings\PNB\.maven\repository
  ${avalon.repository.online} == true
  ${avalon.repository.hosts} ==
http://www.dpml.net,http://www.ibiblio.org/mave


  ${merlin.lang} == null
  ${merlin.home} == H:\workspace\OrchardJ\runtime\merlin\target\merlin
  ${merlin.system} ==
H:\workspace\OrchardJ\runtime\merlin\target\merlin\system
  ${merlin.config} ==
H:\workspace\OrchardJ\runtime\merlin\target\merlin\config
  ${merlin.kernel} ==
file:/H:/workspace/OrchardJ/modules/bootstrap/conf/kernel
xml
  ${merlin.logging.implementation} ==
artifact:avalon-logging/avalon-logging-lo
kit-impl#1.0.0
  ${merlin.logging.config} == null
  ${merlin.runtime} ==
artifact:avalon-activation/avalon-activation-impl#2.0.0
  ${merlin.override} == null
  ${merlin.dir} == H:\workspace\OrchardJ\modules\management\test
  ${merlin.temp} == C:\DOCUME~1\PNB\LOKALA~1\Temp
  ${merlin.context} == H:\workspace\OrchardJ\modules\management\test\target
  ${merlin.anchor} == H:\workspace\OrchardJ\modules\management\test
  ${merlin.info} == true
  ${merlin.debug} == true
  ${merlin.audit} == false
  ${merlin.server} == true
  ${merlin.autostart} == true
  ${merlin.code.security.enabled} == false
  ${merlin.deployment.timeout} == 1500000
  ${merlin.repository} == C:\Documents and Settings\PNB\.maven\repository
<---------------------------wrong!!
  ${merlin.repository.hosts} ==
file:/c:/maven-repos/repository/,http://arven/a
tifacts
  ${merlin.deployment} == file:/${merlin.dir}/target/classes/

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

Cheers

/peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.