Progress® OpenEdge® Compilation Tools

CRCDifferent selector

Description

CRCDifferent is a selector in which files can be selected based on CRC comparison in source and target directories. Files are removed of the fileset if and only if their CRC is identical.

Parameters

Attribute Description Type Requirement Default value
targetdir The base directory to look for the files to compare against. The precise location depends on a combination of this attribute and the element, if any. File Required No default value

Parameters as nested elements

None

Examples

<!-- Selector has to be declared in build.xml -->
<typedef name="CRCDifferent" classname="com.phenix.pct.CRCDifferent" />
<target name="copy">
  <copy todir="DestDir">
    <fileset dir="build">
      <custom classname="com.phenix.pct.CRCDifferent">
        <param name="targetdir" value="DestDir" />
      </custom>
    </fileset>
  </copy>
</target>
Will only copy files whose CRC has changed.
$Date: 2006-03-22 14:42:02 +0100 (mer., 22 mars 2006) $