Changeset 18217

Show
Ignore:
Timestamp:
16.12.2008 16:09:50 (10 years ago)
Author:
cc108
Message:

add new target to copy servlet class to WEB-INF\class folder

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/trunk/greenstone3-extension/mat/build.xml

    r18216 r18217  
    1515    <property name="tomcat.lib.dir" value="../../packages/tomcat/common/lib"/> 
    1616    <property name="tomcat.endorsed.dir" value="../../packages/tomcat/common/endorsed"/> 
    17     <property name="web.class.dir" value="../../web/WEB-INF/classes/org/greenstone/gsdl3_extension/mat/servlet"/> 
    18     <property name="mat.class.dir" value ="${classes.dir}/org/greenstone/gsdl3_extension/mat/servlet"/> 
    19          
    20          
     17     
     18     
    2119        <path id="classpath"> 
    2220            <fileset dir="${lib.dir}"> 
     
    4038        <mkdir dir="${classes.dir}"/> 
    4139        <javac srcdir="${src.dir}" destdir="${classes.dir}" classpathref="classpath"/> 
    42          
    43         <mkdir dir="${web.class.dir}"/> 
    44         <copy todir="${web.class.dir}"> 
    45                 <fileset dir="${mat.class.dir}"> 
    46                     <include name="**/*.class"/> 
    47                    </fileset> 
    48         </copy> 
    4940    </target> 
    5041     
     
    9182        <copy todir="${mat.dir}/script"> 
    9283                <fileset dir="./resources/script"/> 
    93         </copy>          
     84        </copy>  
    9485    </target> 
    9586 
     
    10495    </target> 
    10596    <target name="clean-compile" depends="clean,compile"/> 
     97 
    10698</project>