Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking out a class library through VSS
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00232931
Message ID:
00233058
Views:
30
Hi Paul,

You can use one of the following:

1. Open 2 instances of the Class Browser with the development library in one and the app library in the other and you can drag and drop from one to the other.

2. Use the following: ADD CLASS ClassName [OF ClassLibraryName1] TO ClassLibraryName2 [OVERWRITE]
(i.e. ADD CLASS myNewClass OF DevelopmentLibrary TO AppLibrary)



>Hi Colin,
>
>Thanks for the response...I'm with you on not wanting to try it.
>
>Sorry for this stupid question but, When it is decided to add this lass to the library I'm not sure how to do this.
>
>I'm assuming each developer can have their own development class library to check out and work on classes. Then is there a way to remove the class from their "development" library and add it to the "app" library? The only thing I can figure is I can add a class to the "app" library only by subclassing from the "development" library. Am I missing something?
>
>Thanks,
>Paul
>
>>Theoretically, yes. Actually, I'm not sure. The following is from VSS 6 help:
>>
>>Allow Multiple Check Outs
>>Controls whether many people can check out one file simultaneously. Under ordinary circumstances, only one person can have a file checked out of VSS at one time. If you select this box, however, VSS allows many people to check out the same file. When the first user checks in the file, VSS updates the file; thereafter, VSS merges in all subsequent changes.
>>
>>So, theoretically, you can have both developers check out the class library, work on their respective classes and then check in and VSS will merge the versions. I can't say how well this works because I haven't been willing to risk trying it
>>
>>This said you might try a different approach. Our team develops new classes outside of the master class libraries. When ready the class is presented to the team for testing and evaluation. Once accepted the appropriate class library is checked out, the class added to it and then checked back in.
>>
>>HTH
>>
>>>I have a class library under VSS control. How can I handle the situation where I have 2 developers that both want to work on separate classes that exist in the same library? Can this be done?
>>>
>>>Thanks,
>>>Paul
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform