web.xml: JavaWOJSPServlet_client.jar gets included twice in war build due to ssdd dependency
--------------------------------------------------------------------------------------------
Key: WOL-839
URL: http://issues.objectstyle.org/jira/browse/WOL-839
Project: WOProject/WOLips
Issue Type: Bug
Components: wolips, woproject
Affects Versions: WOLips 3.3.* Next Stable Build
Environment: Mac OS X Leopard, Eclipse 3.3
Reporter: Ulrich Kohlhase
Problem:
Due to the WAR target's dependency on the SSDD target, the file JavaWOJSPServlet_client.jar gets included twice in the final war file. This is problematic when e.g. trying to update resources in a war file, the jar update command fails.
Solution:
In the WAR target section, replace
<war destfile="${dest.dir}/${project.name}.war" webxml="${dest.dir}/${project.name}/WEB-INF/web.xml" basedir="${dest.dir}/${project.name}">
<lib dir="${wo.wosystemroot}/Library/Frameworks/JavaWOJSPServlet.framework/WebServerResources/Java/">
<include name="JavaWOJSPServlet_client.jar"/>
</lib>
</war>
with
<war destfile="${dest.dir}/${project.name}.war" webxml="${dest.dir}/${project.name}/WEB-INF/web.xml" basedir="${dest.dir}/${project.name}"/>
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Thu Jun 26 2008 - 20:35:07 EDT