Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.0.3
-
Fix Version/s: None
-
Component/s: SCM
-
Labels:
-
Environment:Windows Server 2003
Ant 1.6.5
Maven 2.0.4
Continuum 1.0.3
JDK 1.5.0_06
-
Complexity:Intermediate
-
Number of attachments :
Description
Using multiple Ant projects with Continuum and Perforce SCM - the perforce views are incorrectly created
The first client created automagically works correctly.
The second project generates a client that references the first. From the log files:
1052282 [Thread-3] INFO org.apache.maven.continuum.scm.ContinuumScm - Checking out project: 'GUR - Crc Generator', id: '2' to 'C:\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-directory\2'.
1052282 [Thread-3] INFO org.apache.maven.scm.manager.ScmManager - Checkout working directory: C:\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-directory\2
1052282 [Thread-3] INFO org.apache.maven.scm.manager.ScmManager - Executing: p4 client -i
1052282 [Thread-3] DEBUG org.apache.maven.scm.manager.ScmManager - Updating clientspec:
Client: webguest-sepoe-build2-MavenSCM-C:\continuum-1.0.3\apps\continuum\working-directory\1
Root: C:\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-directory\2
Owner: webguest
View:
//p4-tss/gur/Development/CrcGenerator/1.0/... //webguest-sepoe-build2-MavenSCM-C:\continuum-1.0.3\apps\continuum\working-directory\1/...
Description:
Created by maven-scm-provider-perforce
This client that has been generated should be references working-directory\2/... not 1
Adding a third project shows that it also references the first "client":
1080922 [Thread-3] INFO org.apache.maven.continuum.scm.ContinuumScm - Checking out project: 'GUR - Crc Local', id: '3' to 'C:\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-directory\3'.
1080922 [Thread-3] INFO org.apache.maven.scm.manager.ScmManager - Checkout working directory: C:\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-directory\3
1080922 [Thread-3] INFO org.apache.maven.scm.manager.ScmManager - Executing: p4 client -i
1080922 [Thread-3] DEBUG org.apache.maven.scm.manager.ScmManager - Updating clientspec:
Client: webguest-sepoe-build2-MavenSCM-C:\continuum-1.0.3\apps\continuum\working-directory\1
Root: C:\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-directory\3
Owner: webguest
View:
//p4-tss/gur/Development/CrcLocalApi/1.0/... //webguest-sepoe-build2-MavenSCM-C:\continuum-1.0.3\apps\continuum\working-directory\1/...
Description:
Created by maven-scm-provider-perforce
I haven't yet dug into the code to determine where the client view gets set, but that appears to be where the mistake is being made.