ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Re: conditional redeploy (only if something is changed)
Date Wed, 19 Jun 2002 16:41:21 GMT

----- Original Message -----
From: <David.Ostrovsky@dvg.de>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Wednesday, June 19, 2002 3:58 AM
Subject: Re: Re: conditional redeploy (only if something is changed)


>>
> >> Well, that solution isn't the simplest one. Even if copy task and
> compile
> >> task would set for me the properties, only if something have been done,
> >> I must still check many dependancies. May be a specific task
(Web-Server
> >> undependent ?) that will get all this properties as input and so can
> decide
> >> of the actual redeploy is needed, would be easier solution?
> >>
>
> >or just use the <filesmatch> condition (ant1.5) and redeploy only if your
> >WAR has changed
>
> thank you for this hint. Unfortunatelly I can't use this feature, because
> we are using the exploded version of Web Application in development, and
> WAR-
> Archive in the production. To compare ca. 10.000 files isn't really an
> option.
> Another suggestion?

just a process issue. Cache the WAR file you deployed somewhere, and compare
against that.


--
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