Google Groups Home
Help | Sign in
CI Factory and Vault 3.5.2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 29 - Collapse all   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
rasane  
View profile
 More options Feb 20, 5:09 pm
From: rasane <sras...@gmail.com>
Date: Wed, 20 Feb 2008 14:09:59 -0800 (PST)
Local: Wed, Feb 20 2008 5:09 pm
Subject: CI Factory and Vault 3.5.2
Hi,

I am facing some issues with installing my CI Factory setup. I am
hoping you could help me.

I am installing CI Factory downloaded yesterday from your website and
I believe according to your blog update: http://jayflowers.com/WordPress/?cat=8&paged=4
that CI Factory is not expected to work with Vault 3.5.2 - What can I
do?

Please find attached my build log generated by command line:
nant\bin\nant.exe -buildfile:"Install Scripts\install.xml" -verbose

<begin log>

SourceControl.Repository.Load:

            BUILD FAILED

            INTERNAL ERROR

            System.Web.Services.Protocols.SoapException: 2206 :
FailNotAdmin
               at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClien tMessage
message, WebResponse response, Stream responseStream, Boolean
asyncCall)
               at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
               at
VaultClientNetLib.AdminService.VaultAdminService.Login(String
strHostname, Boolean bUseFullFiles, String username, String
strEncryptedPassword, String strRMKey, String& strAuthToken)
               at VaultClientNetLib.VaultConnection.Login(String
strURLBase, String strUsername, String strPassword)
               at VaultClientOperationsLib.ClientInstance.Login(String
urlbase, String username, String password)
               at NAnt.Contrib.Tasks.SourceGearVault.VaultBase.Login()
               at
NAnt.Contrib.Tasks.SourceGearVault.vaultaddrepo.ExecuteTask()
               at NAnt.Core.Task.Execute() in c:\Projects\CI Factory
\Current\Product\Production\Nant\NAnt.Core\Task.cs:line 177
               at NAnt.Core.Target.Execute() in c:\Projects\CI Factory
\Current\Product\Production\Nant\NAnt.Core\Target.cs:line 247
               at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in c:\Projects\CI Factory\Current\Product\Production
\Nant\NAnt.Core\Project.cs:line 897
               at NAnt.Core.Project.Execute() in c:\Projects\CI Factory
\Current\Product\Production\Nant\NAnt.Core\Project.cs:line 849
               at NAnt.Core.Project.Run() in c:\Projects\CI Factory
\Current\Product\Production\Nant\NAnt.Core\Project.cs:line 934

            Please send bug report to ci-factory@googlegroups.com.

            Total time: 7.5 seconds.

BUILD FAILED

Nested build failed.  Refer to build log for exact reason.:
NAnt.Core.BuildException: Nested build failed.  Refer to build log for
exact reason.
   at NAnt.Core.Tasks.NAntTask.RunBuild(FileInfo buildFile) in c:
\Projects\CI Factory\Current\Product\Production\Nant\NAnt.Core\Tasks
\NAntTask.cs:line 275
   at NAnt.Core.Tasks.NAntTask.ExecuteTask() in c:\Projects\CI Factory
\Current\Product\Production\Nant\NAnt.Core\Tasks\NAntTask.cs:line 203
   at NAnt.Core.Task.Execute() in c:\Projects\CI Factory\Current
\Product\Production\Nant\NAnt.Core\Task.cs:line 177
   at NAnt.Core.Target.Execute() in c:\Projects\CI Factory\Current
\Product\Production\Nant\NAnt.Core\Target.cs:line 247
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in c:\Projects\CI Factory\Current\Product\Production
\Nant\NAnt.Core\Project.cs:line 897
   at NAnt.Core.Tasks.CallTask.ExecuteTask() in c:\Projects\CI Factory
\Current\Product\Production\Nant\NAnt.Core\Tasks\CallTask.cs:line 143
   at NAnt.Core.Task.Execute() in c:\Projects\CI Factory\Current
\Product\Production\Nant\NAnt.Core\Task.cs:line 177
   at NAnt.Core.Target.Execute() in c:\Projects\CI Factory\Current
