Nader Aeinehchi wrote:



Merlin installation directory:
c:\bin\merlin

--> I want the jar files etc to be stored in:
c:\settings\merlin

Merlin maintains two repositories:


  1. ${merlin.home}/system
  2. ${avalon.home}/repository

I'm presuming you want to map the application repository ${avalon.home} to c:\settings\merlin - is that correct? If so, you need to define an environment variable AVALON_HOME - from that the avalon-repository bootstrapping system will establish the ${avalon.home} variable.

So I created
c:\bin\merlin\merlin.properties

and wrote in merlin.properties:
============================
avalon.home = c:\settings\merling
user.home = c:\settings\merling
merlin.dir = c:\settings\merling
============================

To set ${avalon.home} you need to declare an environment variable AVALON_HOME and set it to the appropriate value (as described above). The value of ${user.home} is defined by the JVM. The value of ${merlin.dir} is probably not something you want to be setting to the same value as ${avalon.home} because you risk conflicts with the repository directory content.


Instead .. do something like:

set AVALON_HOME=c:\settings\avalon

From this the jar files needed for applications will be downloaded to c:\settings\avalon\repository\[group]\jars\[artifact].

Cheers, Stephen.

--

|------------------------------------------------|
| 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