Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get files from a project that is on source control provider (VSS) 2

Status
Not open for further replies.

Paco75

Programmer
Oct 11, 2001
239
US
Hi,

I have a project that is in VSS but not on my local computer. I want to "Get" the files. I can do it using VSS but i dont get the icons in VFP... how can i do this in VFP?

thanks
 
I don't get the icons in VFP"

Sorry, you've got to explain that, we're not in your brain.

In reagard of source control and VFP, you can use VSS, you can use CVS or SubVersion, Team Foundation Server, Perforce, Git, wheteve for all of which you'll find experiential reports and suggestions:



Ok, I'll stop here, I think you have a detail problem, but again, we're not in your mind, you've got to get us at your topic.

So: Where do you expect to see what icons?

Bye, Olaf.
 
Yeah sorry i was a little short on description.

Im testing Visual Source Safe to use it as CVS for our projects. When i create a project i can do on the menu File->Join Source Control Project and then the project is added in Visual Source Safe.

I can see that visual source safe is correctly implemented on the PC i created the project because i can see the littles icons on projects files in the project manager, and the check in/check out are in menus when i right click on projects files in the project manager.

If i go on the pc of one of my collegues (who does not have the project i just created on his PC) i can't "import" the project from Visual Source Safe to his PC... in clear words i want to bring the projects files into the VSS working folder from Foxpro interface to be able to check-in/check-out from VFP interface.

If i go directly into VSS i can do a "Get Latest Version" but then VSS is not correctly implemented and no check-ins/check-out can be done from VFP.
 
I can't help you with VSS, as I don't have that at hand.
But the essential initial configuration on every machine using VFP is to go into options and it's menu tab, in the section framed with a caption "Source Control options".

This first thig to choose is the Active source coontrol provider. If there is none to choose from in the combobox list, then VSS is not installed on that PC and that would need to be done first.

And the general term is Source Code Control, abreviated SCC, not CVS, CVS is just a famous other SCC provider.

Maybe that's all you're missing, and afterwards you can check out a project from VSs, or open the pjx and find it connected to VSS.

Bye, Olaf.
 
Microsoft Visual Source Safe is already selected in the Options->Source Control Options->Active Source Control Provider.
 
Without VSS I can't help you any further, sorry.

But doesn't help? From the figure 1 alone I deduct you need to create a central PJM file (or VSS does that) and a second workstation will attach to it and derive it's local PJM and pjx (and all the other project files) from it.

And the essential introductory step for secondary workstations is the menu item "Join Source Control Project" from their file menu.

Bye, Olaf.
 
Ok thanks Olaf.

In case i dont stay with VSS do you have a free SCC software to reccomend? One that works well with VFP, easy to use and configure.

 
Read the first comment of Olaf Paco and you will get your answer.
 
Paco,

Whichever source control system you use, I suspect you will have the same problem.

The link between a VFP project and a given SCS provider is stored locally, on the computer in which the your copy of VFP is installed. It's not stored within the project files themselves. So another user can't see that link simply by opening the project.

If I've misunderstood the situation, my apologies.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips, training, consultancy
 
If i go on the pc of one of my collegues (who does not have the project i just created on his PC) i can't "import" the project from Visual Source Safe to his PC...

When working with VSS, you **NEVER** manually crate project files.

Instead, you "Join" the source control project which creates the project and retrieves local copies of all files.
 
Did I discourage you? I only said I can't help you with reproducing and trying, but you can still try, can't you? Like Dan I pointed you towards the "Join" menu item in the File menu of VFP: "Join Source Control Project"

Bye, Olaf.
 
I've started using Mercurial for several projects, and while there are times it confounds me, I'm reasonably happy.

Tamar
 
I managed to make it working. The links Olaf gave were useful, some are old but it is pretty much the same in VSS 2005.

It was not working in my case because of some network issues and some misunderstanding of VSS architecture. So here is a link to a VSS tutorial explaining how VSS works :


Here is a document from Microsoft KB that gives the procedure to use it with VFP :


Hope it helps if anyone want to integrate Visual Source Safe in Visual Foxpro IDE.
 
Thanks, Paco

That's valuable feedback. I thought VSS6 was the end version, but you're right, there also is VSS 2005 Server.

The proposed successor of the system is Team Foundation Server. There is a german webcast about using VFP with TFS here:
Maybe of little value here, but I know there are some german visitors here, too, sometimes.

I also know someone useing Git.

No matter what you use with VFP, pay attention, as the most file tpyes are not plain text, but binary, eg VCX, SCX, FRX, etc.

Theres scctext for still being able to commit those files as ascii, and there is an alternate better version:
This is valueable no matter what SCC tool you use.

Also Christof Wollenhaupt has written a tool you can use as add-on and in between version control and VFP: TwoFox.

Christof said:
I wrote a tool named TwoFox, because in practice it's impossible to deal with binary VCXes. TwoFox consists of two components: GenXML and GenCode. GenXML takes a VFP project and produces XML files for all binary files. GenCode reverts these XML files into code files. Unlike the SCCText.prg tool that is used in conjunction with Visual SourceSafe, TwoFox is a true two-way tool.

You can find that here:
As said it's universally usable, but Christof also uses it with CVS and/or Subversion: (This also is where the quote is from)

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top