As each project has its class dependencies, we need to make sure that Fabric doesn’t use those dependencies.
Therefore, starting V7.2.1 Fabric’s dependencies can be isolated from the project’s dependencies. By default, the current functionality is preserved, which means there is no isolation between Fabric and project dependencies.
In order to enable this feature:
PACKAGE_NAMES_CLASS_LOADING_FILTER=com.k2view.,java.
CLASSPATH_STR="$FABRIC_CONF:${ROOTDIR}/lib/fabric/*:${ROOTDIR}/lib/provided/*:${ROOTDIR}/resources"
Note that once PACKAGE_NAMES_CLASS_LOADING_FILTER is uncommented, the project's JARs must be placed to the ExternalJars folder.
As each project has its class dependencies, we need to make sure that Fabric doesn’t use those dependencies.
Therefore, starting V7.2.1 Fabric’s dependencies can be isolated from the project’s dependencies. By default, the current functionality is preserved, which means there is no isolation between Fabric and project dependencies.
In order to enable this feature:
PACKAGE_NAMES_CLASS_LOADING_FILTER=com.k2view.,java.
CLASSPATH_STR="$FABRIC_CONF:${ROOTDIR}/lib/fabric/*:${ROOTDIR}/lib/provided/*:${ROOTDIR}/resources"
Note that once PACKAGE_NAMES_CLASS_LOADING_FILTER is uncommented, the project's JARs must be placed to the ExternalJars folder.