Changeset 24179 for main/tags

Show
Ignore:
Timestamp:
21.06.2011 13:22:53 (8 years ago)
Author:
xiao
Message:

added flax targets configure-flax-web, configure-flax-aux-server. modified target update-flax

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/tags/stable/greenstone3/build.xml

    r24098 r24179  
    20782078    </copy> 
    20792079  </target> 
     2080  <target name="configure-flax-web" description="Configure wsdl and aux server"> 
     2081    <antcall target="configure-flax-wsdl"/> 
     2082    <antcall target="configure-flax-aux-server"/> 
     2083  </target> 
    20802084  <target name="configure-flax-wsdl" description="Configure flax webservice with tomcat server/port"> 
    20812085    <copy file="${basedir}/flax-resources/FlaxWebService.wsdl" tofile="${web.home}/FlaxWebService.wsdl" overwrite="true"/> 
    20822086    <rsr file="${web.home}/FlaxWebService.wsdl" pattern="@flaxpublicserver@:@flaxpublicport@" replacement="${tomcat.server}:${tomcat.port}"/> 
    20832087    <echo>FLAX server for Moodle module is configured to: http://${tomcat.server}:${tomcat.port}.</echo> 
     2088  </target> 
     2089  <target name="configure-flax-aux-server" description="Copy flax auxiliary collocation server url from build.properties to global.properties"> 
     2090    <concat destfile="${web.classes}/global.properties" append="true" fixlastline="yes">flax.aux.server=${flax.aux.server}</concat> 
     2091    <echo>FLAX auxiliary server set to (in web/WEB-INF/classes/globla.properties): http://${flax.aux.server}.</echo> 
    20842092  </target> 
    20852093 
     
    21022110    <!--<antcall target="flax-copy-files" />--> 
    21032111    <antcall target="compile-core" /> 
     2112    <antcall target="configure-flax-web" /> 
    21042113  </target> 
    21052114