----- Original Message -----
From: "Steve Wilkinson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 19, 2001 9:22 PM
Subject: Uptodate problem


> I'm using Ant1.2 binaries.
>
[...]
> targetfile="${my.ear.withpath}">
> <srcfiles dir="${my.war.dir}/META-INF"
> includes="application.xml"/>
> <srcfiles dir="${my.war.dir}"
> includes="${my.war.name}"/>
> </uptodate>
> <echo message="ofx.ear.deployNotRequired =
> ${my.ear.deployNotRequired} "/>
> </target>
>
> If I touch the war file. The my.ear.deployNotRequired flag is not set.
> (works)
> If I delete the war file.  The my.ear.deployNotRequired flag is set.
> (BROKEN)
> If I re-build the war file in my.war.dir. The my.ear.deployNotRequired
flag
> is not set.  (works)
>

UpToDate only compares existing source-files to the target-file(s). If a
source-file is deleted it currently does not know that.

Nico


Reply via email to