Fórumok

Avoid to deploy a jar

thumbnail
Pierpaolo Cira, módosítva 14 év-val korábban

Avoid to deploy a jar

Regular Member Bejegyzések: 141 Csatlakozás dátuma: 2010.02.26. Legújabb bejegyzések
Hi all,

I had a problem about logging (I'm using LR 5.1.2 on Tomcat 6).

I discover the issue cause reading this discussion: http://www.liferay.com/community/forums/-/message_boards/message/3327816: there is a log4j.jar library duplicated.

The first one is in the ROOT library folder.
I use the plugin SDK and Eclipse and in the Java Build Path I use that library for runtime purpose only.
But when I run the deploy ant task it put the log4j.jar library in the portlet library folder.

I tried different ways:
1. overwriting the build.properties declaration:
required.portal.jars=commons-logging.jar,util-bridges.jar,util-java.jar,util-taglib.jar

2. modifying the build-common.xml:
<fileset dir="${app.server.lib.portal.dir}" includes="commons-logging.jar,util-bridges.jar,util-java.jar,util-taglib.jar" />


I also checked in the liferay-plugin-package.properties without success.

Can you help me to not deploy that jar file when I run the deploy ant task?

Thanks
thumbnail
Lisa Simpson, módosítva 14 év-val korábban

RE: Avoid to deploy a jar

Liferay Legend Bejegyzések: 2034 Csatlakozás dátuma: 2009.03.05. Legújabb bejegyzések
Can you please post in the "Development" forums? You're much more likely to get answer if you post in the right place.