Changeset 18218


Ignore:
Timestamp:
12/16/08 16:12:24 (12 years ago)
Author:
cc108
Message:

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

File:
1 edited

Legend:

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

    r18217 r18218  
    1515    <property name="tomcat.lib.dir" value="../../packages/tomcat/common/lib"/>
    1616    <property name="tomcat.endorsed.dir" value="../../packages/tomcat/common/endorsed"/>
    17    
     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"/>
    1819   
    1920        <path id="classpath">
     
    3839        <mkdir dir="${classes.dir}"/>
    3940        <javac srcdir="${src.dir}" destdir="${classes.dir}" classpathref="classpath"/>
     41       
     42        <mkdir dir="${web.class.dir}"/>
     43        <copy todir="${web.class.dir}">
     44                <fileset dir="${mat.class.dir}">
     45                    <include name="**/*.class"/>
     46                   </fileset>
     47        </copy>
    4048    </target>
    4149   
Note: See TracChangeset for help on using the changeset viewer.