I want to add an object to the Global scope, and in order to construct it I need to pass it a path to a file. I don\'t want to hard code the file path in the source, and so
In Play 1.2.x
import play.Play; ... String version = Play.configuration.getProperty("application.version.number", "1.1.1");
where the second parameter is the default value