\Product\Production\Nant\NAnt.Core\Target.cs:line 247
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in c:\Projects\CI Factory\Current\Product\Production
\Nant\NAnt.Core\Project.cs:line 897
   at NAnt.Core.Tasks.CallTask.ExecuteTask() in c:\Projects\CI Factory
\Current\Product\Production\Nant\NAnt.Core\Tasks\CallTask.cs:line 143
   at NAnt.Core.Task.Execute() in c:\Projects\CI Factory\Current
\Product\Production\Nant\NAnt.Core\Task.cs:line 177
   at NAnt.Core.Target.Execute() in c:\Projects\CI Factory\Current
\Product\Production\Nant\NAnt.Core\Target.cs:line 247
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in c:\Projects\CI Factory\Current\Product\Production
\Nant\NAnt.Core\Project.cs:line 897
   at NAnt.Core.Project.Execute() in c:\Projects\CI Factory\Current
\Product\Production\Nant\NAnt.Core\Project.cs:line 849
   at NAnt.Core.Project.Run() in c:\Projects\CI Factory\Current\Product
\Production\Nant\NAnt.Core\Project.cs:line 934

Total time: 162.7 seconds.

</end log>
ps: also links to http://www.cifactory.org/joomla/index.php?option=com_registration&tas...
are not working since yesterday..

Regards,
Shailesh


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Flowers  
View profile
 More options Feb 21, 9:15 am
From: "Jay Flowers" <jay.flow...@gmail.com>
Date: Thu, 21 Feb 2008 09:15:18 -0500
Local: Thurs, Feb 21 2008 9:15 am
Subject: Re: [CI-Factory] CI Factory and Vault 3.5.2

Hi Shailesh,
I think you are working with an old version of CI Factory.  Please try
version 1.0.1:
http://code.google.com/p/ci-factory/downloads/list

The registration link is working for me when I test it.  Please tell me more
about what is happening when you try to register.

Smiles,
Jay

On 2/20/08, rasane <sras...@gmail.com> wrote:

--
Jay Flowers
----------------------------------------------------------------------
http://jayflowers.com
---------------------------------------------------------------------

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rasane  
View profile
 More options Feb 21, 4:46 pm
From: rasane <sras...@gmail.com>
Date: Thu, 21 Feb 2008 13:46:14 -0800 (PST)
Local: Thurs, Feb 21 2008 4:46 pm
Subject: Re: CI Factory and Vault 3.5.2
Hi Jay,

Thanks for your response. I am using 1.0.76 version of CI Factory and
version 3.5.2 of vault client.

I am aware of breaking changes as per your blog:
http://jayflowers.com/WordPress/?cat=8&paged=4 , which makes sense,
since an upgrade of vault server to 4.1 will require a client upgrade
as well.

Is it working for you with vault 3.5.2?

ps: just downloaded from link you gave, will test soon.. It would be
useful if you could clarify the above points...

Regards,
Shailesh


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rasane  
View profile
 More options Feb 21, 5:05 pm
From: rasane <sras...@gmail.com>
Date: Thu, 21 Feb 2008 14:05:45 -0800 (PST)
Local: Thurs, Feb 21 2008 5:05 pm
Subject: Re: CI Factory and Vault 3.5.2
Hi Jay,

About the registration link- it comes up with "IE cannot display this
web page" message. Here is a fiddler log of 2 attempts to the above
link and one attempt at just www.cifactory.org - It appears that the
website is down

GET /joomla/index.php?option=com_registration&task=register HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-ms-application, application/vnd.ms-xpsdocument,
application/xaml+xml, application/x-ms-xbap, application/msword,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/x-
silverlight, application/x-shockwave-flash, */*
Accept-Language: en-us,en-au;q=0.5
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0;
SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR
3.0.04506; .NET CLR 1.1.4322; .NET CLR 3.5.21022)
Host: www.cifactory.org
Proxy-Connection: Keep-Alive

------------------------------------------------------------------
GET /joomla/index.php?option=com_registration&task=register HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-ms-application, application/vnd.ms-xpsdocument,
application/xaml+xml, application/x-ms-xbap, application/msword,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/x-
silverlight, application/x-shockwave-flash, */*
Accept-Language: en-us,en-au;q=0.5
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0;
SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR
3.0.04506; .NET CLR 1.1.4322; .NET CLR 3.5.21022)
Host: www.cifactory.org
Proxy-Connection: Keep-Alive

