You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by at...@apache.org on 2011/09/17 21:35:04 UTC
svn commit: r1172055 - /portals/pluto/trunk/dist-build.xml
Author: ate
Date: Sat Sep 17 19:35:04 2011
New Revision: 1172055
URL: http://svn.apache.org/viewvc?rev=1172055&view=rev
Log:
PLUTO-611: Upgrade binary distribution to use latest Tomcat 7.0.21
See: http://issues.apache.org/jira/browse/PLUTO-611
Modified:
portals/pluto/trunk/dist-build.xml
Modified: portals/pluto/trunk/dist-build.xml
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/dist-build.xml?rev=1172055&r1=1172054&r2=1172055&view=diff
==============================================================================
--- portals/pluto/trunk/dist-build.xml (original)
+++ portals/pluto/trunk/dist-build.xml Sat Sep 17 19:35:04 2011
@@ -44,8 +44,8 @@
-->
<project name="PlutoDistributions" default="bundle-dist">
- <property name="tomcat.major.version" value="6" description="Major version of Tomcat to deploy Pluto war files."/>
- <property name="tomcat.full.version" value="6.0.26" description="Full version of Tomcat to deploy Pluto war files."/>
+ <property name="tomcat.major.version" value="7" description="Major version of Tomcat to deploy Pluto war files."/>
+ <property name="tomcat.full.version" value="7.0.21" description="Full version of Tomcat to deploy Pluto war files."/>
<xmlproperty file="pom.xml"/> <!-- picks up pluto build version from pom file -->
<property name="pluto.version" value="${project.version}" description="Version of Pluto to build"/>
@@ -125,10 +125,11 @@
</fileset>
</copy>
- <!-- Add emptySessionPath="true" to Connector element in server.xml -->
- <replace file="${dist.dir}/conf/server.xml"
- token="redirectPort="8443" />"
- value="redirectPort="8443" emptySessionPath="true" />"
+ <!-- Add sessionCookiePath="/" to root Context in context.xml
+ (Tomcat 6.0.27+ replacement for emptySessionPath="true" attribute of Connector element in server.xml) -->
+ <replace file="${dist.dir}/conf/context.xml"
+ token="<Context>"
+ value="<Context sessionCookiePath="/">"
summary="true"
/>