Return-Path: Delivered-To: apmail-avalon-dev-archive@www.apache.org Received: (qmail 18080 invoked from network); 9 Dec 2003 10:09:21 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Dec 2003 10:09:21 -0000 Received: (qmail 10953 invoked by uid 500); 9 Dec 2003 10:08:54 -0000 Delivered-To: apmail-avalon-dev-archive@avalon.apache.org Received: (qmail 10914 invoked by uid 500); 9 Dec 2003 10:08:53 -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 10901 invoked from network); 9 Dec 2003 10:08:53 -0000 Received: from unknown (HELO osm.net) (212.198.17.4) by daedalus.apache.org with SMTP; 9 Dec 2003 10:08:53 -0000 Received: from localhost ([127.0.0.1]) by osm.net (JAMES SMTP Server 3.0a1) with SMTP ID 1007 for ; Tue, 9 Dec 2003 11:11:46 +0100 (CET) Message-ID: <3FD59FE2.9000901@apache.org> Date: Tue, 09 Dec 2003 11:11:46 +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 Developers List Subject: Re: [merlin] release candidate 3.2 preparation References: <3FD47EED.6090804@apache.org> <3FD59319.1090902@apache.org> <3FD596BB.70703@apache.org> <200312091046.04948.alag@users.sf.net> In-Reply-To: <200312091046.04948.alag@users.sf.net> 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 Alexis Agahi wrote: >On Tuesday 09 December 2003 10:32, Stephen McConnell wrote: > > >>OK - CVS is updated. >> >>To build you need to checkout the avalon cvs, then >> >> $ cd meta >> $ maven avalon:build >> >> $ cd ..\util >> $ maven avalon:build >> >> $ cd ..\repository >> $ maven avalon:build >> >> $ cd ..\merlin >> $ maven merlin:build >> >> > >We are not far from successfull build.! > :-) Now your going to upset me arn't you! > >"file://home/Al/works/merlin/config/kernel.xml" >looks like an unvalid url :) >I can't remember the concerned properties file localtion (if any?). > I'm guessing but I think you find this is a result of file.toURL(); What is happening is that the system is attempting to locate the default kernel definition. It looks for a file named ${merlin.config}/kernel.xml and if that file exists, then the file is converted to a url (using File.toURL()). The code dealing with this is in merlin/kerne/impl - DefaultFactory.java - getKernelURL(). Based on the error below it sems that I need to fully exand the file before creating the URL. Stephen. > > >----------------------------- > > >+---------------------------------------- >| Installing: Merlin CLI >| Memory: 27M/44M >+---------------------------------------- > >java:prepare-filesystem: >avalon:artifact: > [echo] Artifact: >/home/Al/works/avalon/merlin/kernel/cli/target/merlin-cli-3.2-dev.jar.meta > [copy] Copying 1 file to /home/Al/.maven/repository/merlin/jars > > >java:compile: >avalon:artifact: > [echo] Artifact: >/home/Al/works/avalon/merlin/kernel/cli/target/merlin-cli-3.2-dev.jar.meta > [copy] Copying 1 file to /home/Al/.maven/repository/merlin/jars > > [echo] Compiling to /home/Al/works/avalon/merlin/kernel/cli/target/classes > >java:jar-resources: >Copying 1 file to /home/Al/works/avalon/merlin/kernel/cli/target/classes > >test:prepare-filesystem: > >test:test-resources: > >test:compile: > >test:test: > [junit] dir attribute ignored if running in the same VM > [junit] Running org.apache.avalon.merlin.cli.test.MerlinCLITestCase >---- exception report >---------------------------------------------------------- >Exception: org.apache.avalon.merlin.KernelException >Message: Could not load the kernel directive: >file://home/Al/works/merlin/config/kernel.xml >---- cause >--------------------------------------------------------------------- >Exception: java.net.UnknownHostException >Message: home >---- stack trace >--------------------------------------------------------------- > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org >For additional commands, e-mail: dev-help@avalon.apache.org > > > > -- 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