Checkout
Mathieu Lirzin
committed
on 15 Sep
Improved: Don't exclude properties and labels file from the Jar
(OFBIZ-11161)

In order to have an independent deployable jar, we need to in… Show more
Improved: Don't exclude properties and labels file from the Jar

(OFBIZ-11161)

In order to have an independent deployable jar, we need to include the

properties and labels inside the jar.

The properties and labels file was previously excluded from the jar

because it was not possible to replace the compile time values by

invalidating OFBiz caches which is convenient when developing

OFBiz. It was then necessary to reconstruct the jar and restart

OFBiz (See OFBIZ-8321 for more details).

With the recent improvment from revision 1865719 allowing to run OFBiz

without building a jar, it is now possible to enable this cache

invalidation by running both ‘gradle run’ in one shell and ‘gradlew

--continuous classes’ in a separate shell.  Doing so make the

combination of editing the label files and clearing the caches use

the new value defined in the source file.

Show less