ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Dougherty <MDoughe...@XIFIN.Com>
Subject RE: Another uptodate question
Date Wed, 30 Oct 2002 22:22:04 GMT
Thanks for the help. I tried playing with <mapper>s but they work. I've kludged it together
for now and will come back and fix it later in my copious spare time (hahahaha!).

/m


> -----Original Message-----
> From: Dominique Devienne [mailto:DDevienne@lgc.com]
> Sent: Wednesday, October 30, 2002 11:42 AM
> To: 'Ant Users List'
> Subject: RE: Another uptodate question
> 
> 
> Actually, the fact that it deletes the files is most of the 
> time OK, it's
> more that it doesn't set (optionally) a property when it did 
> that's missing,
> which would be something you could have taken advantage of (optionally
> deleting would be nice though).
> 
> But to come back on what's possible now... <uptodate> does support a
> <mapper> according to the 1.5.x docs. If you have a one-to-one mapping
> between your source and target files, it should do what you 
> need, I think.
> 
> --DD
> 
> -----Original Message-----
> From: Mike Dougherty [mailto:MDougherty@XIFIN.Com] 
> Sent: Wednesday, October 30, 2002 11:36 AM
> To: 'Ant Users List'
> Subject: RE: Another uptodate question
> 
> I've looked at <dependset> and if the <ejbjar> worked the way 
> I expected
> then I could use it. But then again if <ejbjar> worked the 
> way I expected I
> wouldn't need it.
> 
> Anyway, what I am looking for is to run the <ejbjar> target 
> only if a class
> file that matches${build.classes.dir}/**/ejb/**/*.class has 
> been modified
> since the last execution of <ejbjar>. The <ejbjar> task 
> deposits the results
> of its compilation into ${build.ejb.dir}/**/ejb. So what I 
> would like is for
> the uptodate to tell me if the most recent file in
> ${build.classes.dir}/**/ejb/**/*.class is more recent than 
> the most recent
> file in ${build.ejb.dir}/**/ejb/**/*.class.
> 
> I think <dependset> would do exactly what I need if it didn't 
> delete the
> files and just set a property.
> 
> /mike 
> 
> --
> To unsubscribe, e-mail:   
<mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message