(Msg. 1) Posted: Wed Jul 02, 2008 9:33 am
Post subject: VSS 6.0 and delphi 5 Archived from groups: microsoft>public>visual>sourcesafe (more info?)
Hi,
My company has never used source control before (too few people).
Now that we are getting bigger we've purchased vss 6.0 (we got it a
low price in case we decided it wasn't right for us-getting the latest
version (2005) didn't seem cost effective since we aren't using .net).
I did some of my first experiments yesterday and found that you
can't put everything into source control with delphi 5. There are dcu
(delphi compiled units) files that get updated on a compile and, of
course, the exe files. If these are inlcuded in source control by
including them in an "Add Files" in sourcesafe, they then have to be
checked out before compilation. For large delphi projects, which may
contain a number of these units, this can be a pain.
I've looked at selective uploading and the "masks" offered are not
helpful (they are for MS products). I tried to find a way to exclude
certain file types that I didn't want under source control (e.g. the
backup files generated when editing, the dcu and exe files) but
couldn't find anything that would allow me to exclude files. I also
couldn't find anything about automating the "Add Files" process to
programatically exclude the files I don't want.
Since I'll only be doing the Add files once or twice, it isn't a
big deal. However, considering how much source code we have, doing the
Add Files by hand and choosing the files I want in the dialog box
would be next to impossible. Likewise uploading everything and then
deleteing the ones I don't want would be error-prone.
Is there any way I can selectively add files to a vss 6.0 project.
Any help would be appreciated.
(Msg. 2) Posted: Wed Jul 02, 2008 9:03 pm
Post subject: Re: VSS 6.0 and delphi 5 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
"fig000" <neilnewton001.DeleteThis@yahoo.com> wrote in message
news:85828e92-461d-42b7-aaf3-42036ce576e5@79g2000hsk.googlegroups.com...
> Hi,
>
> My company has never used source control before (too few people).
> Now that we are getting bigger we've purchased vss 6.0 (we got it a
> low price in case we decided it wasn't right for us-getting the latest
> version (2005) didn't seem cost effective since we aren't using .net).
>
> I did some of my first experiments yesterday and found that you
> can't put everything into source control with delphi 5. There are dcu
> (delphi compiled units) files that get updated on a compile and, of
> course, the exe files. If these are inlcuded in source control by
> including them in an "Add Files" in sourcesafe, they then have to be
> checked out before compilation. For large delphi projects, which may
> contain a number of these units, this can be a pain.
>
> I've looked at selective uploading and the "masks" offered are not
> helpful (they are for MS products). I tried to find a way to exclude
> certain file types that I didn't want under source control (e.g. the
> backup files generated when editing, the dcu and exe files) but
> couldn't find anything that would allow me to exclude files. I also
> couldn't find anything about automating the "Add Files" process to
> programatically exclude the files I don't want.
>
> Since I'll only be doing the Add files once or twice, it isn't a
> big deal. However, considering how much source code we have, doing the
> Add Files by hand and choosing the files I want in the dialog box
> would be next to impossible. Likewise uploading everything and then
> deleteing the ones I don't want would be error-prone.
>
> Is there any way I can selectively add files to a vss 6.0 project.
> Any help would be appreciated.
>
> Thanks,
> Fig000
You can define your own masks with the Administration tool. Select Tools,
Options, File Types tab, then use the new option to filter Add Files.
Alternatively, if you have large projects with sub-directories, the command
line can be used. Your SS.INI file has a Relevant_Masks variable that can
be set to the file extensions you want to add when performing a recursive
directory add ("sis add <directory> -R"). The help file that comes with VSS
explains how to run VSS from the command line and each of its options. If
you have trouble with that post again.
(Msg. 3) Posted: Wed Jul 02, 2008 9:04 pm
Post subject: Re: VSS 6.0 and delphi 5 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
"Mark Tolonen" <M8R-yfto6h RemoveThis @mailinator.com> wrote in message
news:t7qdnZJTApXr0vHVnZ2dnUVZ_o6dnZ2d@comcast.com...
>
> "fig000" <neilnewton001 RemoveThis @yahoo.com> wrote in message
> news:85828e92-461d-42b7-aaf3-42036ce576e5@79g2000hsk.googlegroups.com...
>> Hi,
>>
>> My company has never used source control before (too few people).
>> Now that we are getting bigger we've purchased vss 6.0 (we got it a
>> low price in case we decided it wasn't right for us-getting the latest
>> version (2005) didn't seem cost effective since we aren't using .net).
>>
>> I did some of my first experiments yesterday and found that you
>> can't put everything into source control with delphi 5. There are dcu
>> (delphi compiled units) files that get updated on a compile and, of
>> course, the exe files. If these are inlcuded in source control by
>> including them in an "Add Files" in sourcesafe, they then have to be
>> checked out before compilation. For large delphi projects, which may
>> contain a number of these units, this can be a pain.
>>
>> I've looked at selective uploading and the "masks" offered are not
>> helpful (they are for MS products). I tried to find a way to exclude
>> certain file types that I didn't want under source control (e.g. the
>> backup files generated when editing, the dcu and exe files) but
>> couldn't find anything that would allow me to exclude files. I also
>> couldn't find anything about automating the "Add Files" process to
>> programatically exclude the files I don't want.
>>
>> Since I'll only be doing the Add files once or twice, it isn't a
>> big deal. However, considering how much source code we have, doing the
>> Add Files by hand and choosing the files I want in the dialog box
>> would be next to impossible. Likewise uploading everything and then
>> deleteing the ones I don't want would be error-prone.
>>
>> Is there any way I can selectively add files to a vss 6.0 project.
>> Any help would be appreciated.
>>
>> Thanks,
>> Fig000
>
> You can define your own masks with the Administration tool. Select Tools,
> Options, File Types tab, then use the new option to filter Add Files.
>
> Alternatively, if you have large projects with sub-directories, the
> command line can be used. Your SS.INI file has a Relevant_Masks variable
> that can be set to the file extensions you want to add when performing a
> recursive directory add ("sis add <directory> -R"). The help file that
> comes with VSS explains how to run VSS from the command line and each of
> its options. If you have trouble with that post again.
>
> -Mark
Oops, typo above, should be "ss add <directory> -R"
(Msg. 4) Posted: Thu Jul 03, 2008 7:16 am
Post subject: Re: VSS 6.0 and delphi 5 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Mark,
Thanks so much! That did it. It was easy once you told me how. It's
odd how you can spend an hour searching the web and not find
something that's not obscure. Thanks again.
If you don't mind (and yes I've done a lot of web searching for
this ) I noticed that if I add a file or files to a directory under
source control they don't automatically end up under source control; I
have to add them in manually. This was not true with .net but delphi 5
doesn't integrate with vss so I can understand why this might be true.
Is there a swtich I can set to make sure that any file added to a
local directory that has files undersource control will automoatically
be put under source control once they are saved? I have a feeling the
answer is no and this little glitch certainly isn't a deal break in
terms of using VSS. It would be convenient and prevent errors in terms
of preventing other developers from getting access to new files if
they do a "get latest".
Thanks again for your prompt answer. You have saved me a lot of time.
Fig000
On Jul 3, 12:04 am, "Mark Tolonen" <M8R-yft....RemoveThis@mailinator.com> wrote:
> "Mark Tolonen" <M8R-yft....RemoveThis@mailinator.com> wrote in message
>
> news:t7qdnZJTApXr0vHVnZ2dnUVZ_o6dnZ2d@comcast.com...
>
>
>
>
>
>
>
> > "fig000" <neilnewton....RemoveThis@yahoo.com> wrote in message
> >news:85828e92-461d-42b7-aaf3-42036ce576e5@79g2000hsk.googlegroups.com...
> >> Hi,
>
> >> My company has never used source control before (too few people).
> >> Now that we are getting bigger we've purchased vss 6.0 (we got it a
> >> low price in case we decided it wasn't right for us-getting the latest
> >> version (2005) didn't seem cost effective since we aren't using .net).
>
> >> I did some of my first experiments yesterday and found that you
> >> can't put everything into source control with delphi 5. There are dcu
> >> (delphi compiled units) files that get updated on a compile and, of
> >> course, the exe files. If these are inlcuded in source control by
> >> including them in an "Add Files" in sourcesafe, they then have to be
> >> checked out before compilation. For large delphi projects, which may
> >> contain a number of these units, this can be a pain.
>
> >> I've looked at selective uploading and the "masks" offered are not
> >> helpful (they are for MS products). I tried to find a way to exclude
> >> certain file types that I didn't want under source control (e.g. the
> >> backup files generated when editing, the dcu and exe files) but
> >> couldn't find anything that would allow me to exclude files. I also
> >> couldn't find anything about automating the "Add Files" process to
> >> programatically exclude the files I don't want.
>
> >> Since I'll only be doing the Add files once or twice, it isn't a
> >> big deal. However, considering how much source code we have, doing the
> >> Add Files by hand and choosing the files I want in the dialog box
> >> would be next to impossible. Likewise uploading everything and then
> >> deleteing the ones I don't want would be error-prone.
>
> >> Is there any way I can selectively add files to a vss 6.0 project.
> >> Any help would be appreciated.
>
> >> Thanks,
> >> Fig000
>
> > You can define your own masks with the Administration tool. Select Tools,
> > Options, File Types tab, then use the new option to filter Add Files.
>
> > Alternatively, if you have large projects with sub-directories, the
> > command line can be used. Your SS.INI file has a Relevant_Masks variable
> > that can be set to the file extensions you want to add when performing a
> > recursive directory add ("sis add <directory> -R"). The help file that
> > comes with VSS explains how to run VSS from the command line and each of
> > its options. If you have trouble with that post again.
>
> > -Mark
>
> Oops, typo above, should be "ss add <directory> -R"- Hide quoted text -
>
> - Show quoted text -
(Msg. 5) Posted: Thu Jul 03, 2008 7:21 am
Post subject: Re: VSS 6.0 and delphi 5 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Hi Mark,
After looking at some other posts I realized I should have made sure
to point out that I did have to check out all the project files before
I could add new delphi files (units made of a form file and code
file). I checked the project files back in after I saved the new unit
files but the new files didn't automatically become part of source
control.
Sorry for the omission. I felt that this was important in
understanding my problem.
Thanks,
Fig000
On Jul 3, 10:16 am, fig000 <neilnewton....RemoveThis@yahoo.com> wrote:
> Mark,
>
> Thanks so much! That did it. It was easy once you told me how. It's
> odd how you can spend an hour searching the web and not find
> something that's not obscure. Thanks again.
>
> If you don't mind (and yes I've done a lot of web searching for
> this ) I noticed that if I add a file or files to a directory under
> source control they don't automatically end up under source control; I
> have to add them in manually. This was not true with .net but delphi 5
> doesn't integrate with vss so I can understand why this might be true.
> Is there a swtich I can set to make sure that any file added to a
> local directory that has files undersource control will automoatically
> be put under source control once they are saved? I have a feeling the
> answer is no and this little glitch certainly isn't a deal break in
> terms of using VSS. It would be convenient and prevent errors in terms
> of preventing other developers from getting access to new files if
> they do a "get latest".
>
> Thanks again for your prompt answer. You have saved me a lot of time.
>
> Fig000
>
> On Jul 3, 12:04 am, "Mark Tolonen" <M8R-yft....RemoveThis@mailinator.com> wrote:
>
>
>
> > "Mark Tolonen" <M8R-yft....RemoveThis@mailinator.com> wrote in message
>
> >news:t7qdnZJTApXr0vHVnZ2dnUVZ_o6dnZ2d@comcast.com...
>
> > > "fig000" <neilnewton....RemoveThis@yahoo.com> wrote in message
> > >news:85828e92-461d-42b7-aaf3-42036ce576e5@79g2000hsk.googlegroups.com....
> > >> Hi,
>
> > >> My company has never used source control before (too few people)..
> > >> Now that we are getting bigger we've purchased vss 6.0 (we got it a
> > >> low price in case we decided it wasn't right for us-getting the latest
> > >> version (2005) didn't seem cost effective since we aren't using .net).
>
> > >> I did some of my first experiments yesterday and found that you
> > >> can't put everything into source control with delphi 5. There are dcu
> > >> (delphi compiled units) files that get updated on a compile and, of
> > >> course, the exe files. If these are inlcuded in source control by
> > >> including them in an "Add Files" in sourcesafe, they then have to be
> > >> checked out before compilation. For large delphi projects, which may
> > >> contain a number of these units, this can be a pain.
>
> > >> I've looked at selective uploading and the "masks" offered are not
> > >> helpful (they are for MS products). I tried to find a way to exclude
> > >> certain file types that I didn't want under source control (e.g. the
> > >> backup files generated when editing, the dcu and exe files) but
> > >> couldn't find anything that would allow me to exclude files. I also
> > >> couldn't find anything about automating the "Add Files" process to
> > >> programatically exclude the files I don't want.
>
> > >> Since I'll only be doing the Add files once or twice, it isn't a
> > >> big deal. However, considering how much source code we have, doing the
> > >> Add Files by hand and choosing the files I want in the dialog box
> > >> would be next to impossible. Likewise uploading everything and then
> > >> deleteing the ones I don't want would be error-prone.
>
> > >> Is there any way I can selectively add files to a vss 6.0 project.
> > >> Any help would be appreciated.
>
> > >> Thanks,
> > >> Fig000
>
> > > You can define your own masks with the Administration tool. Select Tools,
> > > Options, File Types tab, then use the new option to filter Add Files.
>
> > > Alternatively, if you have large projects with sub-directories, the
> > > command line can be used. Your SS.INI file has a Relevant_Masks variable
> > > that can be set to the file extensions you want to add when performing a
> > > recursive directory add ("sis add <directory> -R"). The help file that
> > > comes with VSS explains how to run VSS from the command line and each of
> > > its options. If you have trouble with that post again.
>
> > > -Mark
>
> > Oops, typo above, should be "ss add <directory> -R"- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
(Msg. 6) Posted: Thu Jul 03, 2008 8:14 am
Post subject: Re: VSS 6.0 and delphi 5 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Files cannot be added automatically to VSS without some kind of IDE with
source code integration.
As to having to check out files to add new ones, I am not familiar with
Delphi, but normally only source files are checked into VSS, and to add new
files to a project typically only the project file (.csproj for C#, .vsproj
for C++, "makefile" for a generic project) needs to be checked out to add
files, since those files need to be updated to build any new files into a
project.
-Mark
"fig000" <neilnewton001 DeleteThis @yahoo.com> wrote in message
news:73830fa3-8742-4110-bea4-177b1527712e@l64g2000hse.googlegroups.com...
Hi Mark,
After looking at some other posts I realized I should have made sure
to point out that I did have to check out all the project files before
I could add new delphi files (units made of a form file and code
file). I checked the project files back in after I saved the new unit
files but the new files didn't automatically become part of source
control.
Sorry for the omission. I felt that this was important in
understanding my problem.
Thanks,
Fig000
On Jul 3, 10:16 am, fig000 <neilnewton... DeleteThis @yahoo.com> wrote:
> Mark,
>
> Thanks so much! That did it. It was easy once you told me how. It's
> odd how you can spend an hour searching the web and not find
> something that's not obscure. Thanks again.
>
> If you don't mind (and yes I've done a lot of web searching for
> this ) I noticed that if I add a file or files to a directory under
> source control they don't automatically end up under source control; I
> have to add them in manually. This was not true with .net but delphi 5
> doesn't integrate with vss so I can understand why this might be true.
> Is there a swtich I can set to make sure that any file added to a
> local directory that has files undersource control will automoatically
> be put under source control once they are saved? I have a feeling the
> answer is no and this little glitch certainly isn't a deal break in
> terms of using VSS. It would be convenient and prevent errors in terms
> of preventing other developers from getting access to new files if
> they do a "get latest".
>
> Thanks again for your prompt answer. You have saved me a lot of time.
>
> Fig000
>
> On Jul 3, 12:04 am, "Mark Tolonen" <M8R-yft... DeleteThis @mailinator.com> wrote:
>
>
>
> > "Mark Tolonen" <M8R-yft... DeleteThis @mailinator.com> wrote in message
>
> >news:t7qdnZJTApXr0vHVnZ2dnUVZ_o6dnZ2d@comcast.com...
>
> > > "fig000" <neilnewton... DeleteThis @yahoo.com> wrote in message
> > >news:85828e92-461d-42b7-aaf3-42036ce576e5@79g2000hsk.googlegroups.com...
> > >> Hi,
>
> > >> My company has never used source control before (too few people).
> > >> Now that we are getting bigger we've purchased vss 6.0 (we got it a
> > >> low price in case we decided it wasn't right for us-getting the
> > >> latest
> > >> version (2005) didn't seem cost effective since we aren't using
> > >> .net).
>
> > >> I did some of my first experiments yesterday and found that you
> > >> can't put everything into source control with delphi 5. There are dcu
> > >> (delphi compiled units) files that get updated on a compile and, of
> > >> course, the exe files. If these are inlcuded in source control by
> > >> including them in an "Add Files" in sourcesafe, they then have to be
> > >> checked out before compilation. For large delphi projects, which may
> > >> contain a number of these units, this can be a pain.
>
> > >> I've looked at selective uploading and the "masks" offered are not
> > >> helpful (they are for MS products). I tried to find a way to exclude
> > >> certain file types that I didn't want under source control (e.g. the
> > >> backup files generated when editing, the dcu and exe files) but
> > >> couldn't find anything that would allow me to exclude files. I also
> > >> couldn't find anything about automating the "Add Files" process to
> > >> programatically exclude the files I don't want.
>
> > >> Since I'll only be doing the Add files once or twice, it isn't a
> > >> big deal. However, considering how much source code we have, doing
> > >> the
> > >> Add Files by hand and choosing the files I want in the dialog box
> > >> would be next to impossible. Likewise uploading everything and then
> > >> deleteing the ones I don't want would be error-prone.
>
> > >> Is there any way I can selectively add files to a vss 6.0 project.
> > >> Any help would be appreciated.
>
> > >> Thanks,
> > >> Fig000
>
> > > You can define your own masks with the Administration tool. Select
> > > Tools,
> > > Options, File Types tab, then use the new option to filter Add Files.
>
> > > Alternatively, if you have large projects with sub-directories, the
> > > command line can be used. Your SS.INI file has a Relevant_Masks
> > > variable
> > > that can be set to the file extensions you want to add when performing
> > > a
> > > recursive directory add ("sis add <directory> -R"). The help file that
> > > comes with VSS explains how to run VSS from the command line and each
> > > of
> > > its options. If you have trouble with that post again.
>
> > > -Mark
>
> > Oops, typo above, should be "ss add <directory> -R"- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum