ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Corbin <dcor...@machturtle.com>
Subject <uptodate> problems
Date Fri, 05 Mar 2004 12:42:05 GMT
Here's a fragment of a build file
   <property name="full.generated.src.dir" 
location="${generated.src.dir}" />

       <uptodate property="xdoclet-uptodate">
         <srcfiles dir="loyalty/javasrc">
	          <patternset refid="loyalty.ejbs" />
	          <patternset refid="drop.for.foo" />
         </srcfiles>
         <mapper type="glob" 
from="loyalty${file.separator}javasrc${file.separator}*.java" 
to="${full.generated.src.dir}${file.separator}*LocalHome.java"/>
       </uptodate>
<echo>${full.generated.src.dir}${file.separator}*LocalHome.java}</echo>

When this fragment executes, the xdoclet-uptodate is ALWAYS true.  When 
I run ant with -v, I get

  [uptodate] com\enttek\loyalty\dao\LoyaltyCardBean.java skipped - don't 
know how to handle it

for each file in the srcfiles patterns. Since it says nothing about the 
mapping, I assume it's a fundamental problem I've made earlier in the 
process.  Each of those src files is does in fact exist (and none of 
them generated files exists).

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message