I ended up copying the file to a file.lck (added a .lck file extension), and 
check for the existence of this file extension.


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Tuesday, April 24, 2012 3:24 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Coordinating file access

I'm trying to set up N test machines to read/modify/write a file on yet another 
machine (build machine). Any Nant tips and tricks to coordinate such file 
access so only one test machine accesses the file? For example, does Nant have 
file locks/unlock tasks?


***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
NAnt-users mailing list

Reply via email to