Forums de discussion

Removing commons-logging.jar and log4j.jar from every WAR while deploying

Venkat Koppavolu, modifié il y a 13 années.

Removing commons-logging.jar and log4j.jar from every WAR while deploying

Junior Member Publications: 85 Date d'inscription: 26/07/10 Publications récentes
I have crated liferay plug-in’s using Liferay IDE and notice that in ‘/WEB-INF/lib’
commons-logging.jar,log4j.jar,util-bridges.jar,util-java.jar,util-taglib.jar are created.

In out Application we have a shared path where common jars will be placed for all WAR’s(plug-in)
i.e. <tomcat>lib/ext

We have Application related ‘log4j.jar’ and ‘commons-logging.jar’. which is conflicting plug-ins jars.

Could please let us know how can we skip these ‘commons-logging.jar and log4j.jar’ for every WAR’ lib.

We tried following approach
Removed Entries in build.properites file in liferay
Created build.venkat.properties and written below line of code

required.portal.jars=util-bridges.jar,util-java.jar,util-taglib.jar