Hi all,
I use ConfigurableWroFilter to hot compile my less file. I use spring configuration to do that :
<!-- wro4j configuration -->
<bean id="wroFilter" class="ro.isdc.wro.http.ConfigurableWroFilter">
<property name="properties" ref="wroProperties"/>
</bean>
<bean id="wroProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<!-- Pas d'exception si une des locations n'est pas trouvée -->
<property name="ignoreResourceNotFound" value="true" />
<property name="locations">
<list>
<!-- Valeurs par défaut (DEV) -->
<value>classpath*:META-INF/conf/wro.properties</value>
<!-- Surcharge des valeurs par défaut (les derniers locations surchargent les premiers)-->
<value>file:${PRODUCT_LOG_HOME:/product}/${APPLICATION_NAME:PROTOMOBILEV2}/conf/wro.properties</value>
</list>
</property>
</bean>
I have two locations for my wro.properties (external and in META-INF, not in WEB-INF)
It's works but i have an error in console for the ServletContextPropertyWroConfigurationFactory :
[FAIL] Cannot read properties file stream from default location: /WEB-INF/wro.properties. Using default configuration.
How can i declare new location for this filter or prevent this error ? It is a important error ?
Thanks for yours solutions