Changeset 20839


Ignore:
Timestamp:
2009-10-22T15:23:58+13:00 (12 years ago)
Author:
xiao
Message:

Modified the target flax-copy-files to copy the file FlaxWebService.wsdl from flax-resources/ to web/, replacing tomcat server and port on the fly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/build.xml

    r20826 r20839  
    17271727    <!-- A configuration file containing web service binding information for the axis engine -->
    17281728    <copy file="${web.home}/WEB-INF/classes/flax/server-config.wsdd" todir="${web.home}/WEB-INF" overwrite="true" />
     1729    <!-- 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) -->
     1730    <copy file="${basedir}/flax-resources/FlaxWebService.wsdl" tofile="${web.home}/FlaxWebService.wsdl" filtering="true" overwrite="true">
     1731        <filterset>
     1732            <filter token="flaxpublicserver" value="${tomcat.server}"/>
     1733            <filter token="flaxpublicport" value="${tomcat.port}"/>
     1734        </filterset>   
     1735    </copy>
    17291736    <copy file="${basedir}/flax-resources/flax-build.xml" todir="${basedir}" overwrite="true" />
    17301737    <copy file="${basedir}/flax-lib/opennlp-tools-1.3.0.jar" todir="${web.home}/WEB-INF/lib" overwrite="true" />   
Note: See TracChangeset for help on using the changeset viewer.