I'm using Ant1.2 binaries.
I have the following:
<target name="my.ear.uptodate">
<echo message="******************************************"/>
<echo message="executing my.ear.uptodate target"/>
<echo message="******************************************"/>
<echo message="my.war.dir=${my.war.dir}"/>
<echo message="my.war.name=${my.war.name}"/>
<echo message="my.assembly.dir=${my.assembly.dir}"/>
<uptodate property="my.ear.deployNotRequired"
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)
I'm sure I have my directories setup properly because when I build the war
the deployNotRequired flag is not set.
Any answers?
Is this a bug?
Am I on an idiot and there is a problem with my my.ear.uptodate task?
Thanks in advance
-------------
Steve Wilkinson
NETdelivery.com
p: 303-245-7378
x: 303-245-9122