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 cz...@apache.org on 2009/05/18 18:15:07 UTC
svn commit: r776001 - /portals/pluto/trunk/dist-build.xml
Author: cziegeler
Date: Mon May 18 16:15:07 2009
New Revision: 776001
URL: http://svn.apache.org/viewvc?rev=776001&view=rev
Log:
Include license files in tomcat dist.
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=776001&r1=776000&r2=776001&view=diff
==============================================================================
--- portals/pluto/trunk/dist-build.xml (original)
+++ portals/pluto/trunk/dist-build.xml Mon May 18 16:15:07 2009
@@ -95,16 +95,16 @@
<arg line="clean:clean"/>
</exec>
<mkdir dir="${dist.basedir}"/>
-
+
<get src="http://archive.apache.org/dist/tomcat/tomcat-${tomcat.major.version}/v${tomcat.full.version}/bin/${base.name}.tar.gz"
dest="${unzip.file}"
/>
-
+
<gunzip src="${unzip.file}"
dest="${dist.basedir}"
description="Creates tar from tar.gz tomcat dist"
/>
-
+
<untar src="${tar.file}"
dest="${dist.basedir}"
description="Untars tomcat dist"
@@ -113,7 +113,19 @@
<!-- Copy over README -->
<copy file="README" todir="${dist.dir}"/>
- <!-- Add emptySessionPath="true" to Connector element in server.xml -->
+ <!-- Copy over additional licenses from pluto and testsuite web app-->
+ <copy todir="${dist.dir}" flatten="true">
+ <fileset dir="${basedir}/pluto-testsuite">
+ <include name="src/main/webapp/META-INF/*-LICENSE"/>
+ </fileset>
+ </copy>
+ <copy todir="${dist.dir}" flatten="true">
+ <fileset dir="${basedir}/pluto-portal">
+ <include name="src/main/webapp/META-INF/*-LICENSE"/>
+ </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" />"