E. Crane Computing Support Forum

Providing support for all E. Crane Computing products, including POWERGEN, PBSERVICE, HARPB, VERSIONEDIT, PBLRESCUE, and PBLEXPLORER.

You are not logged in.

#1 2007-03-21 11:38:38

armarshall
Guest

Re: Integration with subversion vc

Has anybody used Powergen with Subversion to download latest stuff, load pbl, build etc.?

#2 2007-03-21 13:03:19

Phil
Guest

Re: Integration with subversion vc

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

#3 2007-05-14 10:20:03

skasulka
Guest

Re: Integration with subversion vc

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

#4 2007-05-14 13:34:55

Phil
Guest

Re: Integration with subversion vc

Thanks for the tip Shawn,

Regards,

Phil

Board footer