Skip to content
  • Samuel Trégouët's avatar
    Improved: Resolve classpath conflict on `freemarkerTransforms.properties` · 98bfafd1
    Samuel Trégouët authored and Mathieu Lirzin's avatar Mathieu Lirzin committed
    (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.
    98bfafd1