Provide application context mechanism 
--------------------------------------

                 Key: AMDATU-325
                 URL: http://jira.amdatu.org/jira/browse/AMDATU-325
             Project: Amdatu
          Issue Type: Roadmap Issue
          Components: Amdatu Core
    Affects Versions: 0.2.0
            Reporter: Ivo Ladage - van Doorn


While resolving http://jira.amdatu.org/jira/browse/AMDATU-258 there is an 
obvious need for application context information, being;

- The context path of Amdatu running as a webapp
- The work directory in which to store all Amdatu persistent files (not being 
the current working directory, as assumed in the standalone version)

Both settings are not configurable but determined by the launcher that launches 
Amdatu; the context path is defined by the application server and the work 
directory is determined by the launcher by a system property. Since there is no 
application context mechanism (http://jira.amdatu.org/jira/browse/AMDATU-247 
also explained the need for this), for AMDATU-258 two system properties were 
introduced, set by the launcher, being;

amdatu.workdir - Work directory to store Amdatu related files
amdatu.contextpath - Context path of the Amdatu webapp (empty in case Amdatu 
runs as stand alone app)

However, System properties can be changed by anyone so a more sophisticated 
approach is needed here. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to