Flex with Visual SourceSafe how-to
Posted by Dennis on Mar 27, 2007 in Flex • 19 commentsUnfortunately, Flex Builder doesn’t come with Microsoft Visual SourceSafe support. Since I need to work with SourceSafe I had to come up with a solution, other than manually checking out files in the SourceSafe IDE. I found out that the solution is quite simple. The first thing to note is that we cannot use Flex Builder for this. Eclipse is needed with the Flex Builder 2 Eclipse plug-in. In order to get this working, you need to download the following software:
After downloading, install the software:
- Unzip the Eclipse zip file to a directory (for instance “c:/program files/eclipse/”, there’s no need to run an installer for Eclipse)
- Run the flex plug-in installer and follow the directions
- Unzip the Visual SourceSafe Eclipse plug-in files to [Eclipse directory]/plugins
Now you should be ready to go:
- Right click on a Flex project, go to Team > Share Project:

- Go through the wizard and connect to your Visual SourceSafe server
- If all is correct, you should be presented with the following submenu:





Dear sir:
I have follow the instruction but I don’t know how to set up the share project.
can you show me what is the value to set in the Share Project form such as
Host, Repository Path, User, Password, Connection Type and port ?
Regards,
Pang
Hey Pang,
Those are very specific settings and depend on which project you work on. Ask your network administrator for more info!
Dennis
Hi,
Thank you for the ideas. I successfully installed it and extracted the files, can you give me more ideas or overviews about the creating new repository location when you share the project?
Romeo
Hi,
Thank you for the ideas. I successfully installed it and extracted the files, can you give me more ideas or overviews about the creating new repository location when you share the project?
Romeo
Hi,
Thank you again for the topic. Can you help me with these errors?
Unable to find any valid VSS installtion.
Are you sure that the VSS installation is not currupt?
This error appear when I Share the Project through VSS..
Thank you for your help.
Romeo
Hi Romeo,
Sorry for the late reply, all my comment e-mails disappeared into my spam folder.
Have you tried restarting eclipse when you got these errors?
Dennis
Hey…just wanted to point out…that I could not get the Flex Builder 2 Eclipse Plug in to install with the new version of Eclipse (3.3). I had to download 3.2 and that worked just fine.
How does one install the flex plug-in installer? Do you install it from Eclipse or from Flex?
Romeo,
It would appear for a build of Eclipse 3.2 using the VSS plugin version 1.6.1, you will need to register the ssapi.dll file which exists in the win32 folder of your VSS installation.
1) open a command window (Start > Run > ‘cmd’)
2) ‘cd’ to your win32 folder in your VSS directory (mine is C:\Program Files\Microsoft Visual Studio\VSS\win32)
3) type ‘regsvr32 ssapi.dll’
You should be okay from there.
Hi Chima,
I am a programer of china, have the same question as Romeo’s. And google the answer long time . Finally I found out your answer and try it successfully, that is my want! thank you
Hi,
I tried to setup Flex with VSS as instructed in the article. But i am facing some problem. The error i am getting when i try to start Flex Builder Eclipse Launcher is “An Error has occurred activating decorator VSS Plugin Team Decorator” builder starts even after that error. Then when i try to share project using VSS Configuration Wizard and setting up everything it doesn’t bind the project with VSS.
Please suggest something. what can be wrong.
I am using Flex Builder plugin version 3 beta 2. With Eclipse sdk version 3.2.1 and VSS Plugin version 1..6.2
Thanks,
Vivek Lakhanpal.
Hi Vivek,
I’ve never heard of this error before. Try downloading the latest Eclipse SDK (3.3.0). This is what I use myself:
- Eclipse SDK 3.3.0
- VSS plugin 1.6.2
- Flex Builder plugin v3 beta 2
Let me know if that helps!
Dennis
Thanks Dennis. My problem is solved.
I have installed latest version of Eclipse i.e. 3.3.1, Flex Builder pulugin V3 beta2 and VSS plugin 1.6.2.
It’s working fine now.
Thanks again,
Vivek Lakhanpal.
Dennis,
Even I am also getting the same error “Error has occurred activating decorator VSS plugin Team decorator”
I am using Eclipse 3.1.2. Is this is the problem with the verion of Eclipse or anything else.
Can you pls calarify me on hhits.
Thanks in advance
Sharad.
Hello,
I have installed the VSS plugin in Eclipse SDK Version: 3.3.1.
I have tried with plugin versions 1.6.2 and 1.6.1 and when y try to configure the database settings, I get this error:
8000ffff: Unable to find property or method with name [Open] on org.vssplugin.core.ole.OleAutomation@1403290
The root to my srcsafe.ini and my user and passwd are ok, because I can connect via Microsoft VSS. I don´t Know what does it matter.
Can anybody help me, please?
do we need to have a typical location for this to install?
An error has occurred activating decorator VSS Plugin Team Decorator Facing this problem can any body help me.
You can use the VSS plugin with Flex Builder standalone if you download the ‘Eclipse Java Development Tools’ plugin. It is the same solution needed to get Ant to run, but it also fixes the VSS plugin. See: http://www.peterelst.com/blog/2006/09/03/flex-builder-2-ant-support/
Chima,
Wanted to thank you for telling the steps:
1) open a command window (Start > Run > ‘cmd’)
2) ‘cd’ to your win32 folder in your VSS directory
3) type ‘regsvr32 ssapi.dll’
These are magic steps. I went crazy to figure this out but could not find it anywhere.
thanks again.