CruiseControl / NANT <copy> Task

Posted by Striker on Stack Overflow See other posts from Stack Overflow or by Striker
Published on 2010-05-07T21:48:58Z Indexed on 2010/05/08 6:48 UTC
Read the original article Hit count: 383

Filed under:
|

We have a website with all the media (css/images) stored in a media folder. The media folder and it's 95 subdirectories contain about 400 total files. We have a Cruiscontrol project that monitors just the media directory for changes and when triggered copies those files to our integration server.

Unfortunately, our integration server is at a remote location and so even when copying 2-3 files the NANT task is taking 4+ minutes. I believe the combination of the sheer number or directories/files and our network latency is causing the NANT task to run slow. I believe it is comparing the modified dates of both the local and remote copy of every file.

I really want to speed this up and my initial thought was instead of trying to copy the whole media folder, can I get the list of file modifications from CruiseControl and specifically copy those files instead, saving the NANT task the work of having to compare them all for changes.

Is there a way to do what I am asking or is there a better way to accomplish the same performance gains?

© Stack Overflow or respective owner

Related posts about cruisecontrol.net

Related posts about nant