Clone
Samuel Trégouët <samuel.tregouet@nereide.fr>
committed
on 07 Dec 19
Improved: Resolve classpath conflict on `freemarkerTransforms.properties` (OFBIZ-11161)
All files in {compoment}/config directories are plac… Show more
Improved: Resolve classpath conflict on `freemarkerTransforms.properties` (OFBIZ-11161)

All files in {compoment}/config directories are placed in jar

root (cf. sourceSets definition in build.gradle) but there are 4 different

`freemarkerTransforms.properties` in ofbiz (content, product, webapp, widget).

This works fine because we are adding config directories in classpath (through

classpath tag in ofbiz-component.xml), but this is not really intuitive. So to

make things clearer this patch move `freemarkerTransforms.properties` into

`src/main/resources` with a namespace package and `FreeMarkerWorker.java` is

modified accordingly.

Show less