Performing Build when Shadow Folders are Updated

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
packinpa
Posts: 3
Joined: Tue Jan 29, 2008 7:45 am

Performing Build when Shadow Folders are Updated

Post by packinpa » Tue Jan 29, 2008 4:44 pm

Does anyone have any information on how to invoke a script (e.g. a BAT file) to perform a command line rebuild of a .NET solution when the contents of the shadow folder changes?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Jan 29, 2008 5:07 pm

I'm still digging for an answer here. This may go into tomorrow before an answer is posted.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Jan 30, 2008 9:56 am

It looks like the best idea would be to consider configuring Vault with CC.NET.

To go down the path of the original idea, you need to identify which project (C#, VB.NET, etc.), and then launch the correct compiler (csc.exe, vbc.exe, etc.) However, you would then need to write something that watches the disks to determine when files have changed.

packinpa
Posts: 3
Joined: Tue Jan 29, 2008 7:45 am

Post by packinpa » Wed Jan 30, 2008 10:08 am

I was hoping that someone would already have invented this wheel, but thanks for digging into this for me.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Wed Jan 30, 2008 10:41 am

I'm not sure if this is relevant, but if you want to kick off a build on a repository change, then someone has. CC.NET w/ Vault integration does just that.
Jeff Clausius
SourceGear

Post Reply