Return-Path: Delivered-To: apmail-avalon-dev-archive@www.apache.org Received: (qmail 45014 invoked from network); 9 Dec 2003 13:54:32 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Dec 2003 13:54:32 -0000 Received: (qmail 59202 invoked by uid 500); 9 Dec 2003 13:54:26 -0000 Delivered-To: apmail-avalon-dev-archive@avalon.apache.org Received: (qmail 59157 invoked by uid 500); 9 Dec 2003 13:54:25 -0000 Mailing-List: contact dev-help@avalon.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon Developers List" Reply-To: "Avalon Developers List" Delivered-To: mailing list dev@avalon.apache.org Received: (qmail 59079 invoked from network); 9 Dec 2003 13:54:25 -0000 Received: from unknown (HELO osm.net) (212.198.17.4) by daedalus.apache.org with SMTP; 9 Dec 2003 13:54:25 -0000 Received: from localhost ([127.0.0.1]) by osm.net (JAMES SMTP Server 3.0a1) with SMTP ID 63 for ; Tue, 9 Dec 2003 14:57:05 +0100 (CET) Message-ID: <3FD5D4B1.4090001@apache.org> Date: Tue, 09 Dec 2003 14:57:05 +0100 From: Stephen McConnell User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en, en-us MIME-Version: 1.0 To: Avalon Dev Subject: [merlin] home versus context Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 ..... 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 ..... 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