Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-22-2015, 06:58 AM
andrewp andrewp is online now
Registered User
 
Join Date: 04-30-2015
Posts: 4
How to check if folder or file is present in SourceSafe

Is there a way to check if a folder or file is present in soucesafe. I am trying to create a new folder with a version number for each major build, and add replace files in this folder on each build. I need to detect a)if the major folder already exists b)if files within the folder exist.

Thanks
Reply With Quote
  #2  
Old 05-22-2015, 07:13 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
See the SourceSafe docs, but I would try the Locate, Filetype, Properties, or Status operations. Not all ops are populated in the list in the SourceSafe action, but other operations can be typed in, or you can call ss.exe directly.
Reply With Quote
  #3  
Old 05-22-2015, 08:12 AM
andrewp andrewp is online now
Registered User
 
Join Date: 04-30-2015
Posts: 4
thanks. Have old version 6.1 so only have the last 2 properties.
On a related note, how does one get the output from SS to the Vis. Build Pro. I've looked at the old logging example, but can't quite see how it's done
Reply With Quote
  #4  
Old 05-22-2015, 09:09 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Normally, any output from programs will be captured automatically. Here is the build output from the Get Latest step in the SourceSafe.bld sample.

5/22/2015 8:08:32 AM: -------------------- Starting Build: 'SourceSafe.bld' --------------------
5/22/2015 8:08:32 AM: Building project step 24 - Get Latest...
$/:
$/Executables:
CPPNETApp.exe
CSNETLib.dll
FirstVB.exe
FirstVJ.exe
ManagedCPPApp.exe
SecondVB.dll
ThirdVB.ocx
VBNETApp.exe
VCdll.dll
VCexe.exe

$/Source:
MyNETProjects.2005.sln
MyNETProjects.2008.sln
MyNETProjects.2010.sln
MyNETProjects.2012.sln
MyNETProjects.2013.sln
MyNETProjects.2015.sln
MyNETProjects.71.sln
MyNETProjects.sln
MyProjects.dsw
MyProjects.vbg
Project.manifest

$/Source/NET:
$/Source/NET/CPPNETApp:
ChildFrm.cpp
ChildFrm.h
CPPNETApp.2005.vcproj
CPPNETApp.2008.vcproj
CPPNETApp.71.vcproj
CPPNETApp.cpp
CPPNETApp.h
CPPNETApp.rc
CPPNETApp.vcproj
CPPNETAppDoc.cpp
CPPNETAppDoc.h
CPPNETAppView.cpp
CPPNETAppView.h
MainFrm.cpp
MainFrm.h
Resource.h
stdafx.cpp
stdafx.h

$/Source/NET/CPPNETApp/res:
CPPNETApp.ico
CPPNETApp.manifest
CPPNETApp.rc2
CPPNETAppDoc.ico
Toolbar.bmp

$/Source/NET/CSNETLib:
AssemblyInfo.cs
Class1.cs
CSNETLib.2005.csproj
CSNETLib.2008.csproj
CSNETLib.2010.csproj
CSNETLib.2012.csproj
CSNETLib.2013.csproj
CSNETLib.2015.csproj
CSNETLib.71.csproj
CSNETLib.csproj

$/Source/NET/CSWebApp:
AssemblyInfo.cs
CSWebApp.71.csproj
CSWebApp.csproj
Default.aspx.cs
Global.asax.cs
Global.asax.resx
WebForm1.aspx.cs
WebForm1.aspx.resx

$/Source/NET/ManagedCPPApp:
AssemblyInfo.cpp
ManagedCPPApp.2005.vcproj
ManagedCPPApp.2008.vcproj
ManagedCPPApp.71.vcproj
ManagedCPPApp.cpp
ManagedCPPApp.rc
ManagedCPPApp.vcproj
resource.h
stdafx.cpp
stdafx.h

$/Source/NET/NETSetup:
NETSetup.2005.vdproj
NETSetup.2008.vdproj
NETSetup.2010.vdproj
NETSetup.2012.vdproj
NETSetup.2013.vdproj
NETSetup.2015.vdproj
NETSetup.71.vdproj
NETSetup.vdproj

$/Source/NET/VBNETApp:
AssemblyInfo.vb
Form1.resx
Form1.vb
VBNETApp.2005.vbproj
VBNETApp.2008.vbproj
VBNETApp.2010.vbproj
VBNETApp.2012.vbproj
VBNETApp.2013.vbproj
VBNETApp.2015.vbproj
VBNETApp.71.vbproj
VBNETApp.vbproj

$/Source/VS6:
$/Source/VS6/FirstVB:
First.frm
FirstVB.vbp

$/Source/VS6/FirstVJ:
FirstVJ.sln
FirstVJ.vjp
Form1.java

$/Source/VS6/Installer:
Installer.sln
Installer.wip

$/Source/VS6/SecondVB:
Class2.cls
SecondVB.vbp

$/Source/VS6/ThirdVB:
ControlA.ctl
ThirdVB.vbp

$/Source/VS6/VCdll:
Resource.h
StdAfx.cpp
StdAfx.h
VCdll.cpp
VCdll.def
VCdll.dsp
VCdll.h
VCdll.rc

$/Source/VS6/VCexe:
exeDoc.cpp
exeDoc.h
exeView.cpp
exeView.h
MainFrm.cpp
MainFrm.h
resource.h
StdAfx.cpp
StdAfx.h
VCexe.cpp
VCexe.dsp
VCexe.h
VCexe.rc

$/Source/VS6/VCexe/res:
exe.ico
exeDoc.ico
Toolbar.bmp

$/Source/VS6/VClib:
VClib.cpp
VClib.dsp
VClib.h
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 02:24 PM.


Copyright © 1999-2023 Kinook Software, Inc.