ant cpptask with ivy
        Posted  
        
            by AC
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by AC
        
        
        
        Published on 2010-03-14T18:33:44Z
        Indexed on 
            2010/03/15
            19:59 UTC
        
        
        Read the original article
        Hit count: 280
        
A company I am working for, has some c binaries build with ant using cpptask. They use ivy to retrieve shared c libraries every time we start a build which wastes a significant amount of time comparing the revisions and downloading, when then only need to be download if the header files have changed. I have added a target which sets a var, which causes the build to skip over the ivy steps but I'd like a better solution. I see that cpptask creates a file history.xml and only rebuilds to binary if any of the sources have change. I'd like to know if there is way to independently test if the binary needs to build, and it does, I'd like it fire off the ivy targets. I'd also like for a variable to be set if the binary was rebuilt so that I can conditionally start an rpm generation task
© Stack Overflow or respective owner