Wednesday, March 01, 2006
Maven UpToDate and dots in property names
If you're having trouble using UpToDate in Maven, it turns out that maven 1.0.2 and/or Jexl/Jelly don't like periods in property names when using the UpToDate ant task.
WRONG
WRONG
<uptodate property="build.uptodate" targetfile="${maven.build.dir}/last.build">RIGHT
<srcfiles dir="${maven.src.dir}" includes="**/*"/>
</uptodate>
<uptodate property="build_uptodate" targetfile="${maven.build.dir}/last.build">Just something to be aware of if your UpToDate targets don't seem to be working correctly.
<srcfiles dir="${maven.src.dir}" includes="**/*"/>
</uptodate>
Comments:
Post a Comment