Changeset 15037


Ignore:
Timestamp:
2008-03-04T13:52:25+13:00 (14 years ago)
Author:
xiao
Message:

add two targets: update-flax and flax-copy-files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/build.xml

    r15035 r15037  
    14421442    </svn>
    14431443    <move file="${basedir}/web/WEB-INF/web.xml" tofile="${basedir}/web/WEB-INF/web.xml.greenstone3backup"/>
    1444     <copy file="${basedir}/web/WEB-INF/classes/flax/web.xml" todir="${basedir}/web/WEB-INF" />
    1445     <copy file="${basedir}/flax-resources/flax-build.xml" todir="${basedir}" />   
     1444    <svncall target="flax-copy-files" />
    14461445
    14471446    <property name="coll.dir" value="${basedir}/web/sites/flax/collect"/>
     
    14551454    </delete>
    14561455  </target>
    1457 
     1456    <target name="update-flax" description="update flax from repository">
     1457      <echo>updating flax ...</echo>
     1458      <svn>
     1459        <update dir="${basedir}/src/java/org/flax"/>
     1460        <update dir="${basedir}/src/java/org/greenstone/gsdl3/flax"/>
     1461        <update dir="${basedir}/web/WEB-INF/classes/flax"/>
     1462        <update dir="${basedir}/web/interfaces/flax"/>
     1463        <update dir="${basedir}/web/sites/flax"/>
     1464        <svncall target="flax-copy-files" />
     1465      </svn>
     1466    </target>
     1467    <target name="flax-copy-files" description="copy some flax files into the appropriate greenstone3 directories">
     1468      <echo>copying flax files ...</echo>
     1469      <copy file="${basedir}/web/WEB-INF/classes/flax/web.xml" todir="${basedir}/web/WEB-INF" overwrite="true" />
     1470      <!-- A configuration file containing web service binding information for the axis engine -->
     1471      <copy file="${basedir}/web/WEB-INF/classes/flax/server-config.wsdd" todir="${basedir}/web/WEB-INF" overwrite="true" />
     1472    </target>
    14581473</project>
    14591474
Note: See TracChangeset for help on using the changeset viewer.