Providing support for all E. Crane Computing products, including POWERGEN, PBSERVICE, HARPB, VERSIONEDIT, PBLRESCUE, and PBLEXPLORER.
You are not logged in.
Pages: 1
Has anybody used Powergen with Subversion to download latest stuff, load pbl, build etc.?
Hi Allen,
PowerGen doesn't connect directly to the source control system. It interacts with source files which you "Get" from source control and place in the file system. We rely on the source control system's command line operations to do this, so the whole process can be easily scripted. We have avoided a direct connection, using SCC-API for example, because they tend to be idiosyncratic between vendors, have more limited function than command line interfaces and offer poorer performance. I'm sure we have customers using SubVersion to do this.
Regards,
Phil
I've been using Subversion for about a year now... You can export source and PBGs to your pbls directory and then use PowerGen's '/K' SYNCHRONIZE function. Here is a snippit from our script.
Good Luck
Shawn
REM --------------------------------------------------------------------------------------
REM Export Latest Version from Subversion
%SVN_PRG_EXE% info %SVN_REPOS_SOURCE% >> %BUILD_LOG_FILE%__SVN_EXPORT_POWERBUILDER.log
%SVN_PRG_EXE% export %SVN_REPOS_PROJ% %BUILD_PROJECT_DIR% --force >> %BUILD_LOG_FILE%__SVN_EXPORT.log
REM --------------------------------------------------------------------------------------
REM The batch will now start PowerGen for the all PBL application suffix and import the
REM GLV sources into the PBLs.
START /WAIT %PGEN_PRG_EXE% /K=%PGEN_CONF_FILE%%PGEN_ALL_PBL_OBJECT%.gen /PBG /NRP /H /L=%BUILD_LOG_FILE%__SOURCE_IMPORT.log
Thanks for the tip Shawn,
Regards,
Phil
Pages: 1