Stephen McConnell wrote:
[EMAIL PROTECTED] wrote:

Stephen,


The testcase is failing because the merlin/tutorial/jars/hello-1.1.jar
does not exist in you maven repository.
As your running in off-line mode the artifact is not being download
and the test is failing.



Sorry for the silly question, but why do you say I am running in off-line mode?


Because the exception that was thrown is only thrown if the repository cannot locate the resources in a remote repository.

(I did not tell it to do anything offline, is that the default?)


No.

The default is on-line.

If so, how can i make it on-line (I assume that would make it build
everything correctly ?)


No immediate answer.

Problem identified and resolved. The on-line model control is part of repository parameters. The default value was null which in turn was being translated as "false". The problem was not showing up in the cli case because the online mode was being set explicitly. In the case of the unit test scenario the defaults are almost all property driven and unless you set the "avalon.repository.online" property - any embedded solution was defaulting to offline.


Default has now been changed to "true" - i.e. online. I've also added the property to the merlin info listing.

Cheers, Steve.

--

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/merlin/distributions/latest    |
|------------------------------------------------|

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



Reply via email to