ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew.W...@adidas.com.hk
Subject RE: How to write an build script so that the jar get updated ONLY whe n its .class is compiled (i.e. the java get changed)
Date Wed, 21 Apr 2004 07:46:22 GMT
Oh really, I used 1.4.1

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org] 
Sent: Wednesday, 21 April, 2004 3:48 PM
To: user@ant.apache.org
Subject: Re: How to write an build script so that the jar get updated ONLY
whe n its .class is compiled (i.e. the java get changed)


On Wed, 21 Apr 2004, Andrew Wong <Andrew.Wong@adidas.com.hk> wrote:

>  But for jar, it NEVER jar the file again if the jar file (jarfile
> attribute) exists.

Which version of Ant are you using?  Anything prior to 1.5.3 won't
work properly here.

Also, you probably want to say update="true" in your <jar> task.

Stefan

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

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