ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <David.Ostrov...@dvg.de>
Subject Re: Re: conditional redeploy (only if something is changed)
Date Wed, 19 Jun 2002 10:58:23 GMT
                                                                                          
                        
                    "Steve                                                               
                         
                    Loughran"            An:     "Ant Users List" <ant-user@jakarta.apache.org>
                   
                    <steve_l@iser        Kopie:                                       
                            
                    an.com>              Thema:  Re: Re: conditional redeploy (only if
something is changed)       
                                                                                         
                         
                    18.06.02                                                             
                         
                    18:40                                                                
                         
                    Bitte                                                                
                         
                    antworten an                                                         
                         
                    "Ant Users                                                           
                         
                    List"                                                                
                         
                                                                                         
                         
                                                                                         
                         









----- Original Message -----
From: <David.Ostrovsky@dvg.de>
To: "Ant Users List" <ant-user@jakarta.apache.org>
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
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?

Again, my problem is, that I cannnot figure out (in a simple way):
o in javac task, if something was really compiled.
o in copy task, if something was really copied.
And I do not have any simple task that do conditional (re)deploy, that
depend upon those variables.

David Ostrovsky

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