Hi, I was wondering what is the best way of doing this: >From the JVM arguments, I want our developers to specify a location to a properties file, which will be treated as a symbol source. I tried a naive approach and got a recursion error on SymbolSource.
In one of my modules I have this: @Contribute(SymbolSource.class) public void contributePropertiesFileAsSymbols( OrderedConfiguration<SymbolProvider> configuration) { configuration.add("DatabaseConfiguration", new ClasspathResourceSymbolProvider(dbPropertiesFileLocation), "after:SystemProperties", "before:ApplicationDefaults"); } and essentially I'd like the variable dbPropertiesFileLocation to be something provided on the command line, i.e. -Dmyapp.db-properties-file-location="C:\mydatabase.properties" Inside the properties file are several settings that I want to use as inject-able Symbols. That part already working when I provide the location in the contribute method, but now I want to tell Tapestry where that file lives on startup.