------------------------------------------------------------------
GET / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-ms-application, application/vnd.ms-xpsdocument,
application/xaml+xml, application/x-ms-xbap, application/msword,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/x-
silverlight, application/x-shockwave-flash, */*
Accept-Language: en-us,en-au;q=0.5
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0;
SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR
3.0.04506; .NET CLR 1.1.4322; .NET CLR 3.5.21022)
Host: www.cifactory.org
Proxy-Connection: Keep-Alive

HTTP/1.1 301 Moved Permanently
Date: Thu, 21 Feb 2008 22:03:03 GMT
Server: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/
1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28
OpenSSL/0.9.7a PHP-CGI/0.4mm
Location: http://cifactory.org/joomla
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

e7
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>301 Moved Permanently</TITLE>
</HEAD><BODY>
<H1>Moved Permanently</H1>
The document has moved <A HREF="http://cifactory.org/joomla">here</
A>.<P>
</BODY></HTML>

0

------------------------------------------------------------------
GET /joomla HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-ms-application, application/vnd.ms-xpsdocument,
application/xaml+xml, application/x-ms-xbap, application/msword,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/x-
silverlight, application/x-shockwave-flash, */*
Accept-Language: en-us,en-au;q=0.5
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0;
SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR
3.0.04506; .NET CLR 1.1.4322; .NET CLR 3.5.21022)
Proxy-Connection: Keep-Alive
Host: cifactory.org

HTTP/1.1 301 Moved Permanently
Date: Thu, 21 Feb 2008 22:03:03 GMT
Server: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/
1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28
OpenSSL/0.9.7a PHP-CGI/0.4mm
Location: http://www.cifactory.org/joomla/
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

ec
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>301 Moved Permanently</TITLE>
</HEAD><BODY>
<H1>Moved Permanently</H1>
The document has moved <A HREF="http://www.cifactory.org/
joomla/">here</A>.<P>
</BODY></HTML>

0

------------------------------------------------------------------
GET /joomla/ HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-ms-application, application/vnd.ms-xpsdocument,
application/xaml+xml, application/x-ms-xbap, application/msword,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/x-
silverlight, application/x-shockwave-flash, */*
Accept-Language: en-us,en-au;q=0.5
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0;
SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR
3.0.04506; .NET CLR 1.1.4322; .NET CLR 3.5.21022)
Proxy-Connection: Keep-Alive
Host: www.cifactory.org

------------------------------------------------------------------
GET /groups/static/g2_email_autocomplete.js HTTP/1.1
Accept: */*
Referer: http://groups.google.com/group/CI-Factory/browse_thread/thread/fe32f9...
Accept-Language: en-us,en-au;q=0.5
UA-CPU: x86
Accept-Encoding: gzip, deflate
If-Modified-Since: Mon, 28 Jan 2008 20:13:21 GMT
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0;
SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR
3.0.04506; .NET CLR 1.1.4322; .NET CLR 3.5.21022)
Host: groups.google.com
Proxy-Connection: Keep-Alive
Cookie: GTZ=-660;
__utma=118165087.1751574607.1201073456.1203558372.1203630068.6;
__utmz=118165087.1203543913.2.2.utmccn=(referral)|
utmcsr=us.mg1.mail.yahoo.com|utmcct=/dc/launch|utmcmd=referral;
GROUPS_SID=DQAAAG0AAAD4we-
avnfkNs4CylmvWJxcDhPvNchl7YgMPmn5nnTxNaciuj_KKoT_y1k9zxduKJkBmgG8d4tldVaUNU ldOLd93zD66Kugi9gLM5gP6YsBSdViXxFP2jALK6aKkn7GRkDWV8jQ-
nYmTGlYvmcDwo5B; __utmb=118165087; __utmc=118165087;
GSC=0s7oWAoAAACxZFh8hifjWMfK2zfz4IG3;
PREF=ID=fc26a904cc093323:TM=1200368338:LM=1200368338:S=UeyW1NTkTNL5gpNB;
NID=7=PmEyEp4wKjvxqeQGIlpmjy0XLvmPTBgm_gBvyIfu8luZSLjTL9Rlv57TBXVpA5ht4mc20 rxLisgjcVXHU9NaNDxb_YauHQb_xzHscwxuxnfX9bKvGkVdzJatayCmKfu2;
SID=DQAAAGwAAADvSSvdTeCC4AGdnJh5edNXUfF6e8jIblaFnIVATKvHTAnq9HVoTAcGb1YXjsT PhAJIpdVe76WLIlk6D1QSx0L1dFga-
mpqyFg2TAQE7uN1sBPK6U1JXRHURWwdCE8EPLFUpT3M2n1RCGX1t4wWRQ9W

