From dev-return-10960-apmail-geronimo-dev-archive=geronimo.apache.org@geronimo.apache.org Sun Jan 02 23:16:58 2005 Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 52430 invoked from network); 2 Jan 2005 23:16:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Jan 2005 23:16:58 -0000 Received: (qmail 19880 invoked by uid 500); 2 Jan 2005 23:16:53 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 19707 invoked by uid 500); 2 Jan 2005 23:16:53 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@geronimo.apache.org Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 19692 invoked by uid 99); 2 Jan 2005 23:16:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 02 Jan 2005 15:16:49 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j02Md9IF014679 for ; Sun, 2 Jan 2005 23:39:09 +0100 Message-ID: <1533268230.1104705549199.JavaMail.jira@ajax.apache.org> Date: Sun, 2 Jan 2005 23:39:09 +0100 (CET) From: "Jacek Laskowski (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (GERONIMO-535) handle fully-qualified paths in ServerInfo.resolvePath() In-Reply-To: <727408363.1104423963678.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-535?page=history ] Jacek Laskowski closed GERONIMO-535: ------------------------------------ > handle fully-qualified paths in ServerInfo.resolvePath() > -------------------------------------------------------- > > Key: GERONIMO-535 > URL: http://issues.apache.org/jira/browse/GERONIMO-535 > Project: Apache Geronimo > Type: Improvement > Components: core > Versions: 1.0-M4 > Environment: fedora core 2 > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) > geronimo svn Revision: 123724 > Reporter: toby cabot > Assignee: Jacek Laskowski > Fix For: 1.0-M4 > Attachments: ServerInfo-test-patch.txt, absolute-file.patch, absolute-file.patch, absolute-file.patch > > It would be useful to me (and hopefully others) to be able to specify fully-qualified pathnames in configuration files. For example, if we want to integrate Geronimo with Linux systems we'll want to write logs into /var/log/geronimo or thereabouts. I noticed that when I tried to use fully-qualified paths in configuration files they were resolved relative to Geronimo's home directory anyway. This patch changes ServerInfo so that if a filename begins with a "/" it's treated as a fully-qualified path, and if it doesn't it's resolved relative to Geronimo's home. > Please note that I haven't tried this on a Windows system, so I'm not sure what the effect is. It works great on Linux. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira