Changeset 11290


Ignore:
Timestamp:
2006-02-17T17:02:09+13:00 (18 years ago)
Author:
kjdon
Message:

greenstone 3 context in tomcat now goes into a separate file in conf/Catalina/localhost, rather than into the main server.xml. also some files were moved from packages/tomcat-extra to resources/tomcat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/build.xml

    r11285 r11290  
    498498      <fileset dir="${packages.home}/apache-tomcat-5.5.12"/>
    499499    </move>
    500     <copy file="${packages.home}/tomcat-extra/setclasspath.bat"
     500    <copy file="${basedir}/resources/tomcat/setclasspath.bat"
    501501      tofile="${packages.home}/tomcat/bin/setclasspath.bat"
    502502      overwrite="true"/>
    503     <copy file="${packages.home}/tomcat-extra/setclasspath.sh"
     503    <copy file="${basedir}/resources/tomcat/setclasspath.sh"
    504504      tofile="${packages.home}/tomcat/bin/setclasspath.sh"
    505505      overwrite="true"/>
     
    526526  <target name="configure-tomcat-local" depends="init" if="tomcat.islocal">
    527527    <!-- re-setup the server.xml file -->
    528     <copy file="${packages.home}/tomcat-extra/server.xml.in" tofile="${packages.home}/tomcat/conf/server.xml" overwrite="true">
     528    <copy file="${basedir}/resources/tomcat/server.xml" tofile="${packages.home}/tomcat/conf/server.xml" overwrite="true">
    529529      <filterset>
    530530    <filter token="port" value="${tomcat.port}"/>
    531     <filter token="gsdl3home" value="${basedir}"/>
     531      </filterset>
     532    </copy>
     533    <!-- set up the greenstone3 context -->
     534    <copy file="${basedir}/resources/tomcat/greenstone3.xml" tofile="${packages.home}/tomcat/conf/Catalina/localhost/greenstone3.xml" overwrite="true">
     535      <filterset>
     536    <filter token="gsdl3webhome" value="${basedir}/web"/>
    532537      </filterset>
    533538    </copy>
Note: See TracChangeset for help on using the changeset viewer.