title: Access to war file name from Config.groovy and Datasource.groovy
body: <p>I want to deploy my war file under several names, just renaming it seems to work fine on tomcat. This obviously then gives me different URLs. I have used request.contextPath to find my own URL within the application while it is running, but if I want e.g. to name the database file after the war file in Datasource.groovy, then there is no request object for me to look at and I am out of luck. How do I do this? </p>