Title: Message
There are several VSS task in nAntContrib.  nAntContrib is a project where new nAnt tasks have time to mature before they get promoted to nAnt.
 
Go to http://nantcontrib.sourceforge.net/help/tasks/index.html and look for the tasks that start with <vss*>
 
My suggestion would be to create a "fetch" target and have your "build" target depend on "fetch"
 
On my project, I use a tool called Draco.NET that does the fetch and kicks off the nAnt build script.  Go to http://draconet.sf.net for more info.
 
I hope this helps.
 
Jason
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bonnett, Evan A
Sent: Monday, March 15, 2004 9:09 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Getting Code from VSS via NAnt

Hi all,
 
Is there support for VSS or do I need to call the <exec> task to run a batch file?
 
Is there a better way to get the latest from VSS?  Also, which target does this task really belong in?  I have the following targets now...
 
clean - Deletes all files from the bin directory and recopies the dll's from a given reference directory
build - Compiles the code and outputs the resultant dll to the bin directory
package - zips up all the necessary files for the web app to be copied to the destination directory
install - copies the zip over to the install directory and unzips
 
I know I need a test target but I'm building my way to that as I am new to NAnt. Is it standard practice to put the source code extraction in one of the existing targets or it's own target?
 
Thanks,

Evan A. Bonnett
Reynolds and Reynolds, IT

Reply via email to