Sergey B. created JAMES-3019:
--------------------------------

             Summary: Clear and flexible handling of base directory
                 Key: JAMES-3019
                 URL: https://issues.apache.org/jira/browse/JAMES-3019
             Project: James Server
          Issue Type: Improvement
    Affects Versions: 3.3.0, 3.4.0
            Reporter: Sergey B.


We need to have a single value from which all relative urls are evaluated. Now 
some urls pointing to the same places are specified by different values. For 
example var directory for database storage is presented by the value '../var/' 
in database.url property, while the same directory for JDBCMailRepository is 
designated by 'file://var/.

It's confusing. I suggest we make an improvement.
 # There must be a single value of basedir, from which all relative urls are 
evaluated.
 # Algorithm of evaluation of default basedir value must be documented.
 # Default basedir must be at top level of all resources. I. e. there must be 
no paths like ../.
 # Effective basedir must be logged.
 # There must be an opportunity for users to specify their own basedir on 
server startup.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to