You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Dominique Devienne <DD...@lgc.com> on 2004/01/29 23:31:12 UTC

RE: Generating java files selectively from IDL files using a nd type glob

> From: Daniels, Doug [mailto:Doug.Daniels@GDC4S.Com]
> 
> I wish there was a way to directly use the <uptodate> task
> to retrieve the files that aren't uptodate.

I've long since given up on <uptodate>, and use the great
<outofdate> task from Peter, in Ant-Contrib. Was designed
to replace Makefile rules, so maybe it has the equivalent
to $? for only the out of dates files.

Check it out. --DD

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


Re: Generating java files selectively from IDL files using a nd type glob

Posted by Peter Reilly <pe...@corvil.com>.
Dominique Devienne wrote:

>>From: Daniels, Doug [mailto:Doug.Daniels@GDC4S.Com]
>>
>>I wish there was a way to directly use the <uptodate> task
>>to retrieve the files that aren't uptodate.
>>    
>>
>
>I've long since given up on <uptodate>, and use the great
><outofdate> task from Peter, in Ant-Contrib. Was designed
>to replace Makefile rules, so maybe it has the equivalent
>to $? for only the out of dates files.
>  
>
The outoutdate task can set the files that are outofdate in a <path>
reference using the "outputsourcespath" attribute.
More tasks however only accept filesets, so the path needs to be
converted to a fileset using ant-contribs pathtofileset task.
However this makes for quite messy build scripts.
An example is given in:
http://ant-contrib.sourceforge.net/tasks/pathtofileset.html
Peter


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