ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Corbin <dcor...@users.sourceforge.net>
Subject Re: <uptodate> problems (solved)
Date Fri, 05 Mar 2004 13:32:35 GMT
Thanks, but I figured it out.
The mapper to should not: 
 a) repeat the srcfiles dir
and
 b) needs have a to="*Bean.java".

Thanks anway
On Friday 05 March 2004 07:42, David Corbin wrote:
> 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

-- 
David Corbin <dcorbin@users.sourceforge.net>


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


Mime
View raw message