NG3Source

We currently use NG3 Source as our source control tool, which is not directly supported by final builder.

However, NG3 is compatible with Visual Source Safe’s command line functions.

Are we able to do an automated get, and then build, using the command line functions of NG3 if this is correct, and if so, how do we go about it ?

Thanks

Hi Martyn,

Looking at the NG3 home page, it looks like it should work. FinalBuilder’s VSS actions use the SourceSafe command line interface, so it should be possible for you to use it to perform the functions you need. I can’t find any specifics on their home page, though, so you may need to work through it yourself.

You’ll need to go to Tools -> Options -> Version Control Systems -> Source Safe in FinalBuilder, and set the ss.exe location to ng3’s source safe command line tool. You’ll also need to set the ss.ini file location and project name (I don’t know what you need to use for these, NG3’s documentation may tell you what to specify.)

Then you should be able to just use the VSS actions to perform the Get, and any other NG3 operations that you need.

Please let us know how you go. If the VSS support doesn’t turn out, you may be able to just use the ‘Execute Program’ action to get the functionality you need.

Hth.

- Angus

Hi Martyn,

Further to what Angus said, it’s possible that the VSS actions won’t work at all - mainly because FinalBuilder manipulates the ss.ini file before and after calling ss.exe for certain operations. So, as a first step I’d suggest you back up your ss.ini and other files and try this on a test machine.

cheers,
tate.

Hi…

This has taken me some time to get… but NG3 said this…

You should be able to create a text file called ss.ini which just contains a single line - the name of the configured NGSource connection (as configured in the Open Connection dialog).


You also need to register NGSource to impersonate SourceSafe: to do this, you need to run regsvr32.exe with vssbridge.dll as parameter (this file is located in the NGSource installation folder). This then registers NGSource as providing the SourceSafe COM interfaces.

e.g. type

regsvr32 c:\progra~1\ngsource3\vssbridge.dll

from the Start / Run dialog.


Will this help ?

Hi Martyn,

Probably my advise would be to give it a go and see if it works (on a test repository of course).

Unfortunately I don’t think all the commands will be supported because of the ss.ini manipulation that FB does. And also, registering the COM dll also won’t help because FinalBuilder uses the command line and not the COM interfaces (it used to use the COM interfaces, but this proved to be unreliable).

What you may have to end up doing is using the Execute Program action as Angus suggested, or you could look at writing your own actions using ActionStudio.

good luck!
.t8