Issue Details (XML | Word | Printable)

Key: SCM-153
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: David Dandeneau
Votes: 3
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Maven SCM

Continuum fails while trying to build from clearcase

Created: 03/Feb/06 02:31 PM   Updated: 13/Mar/07 08:28 AM
Component/s: maven-scm-provider-clearcase
Affects Version/s: 1.0-beta-3
Fix Version/s: future

Time Tracking:
Not Specified

Environment: Clearcase UCM / Windows XP / Snapshot view

Complexity: Intermediate


 Description  « Hide
When trying to perform a build from continuum I receive the following error:

Provider message: The cleartool command failed.
Command output:
-------------------------------------------------------------------------------
cleartool: Error: A registry entry already exists for "dandendj-LNGDAYD-4130684-maven-7".
-------------------------------------------------------------------------------
This happens on the second time through. On the first time through I receive:

org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Could not find Maven project descriptor.
at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:111)
at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:62)
at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:169)
at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:53)
at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
at java.lang.Thread.run(Thread.java:595)



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Dandeneau added a comment - 03/Feb/06 02:47 PM
I also receive the error:

-------------------------------------------------------------------------------
cleartool: Error: A registry entry already exists for "dandendj-LNGDAYD-4130684-XXX".
-------------------------------------------------------------------------------

while performing a release:perform.


Kjetil Ødegaard added a comment - 17/Mar/06 07:18 AM
I don't know if this is related, but I also get the "A registry entry already exists" every time I try to build a ClearCase project from Continuum. "scm:update" works fine from the command line.

Kalle Korhonen added a comment - 31/May/06 04:24 PM
This still happens in 1.0.3. My Clearcase master build works, but sub-module builds and builds from different branches fail with the same exception. I'm building on Linux w/ standard Clearcase 6.x.

Kalle Korhonen added a comment - 31/May/06 05:11 PM
Don't know what the root cause of the problem is but, sometimes the actual build directory isn't created while the view storage directory is. To work around the problem, you can remove the created view storage dir with "cleartool rmview" (check the id of the Continuum build to know which one to remove) and then try again. Once Continuum is happy with the directories and doesn't try re-creating snapshot, but uses update only, the problem is gone.

Emmanuel Venisse added a comment - 01/Jun/06 02:04 AM
you can look at clearcase scm provider. If you don't provide a solution for your pb in clearcase provider, we'll can't fix it.