outofdate and missing files

  • Bill Poitras
    Bill Poitras

    I am trying to use outofdate to help me figure out if I need to run a perl script to generate several java files:

            <pathelement path="${input.file}"/>
            <fileset dir="${output.dir}">
              <patternset refid="outputFileSet"/>

    Basically I want this to run if any of java files secified in the patternset are either missing or out of date relative to ${input.file}.

    What happens is when I touch ${input.file} the files get regenerated as expected.  But if I delete any or all of the ouput files, they are considered up to date.  Any idea how to fix this?