Automation problem with "connect to server" dialo

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

Moderator: SourceGear

Post Reply
impact79
Posts: 6
Joined: Thu Jun 21, 2007 6:23 am

Automation problem with "connect to server" dialo

Post by impact79 » Tue Jul 24, 2007 6:43 am

Hello,

I have to automate EnterpriseArchitect, an UML case tool that can be configured to use SourceGear Vault as version control software. Unfortunately, the vault always pops up the "connect to server" dialog when the EnterpriseArchitect project loads, irreversibly stopping my automated process.

Is there a way to suppress this dialog, forcing the vault to connect automatically ?

Here is what I already tried:
- Defined a profile and selected it. Unfortunately, the dialog forgets the selection the next time.
- Searched the registry for appropriate entries, but didn´t find anything suitable.
- I found a "connect using this profile" checkbox when starting the vault client manually. But somehow this checkbox is not available when loading the Enterprise Architect project file.

My company is using vault client version 3.5.0 (4741).

Any idea ?

Best regards,
H.Seitz

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

Post by jclausius » Tue Jul 24, 2007 7:45 am

Who wrote the integration piece to EnterpriseArchitecht? Do you know what calls are made to connect to Vault? Is it possible EnterpriseArchitecht uses MS Source Code Control API (MSSCCI)?
Jeff Clausius
SourceGear

impact79
Posts: 6
Joined: Thu Jun 21, 2007 6:23 am

Post by impact79 » Tue Jul 24, 2007 7:58 am

Here is a snapshot of the EA version control settings dialog

Image

It seems that EA is connecting to the server in "SCC" style.

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

Post by jclausius » Tue Jul 24, 2007 8:19 am

The MSSCCI Vault client will look for a MSSCCPRJ.SCC. This is generated from calls made by Visual Studio and Visual Basic IDEs. If EA is not making these calls or you do not have these files present, that would explain the behavior.
Jeff Clausius
SourceGear

impact79
Posts: 6
Joined: Thu Jun 21, 2007 6:23 am

Post by impact79 » Tue Jul 24, 2007 8:48 am

Just checked it. No MSSCCPRJ.SCC is available.

But, EA just checks in .xmi files which are not organized in something similar to a solution or project. So i am not sure if this file is needed.

The strange thing is:
This problem only occurs on our productive system which is running on a virtual machine. The dialog is not popping up on the development system. Thats why i suspect a configuration problem.

Another note: The dev system has the vault server installed locally.

impact79
Posts: 6
Joined: Thu Jun 21, 2007 6:23 am

Post by impact79 » Tue Jul 24, 2007 9:20 am

Maybe i have to clearify: Version control with EA and the vault works fine ! It´s only that dialog i want to get rid off....

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

Post by jclausius » Tue Jul 24, 2007 12:41 pm

I understand. Let me re-phrase my post.

The Vault IDE client is looking for a MSSCCPRJ.SCC file for profile information. With the login and server info the IDE client can bypass the dialog you mention. Without that specific file, Vault does not have enough information to pass along to the server, so the dialog is presented to collect the connection information.
Jeff Clausius
SourceGear

impact79
Posts: 6
Joined: Thu Jun 21, 2007 6:23 am

Post by impact79 » Tue Jul 24, 2007 4:26 pm

Ok. Can i create this file myself ?

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

Post by jclausius » Wed Jul 25, 2007 7:12 am

You might be able to, but I don't have an example of the format. Unfortunately, your going to have do some research to find that out.

You could create a sample Visual Studio project in a dummy repository. I believe adding the solution/project to source control from within Visual Studio will create the files. If they are not there, get the solution / project into source and then do an "Open from Source Control" from within Visual Studio. Once you have the files, you'll have to take a look at the contents to see how the file is constructed.

Good Luck.
Jeff Clausius
SourceGear

Post Reply