I'm attempting to specify my quartz properties file in gradle. From a 'config' directory rather than from resources.
String quartzProperties = System.properties['org.quartz.properties'] ?: "file:config/local/quartz.properties"
System.setProperty("org.quartz.properties", quartzProperties)
The output from
(System.properties).each {
println "Prop ${it}"
}
or the properties task, is
Prop quartz.properties=file:config/local/quartz.properties
The output from quartz is
PropertiesFactoryBean --- Loading properties file from class path resource [quartz.properties]
SchedulerConfig$$EnhancerB --- Cannot load quartz.properties.
The symptom of it not being set is that I am getting the wrong sql dialect so the application gives a database error on load.