HTTP/1.1 304 Not Modified
Content-Type: text/html; charset=UTF-8
Server: GWS-GRFE/0.50
Date: Thu, 21 Feb 2008 22:03:45 GMT

------------------------------------------------------------------


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rasane  
View profile
 More options Feb 21, 6:15 pm
From: rasane <sras...@gmail.com>
Date: Thu, 21 Feb 2008 15:15:28 -0800 (PST)
Local: Thurs, Feb 21 2008 6:15 pm
Subject: Re: CI Factory and Vault 3.5.2
Hi Jay,

Here is the build failure log after running "run.bat". I think the
telling line is "System.Exception: The server uses a protocol that is
not supported by this client. "  ( My Vault client through CI factory
is 4.x and server is 3.5.2)
CI Factory build failure log for 1.0.1.4 -

            Target(s) specified: SourceControl.Repository.Load

            [loadtasks] Scanning assembly "Nant.VaultTasks" for
extensions.

            SourceControl.Repository.Load:

            SourceControl.Repository.Create:

            BUILD FAILED

            INTERNAL ERROR

            System.Exception: The server uses a protocol that is not
supported b
y this client. ---> System.Web.Services.Protocols.SoapException:
1021 : FailServ
iceVersionNotSupported
               at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadRespo
nse(SoapClientMessage message, WebResponse response, Stream
responseStream, Bool
ean asyncCall)
               at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(St
ring methodName, Object[] parameters)
               at
VaultClientNetLib.ClientService.VaultService.ValidateServiceVe
rsions(Int32[] clientSupportedVersions)
               at VaultClientNetLib.VaultConnection.Login(String
strURLBase, Str
ing strUserLogin, String strPassword)
               at VaultClientOperationsLib.ClientInstance.Login(String
urlbase,
String username, String password)
               at
VaultClientIntegrationLib.ServerOperations.Login(AccessLevelTy
pe altCommand, Boolean bAllowAuto, Boolean bSaveSession)
               --- End of inner exception stack trace ---
               at
VaultClientIntegrationLib.ServerOperations.Login(AccessLevelTy
pe altCommand, Boolean bAllowAuto, Boolean bSaveSession)
               at VaultClientIntegrationLib.ServerOperations.Login()
               at
NAnt.Contrib.Tasks.SourceGearVault.VaultTask.CheckLoggedIn()
               at
NAnt.Contrib.Tasks.SourceGearVault.vaultaddrepository.ExecuteT
ask()
               at NAnt.Core.Task.Execute() in c:\Projects\CI Factory
\1.0\Product
\Production\Nant\NAnt.Core\Task.cs:line 177
               at NAnt.Core.Target.Execute() in c:\Projects\CI Factory
\1.0\Produ
ct\Production\Nant\NAnt.Core\Target.cs:line 247
               at NAnt.Core.Project.Execute(String targetName, Boolean
forceDepe
ndencies) in c:\Projects\CI Factory\1.0\Product\Production\Nant
\NAnt.Core\Projec
t.cs:line 897
               at NAnt.Core.Tasks.CallTask.ExecuteTask() in c:\Projects
\CI Facto
ry\1.0\Product\Production\Nant\NAnt.Core\Tasks\CallTask.cs:line 143
               at NAnt.Core.Task.Execute() in c:\Projects\CI Factory
\1.0\Product
\Production\Nant\NAnt.Core\Task.cs:line 177
               at NAnt.Core.Target.Execute() in c:\Projects\CI Factory
