using properties in flowscript

2011-10-03 Thread Marco Westermann
Hi, I try to use a property from a file in flowscript. At the moment I have the following code which actually works: function __getProperty(propertyName) { var props = new java.util.Properties(); props.load(new java.io.FileInputStream(D:\\qsf.properties)); var prop =

Re: using properties in flowscript

2011-10-03 Thread Andy Stevens
As an alternative to worrying about where the container happens to store the application when you install it, so you can put the property file relative to it, why not use a jvm system property to supply the property file's location? Or a resource-env-ref lookup? Andy. --