You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org> on 2005/01/02 23:39:08 UTC
[jira] Resolved: (GERONIMO-535) handle fully-qualified paths in ServerInfo.resolvePath()
[ http://issues.apache.org/jira/browse/GERONIMO-535?page=history ]
Jacek Laskowski resolved GERONIMO-535:
--------------------------------------
Resolution: Fixed
Fix Version: 1.0-M4
The patch committed (revision 123908).
> 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