avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen McConnell <mcconn...@apache.org>
Subject [merlin] home versus context
Date Tue, 09 Dec 2003 13:57:05 GMT

Have just updated the merlin cvs to include an additional command line
parameter -context.  In earlier version of the Merlin system the -home
command line parameter would set the working directory and the
urn:avalon:home context directory to the same value.  Under 3.2 the
root directory is supplied by the repository intial context from which
the merlin context is resolved as ${merlin.dir}/home.  But this breaks
earlier behaviour. 

The cvs update includeas a -context command-line option to override
this behaviour.

What this means is that :

  merlin -home <dir>       ..... sets the base working directory from
                                 which avalon.properties (repo) and
                                 merlin.properties are resolved and
                                 establishes the base anchor directory
                                 for any classpath includes that reference
                                 the file syste

  merlin -context <dir>    ..... sets a persistent root directory for
                                 urn:avalon:home resolution

This means that if you were dependent on a context directory that does not
correspond to ${merlin.dir}/home, you now need to delcare this explicitly
via the -context command line parameter.

Cheers, Stephen.

p.s.

Credits to Alexis Agahi for raising this issue.

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org

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





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message