ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: signing jar only if it has been updated
Date Thu, 02 May 2002 21:14:38 GMT
Right after you perform signjar, touch a file that acts as the timestamp for
the last time you performed signjar. Then have your signjar target depend on
a check-jar-up2date-4signjar target that uses <uptodate> between the jar and
the timestamp file, setting a property if it need (or not) updating, and
have the signjar target if/unless on that property. I'll leave the actual
implementation to you ;-) Try it, and if you're stuck I can help some more,
and someone not as lazy as me if going to provide you the full solution.
--DD

-----Original Message-----
From: Michael_Luu@NAI.com [mailto:Michael_Luu@NAI.com] 
Sent: Thursday, May 02, 2002 3:17 PM
To: ant-user@jakarta.apache.org
Subject: signing jar only if it has been updated

would anyone out there know how to accomplish this?  it seems that the
signjar task signs a jar file regardless if it has changed.  this takes
quite a long time if the jar file is large.

thanks,

mike

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

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


Mime
View raw message