[jboss-jira] [JBoss JIRA] (AS7-2078) Support absolute paths in RelativePathService

Brian Stansberry (Created) (JIRA) jira-events at lists.jboss.org
Tue Oct 11 20:56:15 EDT 2011


Support absolute paths in RelativePathService
---------------------------------------------

                 Key: AS7-2078
                 URL: https://issues.jboss.org/browse/AS7-2078
             Project: Application Server 7
          Issue Type: Feature Request
          Components: Domain Management
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: 7.1.0.Beta1


There are situations where it is difficult for a user to specify that a "path" attribute's value is absolute when used in conjunction with a "relative-to" attribute; specifically when the relative-to attribute has a default value (e.g. jboss.server.data.dir). In these situations, the xsd should state that "path" will only be treated as relative if it is not an absolute path (i.e. starts with '/', '\\' or 'x:\' where 'x' is any character in the range [a-z] or [A-Z]).  In these situations, RelativePathService should check if the 'path' value is absolute, and if it is, delegate to AbsolutePathService, ignoring any 'relative-to' value.

In cases where 'relative-to' has no default, the existing behavior should be preserved; the presence or absence of 'relative-to' controls whether 'path' is treated as absolute, and including an absolute path in cojunction with a 'relative-to' value is a user error.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list