\1.0\Produ
ct\Production\Nant\NAnt.Core\Target.cs:line 247
               at NAnt.Core.Project.Execute(String targetName, Boolean
forceDepe
ndencies) in c:\Projects\CI Factory\1.0\Product\Production\Nant
\NAnt.Core\Projec
t.cs:line 897
               at NAnt.Core.Project.Execute() in c:\Projects\CI Factory
\1.0\Prod
uct\Production\Nant\NAnt.Core\Project.cs:line 849
               at NAnt.Core.Project.Run() in c:\Projects\CI Factory
\1.0\Product\
Production\Nant\NAnt.Core\Project.cs:line 934

            Please send bug report to ci-factory@googlegroups.com.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sbohlen  
View profile
 More options Feb 21, 6:33 pm
From: sbohlen <sboh...@gmail.com>
Date: Thu, 21 Feb 2008 15:33:33 -0800 (PST)
Local: Thurs, Feb 21 2008 6:33 pm
Subject: Re: CI Factory and Vault 3.5.2
rasane:

This exception you are reporting (System.Exception: The server uses a
protocol that is not supported by this client.) is what the VAULT
client reports if/when you have a mismatch between the vault client
version and the vault server version.  You can confirm this by
searching for this msg on the SourceGear forums @ http://support.sourcegear.com

There is a complication that is introduced by the mismatch between
your vault client and your vault server that is perhaps not terribly
obvious: the VAULT tasks in CIFactory are dependent on more than just
the VAULT client installed on your CIFactory server -- they are also
dependent on the 'matching' version of the NANT task dll for VAULT.

The Vault client itself is (supposed to be) able to down-grade itself
(i.e., a later Vault client version is supposed to be able to
communicate with a prior-version Vault server) just fine but I know
for certain that I have never tested to know if the same is true of
the Vault NAnt task library that ships w the Vault client (and is also
actually shipped with the CIFactory install).

When I first started CIFactory with Vault (this was probably about
0.8.xxx or so of CIFactory) I too had this issue (same error message)
with the CIFactory Vault-repositoty interaction.  I eventually solved
it by matching the VAULT nant task dll in CIFactory (which is what the
CIFactory package is using) to the version of my Vault client --
EXACTLY--.  A point-release mis-match (e.g. betw 3.5.1 and 3.5.2) was
enough to rasie this exception.

To isolate this issue, my recommendation is that you write a quick
NAnt script that just tries something simple with the Vault NAnt task
library (there are examples of simple tasks on the sourcegear website)
to ensure that all works OUTSIDE of CIFactory.  This will help you
better determine which pieces-parts needs to be what vsersion(s) to
make everything work properly.

I'm assuming that if you are sticking with 3.5.2 on your Vault server
its because you decided not to upd to 4.x for financial reasons, but I
would strongly recommend you reconsider that choice (and no, I don't
work for or have sourcegear stock) -- the whole CIFactory package for
VAULT makes a broad assumption that everything (vault client, vault
server, and vault nant task library) are all the same version.  You
MAY be able to get this to work with all differing versions of these
parts, but its frankly an 'unsupported' (or at least untested <g>)
configuration.

Hope this helps and let me know if yoy need further assistance.

-Steve B.
(partial) contributor of the current Vault pkg for CIFactory

On Feb 21, 6:15 pm, rasane <sras...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rasane  
View profile
 More options Feb 21, 11:07 pm
From: rasane <sras...@gmail.com>
Date: Thu, 21 Feb 2008 20:07:50 -0800 (PST)
Local: Thurs, Feb 21 2008 11:07 pm
Subject: Re: CI Factory and Vault 3.5.2
Hi Steve,

Thankyou for that response.

