Changeset 18216


Ignore:
Timestamp:
2008-12-16T16:07:39+13:00 (15 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

    r18215 r18216  
    4040        <mkdir dir="${classes.dir}"/>
    4141        <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>
    4249    </target>
    4350   
     
    8491        <copy todir="${mat.dir}/script">
    8592                <fileset dir="./resources/script"/>
    86         </copy>
    87        
    88         <mkdir dir="${web.class.dir}"/>
    89         <copy todir="${web.class.dir}">
    90                 <fileset dir="${mat.class.dir}">
    91                     <include name="**/*.class"/>
    92                    </fileset>
    93         </copy>
    94        
     93        </copy>         
    9594    </target>
    9695
Note: See TracChangeset for help on using the changeset viewer.