ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: Re: conditional redeploy (only if something is changed)
Date Tue, 18 Jun 2002 16:40:25 GMT

----- Original Message -----
From: <>
To: "Ant Users List" <>
Sent: Tuesday, June 18, 2002 12:59 AM
Subject: Re: Re: conditional redeploy (only if something is changed)

> you are completly right, concerning further dependencies of redeploy.
> Espesially the copy of some XML and another
> files (property, but not JSP or HTML-Files).
> Well, as I guess I have no choice (if I use only ant),
> but to use the same trick, proposed by Diane:
> Trace the copy task (I'd have to split this task to many tasks: copy of
> redeploy-relevant and not redeploy-relevant files !), and then parse the
> output of those tasks. In this way I'll get many properties: let say:
> newClasses, newXMLDescriptionFiles, newXMLCatalogFiles etc.
> then I'd user uptodate task with intern odering of those properties.
> 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
> 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

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message