devdaily home | apple | java | perl | unix | directory | blog

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<project default="filter-internal">

  <property name="source.root" value="src/filter"/>
  <property name="dest.root" value="processed"/>
  <property name="pattern" value="**"/>

  <target name="init-filter-internal">
    <available property="has.filter.files" file="${source.root}"/>
  </target>

  <target name="filter-internal" depends="init-filter-internal" if="has.filter.files">
    <filter filtersfile="src/project.prp"/>
    <filter filtersfile="src/configs/${config}.prp"/>
   
    <copy todir="${dest.root}" overwrite="true" filtering="on" flatten="false">
      <fileset dir="${source.root}">
        <include name="${pattern}"/>
      </fileset>
    </copy>
  </target>

</project>




Copyright 1998-2008 Alvin Alexander
All Rights Reserved.
 
devdaily.com is based in louisville, kentucky, and this web site is hosted by godaddy.com