[Anthill] PVCS version file update problem
McKerral, Cameron
mckerrc1 at anz.com
Wed Jan 12 18:02:25 CST 2005
Hi,
I'm a relative newbie to Anthill and am having trouble setting up my first project in PVCS (Version Manager). All of the relevant files are extracted out of PVCS into the work directory, and the version file (build.ver) is checked out and incremented ... but when Anthill tries to check it back in, it fails with the following error:
Incrementing version: FAILED to build project. Message: ProfileAdapter unlock failed: -3
Anyway, I've looked into the logs and found that PVCS reports an error:
Unable to find the entity identified whose Base Project Path is \\svrau31512.ecom.anz\ecommerce\SAVOYPVCS.
so I copied the "pcli" command that Anthill said it was going to run, and removed the base project parameter, and it seemed to work ok.
I suspect that I've set up something incorrectly, but can't workout where the base project path is set in the anthill-pvcs config screen ... at the moment it seems to be using the value of the repository.pvcs.projectDir for the base project path as well as the project database location (which is correct).
Here is an extract of the system.out that tomcat is reporting (the first part is the checkout, which seems to work fine, but the checkin fails after the file has been updated):
10:38:35:915 [Thread - AnthillBuildDaemon] INFO com.urbancode.anthill.adapter.U
rbanCodeVersionAdapter - Incrementing version file: C:\Savoy\anthill-1.8.0.264\
work\EtradeAccountOpening\Build\build.ver
10:38:35:915 [Thread - AnthillBuildDaemon] INFO com.urbancode.anthill.adapter.P
rofileRepositoryAdapter - Preparing file: Build\build.ver for editing.
10:38:35:931 [Thread - AnthillBuildDaemon] INFO com.urbancode.anthill.adapter.P
rofileRepositoryAdapter - Executing Command: pcli get -l -w -pr\\svrau31512.eco
m.anz\ecommerce\SAVOYPVCS -Y -aC:\Savoy\anthill-1.8.0.264\work\EtradeAccountOpen
ing\Build\build.ver //EtradeAccountOpening/Build/build.ver
10:38:35:931 [Thread - AnthillBuildDaemon] INFO com.urbancode.anthill.adapter.P
rofileRepositoryAdapter - Execute:Java13CommandLauncher: Executing 'pcli' with
arguments:
'get'
'-l'
'-w'
'-pr\\svrau31512.ecom.anz\ecommerce\SAVOYPVCS'
'-Y'
'-aC:\Savoy\anthill-1.8.0.264\work\EtradeAccountOpening\Build\build.ver'
'//EtradeAccountOpening/Build/build.ver'
The ' characters around the executable and arguments are
not part of the command.
WorkingDir: none
Environment Variables: none
PVCS Version Manager (PCLI) v7.5.1.5 (Build 001) for Windows NT/80x86
Copyright 1985-2002 MERANT. All rights reserved.
C:\Savoy\anthill-1.8.0.264\work\EtradeAccountOpening\Build\build.ver <- /EtradeA
ccountOpening/Build/build.ver Checked out revision 1.1.
10:38:40:665 [Thread - AnthillBuildDaemon] INFO com.urbancode.anthill.adapter.P
rofileRepositoryAdapter - Post file edit on file: Build\build.ver
10:38:40:665 [Thread - AnthillBuildDaemon] INFO com.urbancode.anthill.adapter.P
rofileRepositoryAdapter - Executing Command: pcli put -pr\\svrau31512.ecom.anz\
ecommerce\SAVOYPVCS -bp\\svrau31512.ecom.anz\ecommerce\SAVOYPVCS -aC:\Savoy\anth
ill-1.8.0.264\work\EtradeAccountOpening\Build\build.ver -f -Y -mCommitted_by_Ant
hill //EtradeAccountOpening/Build/build.ver
10:38:40:665 [Thread - AnthillBuildDaemon] INFO com.urbancode.anthill.adapter.P
rofileRepositoryAdapter - Execute:Java13CommandLauncher: Executing 'pcli' with
arguments:
'put'
'-pr\\svrau31512.ecom.anz\ecommerce\SAVOYPVCS'
'-bp\\svrau31512.ecom.anz\ecommerce\SAVOYPVCS'
'-aC:\Savoy\anthill-1.8.0.264\work\EtradeAccountOpening\Build\build.ver'
'-f'
'-Y'
'-mCommitted_by_Anthill'
'//EtradeAccountOpening/Build/build.ver'
The ' characters around the executable and arguments are
not part of the command.
WorkingDir: none
Environment Variables: none
PVCS Version Manager (PCLI) v7.5.1.5 (Build 001) for Windows NT/80x86
Copyright 1985-2002 MERANT. All rights reserved.
10:38:43 Jan.13.05 [Error]
Unable to find the entity identified whose Base Project Path is \\svrau31512.eco
m.anz\ecommerce\SAVOYPVCS.
10:38:43:915 [Thread - AnthillBuildDaemon] ERROR com.urbancode.anthill.BuildMana
ger - ProfileAdapter unlock failed: -3
Any suggestions would be appreciated.
Cheers,
Cam
More information about the Anthill
mailing list