I had never used nant before this morning and did not know of the
existence of nant package from Vault until now.
So I got the Nant package for Vault 3.5.2 (http://
download.sourcegear.com/Vault/4.0.2.15802/
VaultClientAPI_4_0_2_15802.zip from http://www.sourcegear.com/vault/downloads2.html)
and played around it today. So I could get some sample scripts going
with respect to connecting with my repository.

Then I got a little ambitious and replaced the contents C:\Tools\CI
Factory\Packages\Vault\bin directory with the 3.5.2 version of nant
dlls from vault.

This ended up with the following error:
=========begin build log=============
CleanExtraXmlNs:

  [xmlpeek] Peeking at 'c:\Projects\Quicksilver\Current\Build
\Main.build.xml' wi
th XPath expression '/n:project/n:target[@name = 'Triggered']/
n:trycatch/n:try/*
|/n:project/n:target[@name = 'Triggered']/n:trycatch/n:try/comment()'.
  [xmlpoke] Found '1' nodes matching XPath expression '/n:project/
n:target[@name
 = 'Triggered']/n:trycatch/n:try'.
     [nant] c:\Projects\Quicksilver\Current\Build\Packages\Vault
\SourceControl.T
arget.xml SourceControl.Repository.Load
            Buildfile: file:///c:/Projects/Quicksilver/Current/Build/Packages/Va
ult/SourceControl.Target.xml
            Target framework: Microsoft .NET Framework 2.0
            Target(s) specified: SourceControl.Repository.Load

            [loadtasks] Scanning assembly "NAnt.VaultTasks" for
extensions.

            SourceControl.Repository.Load:

            SourceControl.Repository.Create:

            BUILD FAILED

            c:\Projects\Quicksilver\Current\Build\Packages\Vault
\SourceControl.T
arget.xml(137,6):
            Invalid element <vaultsetloginoptions>. Unknown task or
datatype.

            Total time: 0.1 seconds.

BUILD FAILED

======end build log========
That seems to make sense, since vault 3.5.2 does not have that task in
its namespace.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sbohlen  
View profile
 More options Feb 22, 7:27 am
From: sbohlen <sboh...@gmail.com>
Date: Fri, 22 Feb 2008 04:27:33 -0800 (PST)
Local: Fri, Feb 22 2008 7:27 am
Subject: Re: CI Factory and Vault 3.5.2
Yes, as you have discovered, its a bit more tricky than just replacing
the DLL :)

The VAULT Nant task library API made several changes between 3.5.x and
4.x and you have indeed bumped into one of the API calls that was
added in the 4.x task library but isn't present in the 3.x version.
The package that is in CIFactory only explicitly supports VAULT 4.x.
This was a sort of a 'design decision' on the part of the few of us
that contributed this package and participated in its refinement --
since we were all using Vault 4.x, doing this made perfect sense for
*us* tho as you point out this has left Vault 3.x users 'designed-out'
of adopting CIFactory without some more work on their end.

Since there are actual *behavior* differences (via the API changes)
between these versions, its more complex to change the Vault Package
to support Vault 3.x users than it might first appear; for CIFactory
to work with a source code provider, there are a (relatively) large
number of behaviors that a SCC package needs to provide and any mods
to the SCC package need to still provide these 'hooks' so that the
rest of CIFactory can properly interact with the SCC package to get it
to do its work.

You will definitely find that you need to mod the scripts for the
Vault package in addition to replacing the DLL to go 'back' to
v3.5.x.  I might recommend:
* go back and download the last beta version that supported Vault
3.5.x (seems to me this was like CIFactory 0.65 or so but I may be
wrong)
* diff the vault package scripts from that version with those of the
latest vault package that supports Vault 4.x

Splice the vault tasks from the CIFactory 0.65 into the scripts for
the current version; the current vault package has the right 'surface
area' that any SCC provider package needs in order to work properly
with the latest CIFactory release but the prior vault tasks scripts
contains the 'proper' commands to interact with the 3.5.x versions of
vault so some combination of these two blended together *should* be
able to work.

I know this is less than ideal as an approach, but its the one that it
seems to me is most likely to result in success for you.

Sorry~!

BTW, if you do get this to work maybe send the package back to Jay so
he can incl. it as an optional external download (a drop-and-replace
set of files that can supplant the distributed Vault package already
in CIFactory with a version that supports Vault 3.3.x).

Hope this helps some,

-Steve B.

On Feb 21, 11:07 pm, rasane <sras...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rasane  
View profile
 More options Feb 27, 7:58 pm
From: rasane <sras...@gmail.com>
Date: Wed, 27 Feb 2008 16:58:40 -0800 (PST)