ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EJ Ciramella <ecirame...@archivas.com>
Subject Re: uptodate using .xml to .java but not 1 to 1
Date Wed, 04 May 2005 16:58:26 GMT
I did something a little different.  I do the generation then touch a  
file.  Then I can use the merge mapper from xml to touched file name.


On May 4, 2005, at 12:50 PM, Alexey N. Solofnenko wrote:

> In general you will need a mapper, if there are a many source and  
> destination files. If you can select one destination file out of many  
> (if several destination files are generated together), you can just  
> use plain <uptodate>. Otherwise please look at <apply> task.
>
> - -Alexey.
>
> EJ Ciramella wrote:
>
>> Every once in a while I stumble across this problem where a tool  
>> reads in xml and generates java files. We have a custom written tool  
>> here that does this but there is no up to date check so the java  
>> files are created each time. Do I need to write a custom mapper or is  
>> there a simple way to do this? The xml files share nothing in common  
>> in the way of their names with the java files.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>
>
> --  
> ----------------------------------------------------------------------- 
> -
> / Alexey N. Solofnenko
> home: http://trelony.cjb.net/
> /
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


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


Mime
View raw message