Nico,
Thanks for the response.
I wondered about that. I'm really using the uptodate to perform an
outofdate function. I guess I got caught. Anyone working on an outofdate
task?
Steve
-----Original Message-----
From: Nico Seessle [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 22, 2001 2:40 PM
To: [EMAIL PROTECTED]
Subject: Re: Uptodate problem
----- 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