Changeset 23442


Ignore:
Timestamp:
12/11/10 15:58:16 (11 years ago)
Author:
xiao
Message:

modified target flax-copy-files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r22976 r23442  
    19151915    <exec executable="svn"><arg value="checkout"/><arg value="${flax.checkout.path}/lib"/>
    19161916      <arg value="flax-lib"/></exec>
    1917     <move file="${web.home}/WEB-INF/web.xml" tofile="${web.home}/WEB-INF/web.xml.greenstone3backup"/>
    19181917    <antcall target="flax-copy-files" />
     1918  </target>
     1919 
     1920  <target name="flax-copy-files" description="copy some flax files into the appropriate greenstone3 directories">
     1921    <echo>copying flax files ...</echo>
     1922    <copy file="${web.home}/WEB-INF/classes/flax/web.xml" todir="${web.home}/WEB-INF" overwrite="true" />
     1923    <!-- A configuration file containing web service binding information for the axis engine -->
     1924    <copy file="${web.home}/WEB-INF/classes/flax/server-config.wsdd" todir="${web.home}/WEB-INF" overwrite="true" />
     1925    <!-- A static web service wsdl file which is queried by soap client. The reason this file is used (instead of the dynamically generated version) is in case any redirects are used in the Apache configuration (e.g., flax.nzdl.org:80 redirects to harakeke:8080) -->
     1926    <copy file="${basedir}/flax-resources/FlaxWebService.wsdl" tofile="${web.home}/FlaxWebService.wsdl" filtering="true" overwrite="true">
     1927        <filterset>
     1928            <filter token="flaxpublicserver" value="${tomcat.server}"/>
     1929            <filter token="flaxpublicport" value="${tomcat.port}"/>
     1930        </filterset>   
     1931    </copy>
     1932    <copy todir="${web.home}/WEB-INF/lib">
     1933        <fileset dir="${basedir}/flax-lib">
     1934            <include="*.jar"/>
     1935        </fileset> 
     1936    </copy>
    19191937  </target>
    19201938
     
    19371955    <antcall target="flax-copy-files" />
    19381956  </target>
    1939  
    1940   <target name="flax-copy-files" description="copy some flax files into the appropriate greenstone3 directories">
    1941     <echo>copying flax files ...</echo>
    1942     <copy file="${web.home}/WEB-INF/classes/flax/web.xml" todir="${web.home}/WEB-INF" overwrite="true" />
    1943     <!-- A configuration file containing web service binding information for the axis engine -->
    1944     <copy file="${web.home}/WEB-INF/classes/flax/server-config.wsdd" todir="${web.home}/WEB-INF" overwrite="true" />
    1945     <!-- A static web service wsdl file which is queried by soap client. The reason this file is used (instead of the dynamically generated version) is in case any redirects are used in the Apache configuration (e.g., flax.nzdl.org:80 redirects to harakeke:8080) -->
    1946     <copy file="${basedir}/flax-resources/FlaxWebService.wsdl" tofile="${web.home}/FlaxWebService.wsdl" filtering="true" overwrite="true">
    1947         <filterset>
    1948             <filter token="flaxpublicserver" value="${tomcat.server}"/>
    1949             <filter token="flaxpublicport" value="${tomcat.port}"/>
    1950         </filterset>   
    1951     </copy>
    1952     <copy file="${basedir}/flax-lib/opennlp-tools-1.3.0.jar" todir="${web.home}/WEB-INF/lib" overwrite="true" />   
    1953     <copy file="${basedir}/flax-lib/cos.jar" todir="${web.home}/WEB-INF/lib" overwrite="true" />   
    1954   </target>
    19551957
    19561958
Note: See TracChangeset for help on using the changeset viewer.