Coordinating file access

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Coordinating file access

Chris Fouts

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?

 

-chris


***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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nant-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Coordinating file access

Chris Fouts

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

 

-chris

 

From: Chris Fouts [mailto:[hidden email]]
Sent: Tuesday, April 24, 2012 3:24 PM
To: [hidden email]
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?

 

-chris


***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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nant-users
Loading...