Bart Read wrote:
There is a registry key that could be used to determine the location ofSomthing to think about is the possibility of running a vault client on linux/mono. This reportedly works [1] although the system requirements [2] claim that Win2k or above is required to run the client. You can probably use a <task> section in the config file to avoid having to use the registry classes directly from your task code :
vault.exe: HKEY_LOCAL_MACHINE\Software\SourceGear\Vault
Client\SCCServerPath. On my machine this has the value "C:\Program
Files\SourceGear\Vault Client\VaultIDE.dll". Vault.exe is in the same
directory. As far as I know there is no other way, however this should
be sufficient, and when I get time I'll patch it. However I've only
just moved over to C# from Java so am not yet familiar with the class
libraries: I figured registry access is in there somewhere, but I didn't
have time to look for it.
<project>
<readregistry
property="vaultClientRoot"
key="SOFTWARE\SourceGear\VaultClient\SCCServerPath"
hive="LocalMachine" />
<tasks>
<task name="vault">
<attribute name="exename">${path::combine(vaultClientRoot, 'Vault.exe')}</attribute>
</task>
...
just wondering if you have a vault server installed on the same machine as that reg setting looks like its pointing at the Server path ?
Ian
[1] http://software.ericsink.com/20040216.html#10154 [2] http://www.sourcegear.com/vault/sysreq.asp
Bart
======================
Bart Read
Software Engineer
Red Gate Software Ltd
+44 (0) 870 160 0037 ext 31
======================
-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: 12 October 2004 06:47
To: Bart Read; [EMAIL PROTECTED]
Subject: Re: [NAntC-Dev] SourceGear Vault integration
Bart,
Is there no way to automatically determine the install location of the
vault client ?
Gert
----- Original Message ----- From: "Bart Read" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, October 11, 2004 11:50 AM
Subject: RE: [NAntC-Dev] SourceGear Vault integration
Hi Gert,
I tried submitting a preliminary version of these tasks to the list before the weekend but it appears that our mail server is configured to block all outbound mail with zip attachments. I've asked our sysadmin if he can configure it to let me send mail with such attachments, but it's possible he may refuse, so in the meantime please find attached a gzip archive.
A few points about the tasks:
- I've so far only tested the GET task because I've run into other problems with NAnt. - I was originally planning to implement these tasks against the latest production release (0.84) but for other reasons I've had to start using the 7th October nightly build of the 0.85 release. Having said that you should find that they will still work with 0.84.
They obviously aren't perfect at this stage, and as I said are largely untested. Please feel free to dissect and vilify at your leisure. If you want to build NAnt contrib to include these tasks, extract the zip file and drop the enclosed Vault folder into the src/Tasks folder underneath the nantcontrib source distribution root folder.
Many thanks, Bart
====================== Bart Read Software Engineer Red Gate Software Ltd +44 (0) 870 160 0037 ext 31 ======================
-----Original Message----- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: 07 October 2004 12:10 To: Bart Read; [EMAIL PROTECTED] Subject: Re: [NAntC-Dev] SourceGear Vault integration
Bart,
At this time, no one has started working on NAnt(Contrib) tasks for SourceGear Vault. At least, not to my knowledge.
I'm pretty sure there's much interest for such a set of tasks though, so we would definitely welcome any contributions.
I'd suggest posting the source code for these tasks to the developer list once they reach a usable state, to allow us to give you some feedback (before you're on a point of no return ;-))
Also, it would probably be best to implement these tasks as a wrapper around a Vault command line tool (if there is such a tool). That way we can avoid another dependency and licensing issues.
I assume another option would be to use the Vault web service API's, right ?
Best regards,
Gert
----- Original Message ----- From: "Bart Read" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 07, 2004 12:42 PM
Subject: [NAntC-Dev] SourceGear Vault integration
Hi All,
We use SourceGear Vault for source control so I was wondering if anyone out there is currently working on a set of Vault tasks analogous to the SourceSafe tasks that are already available, or if anybody has used / modified the SourceSafe tasks to work with Vault? I'm contemplating implementing a set of tasks that would work with Vault, however I would obviously prefer to use something that's already out there if it's available.
Many thanks,
======================
Bart Read
Software Engineer
Red Gate Software Ltd
+44 (0) 870 160 0037 ext 31
======================
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

