Changeset 20955

Show
Ignore:
Timestamp:
18.11.2009 15:31:00 (10 years ago)
Author:
xiao
Message:

Modified FLAX targets

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/tags/3.04/build.xml

    r20951 r20955  
    16681668    <mkdir dir="${basedir}/flax-resources"/> 
    16691669    <mkdir dir="${basedir}/flax-lib"/> 
    1670  
    1671     <exec executable="svn"><arg value="checkout"/><arg value="${flax.checkout.path}/src/java/org/flax"/> 
    1672       <arg value="src/java/org/flax"/></exec> 
    1673     <exec executable="svn"><arg value="checkout"/><arg value="${flax.checkout.path}/src/java/org/greenstone/gsdl3/flax"/> 
    1674       <arg value="src/java/org/greenstone/gsdl3/flax"/></exec> 
    1675     <exec executable="svn"><arg value="checkout"/><arg value="${flax.checkout.path}/web/WEB-INF/classes/flax"/> 
    1676       <arg value="${web.home}/WEB-INF/classes/flax"/></exec> 
    1677     <exec executable="svn"><arg value="checkout"/><arg value="${flax.checkout.path}/web/interfaces/flax"/> 
    1678       <arg value="${web.home}/interfaces/flax"/></exec> 
    1679     <exec executable="svn"><arg value="checkout"/><arg value="${flax.checkout.path}/web/interfaces/flaxmodule"/> 
    1680       <arg value="${web.home}/interfaces/flax"/></exec> 
    1681     <exec executable="svn"><arg value="checkout"/><arg value="${flax.checkout.path}/web/sites/flax"/> 
    1682       <arg value="${web.home}/sites/flax"/></exec> 
    1683     <exec executable="svn"><arg value="checkout"/><arg value="${flax.checkout.path}/flax-resources"/> 
    1684       <arg value="flax-resources"/></exec> 
    1685     <exec executable="svn"><arg value="checkout"/><arg value="${flax.checkout.path}/lib"/> 
    1686       <arg value="flax-lib"/></exec> 
    1687  
     1670    <svn> 
     1671      <checkout url="${flax.checkout.path}/src/java/org/flax/"   
     1672        destPath="${basedir}/src/java/org/flax"/> 
     1673      <checkout url="${flax.checkout.path}/src/java/org/greenstone/gsdl3/flax/"  
     1674        destPath="${basedir}/src/java/org/greenstone/gsdl3/flax"/> 
     1675      <checkout url="${flax.checkout.path}/web/WEB-INF/classes/flax/"  
     1676        destPath="${web.home}/WEB-INF/classes/flax"/> 
     1677      <checkout url="${flax.checkout.path}/web/interfaces/flax/"  
     1678        destPath="${web.home}/interfaces/flax"/> 
     1679      <checkout url="${flax.checkout.path}/web/interfaces/flaxmodule/"  
     1680        destPath="${web.home}/interfaces/flaxmodule"/> 
     1681      <checkout url="${flax.checkout.path}/web/sites/flax/"  
     1682        destPath="${web.home}/sites/flax"/> 
     1683      <checkout url="${flax.checkout.path}/flax-resources" 
     1684        destPath="${basedir}/flax-resources"/> 
     1685      <checkout url="${flax.checkout.path}/lib" 
     1686        destPath="${basedir}/flax-lib"/> 
     1687    </svn> 
    16881688    <echo>prepare flax files...</echo> 
    16891689    <move file="${web.home}/WEB-INF/web.xml" tofile="${web.home}/WEB-INF/web.xml.greenstone3backup"/> 
     
    16931693  <target name="update-flax" description="update flax from repository"> 
    16941694    <echo>updating flax ...</echo> 
    1695     <exec executable="svn"><arg value="update"/><arg value="src/java/org/flax"/></exec> 
    1696  
    1697     <exec executable="svn"><arg value="update"/><arg value="src/java/org/flax"/></exec> 
    1698     <exec executable="svn"><arg value="update"/><arg value="src/java/org/greenstone/gsdl3/flax"/></exec> 
    1699     <exec executable="svn"><arg value="update"/><arg value="${web.home}/WEB-INF/classes/flax"/></exec> 
    1700     <exec executable="svn"><arg value="update"/><arg value="${web.home}/interfaces/flax"/></exec> 
    1701     <exec executable="svn"><arg value="update"/><arg value="${web.home}/sites/flax"/></exec> 
     1695    <svn> 
     1696      <update dir="${basedir}/src/java/org/flax"/> 
     1697      <update dir="${basedir}/src/java/org/greenstone/gsdl3/flax"/> 
     1698      <update dir="${web.home}/WEB-INF/classes/flax"/> 
     1699      <update dir="${web.home}/interfaces/flax"/> 
     1700      <update dir="${web.home}/interfaces/flaxmodule"/> 
     1701      <update dir="${web.home}/sites/flax"/> 
     1702    </svn> 
    17021703    <antcall target="flax-copy-files" /> 
    1703   </target> 
    1704  
    1705   <target name="unzip-flax-resources" > 
    1706     <property name="classes.dir" value="${web.home}/WEB-INF/classes/flax"/> 
    1707     <unzip dest="${classes.dir}">   
    1708       <fileset dir="${classes.dir}"> 
    1709         <include name="*.zip"/> 
    1710       </fileset>     
    1711     </unzip>     
    1712     <delete> 
    1713       <fileset dir="${classes.dir}" includes="*.zip"/> 
    1714     </delete> 
    17151704  </target> 
    17161705   
     
    17351724 
    17361725 
    1737  
    17381726  <target name="compile-javadocs"> 
    17391727    <javadoc packagenames="org.greenstone.*"