Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

M6: can not load components into workpace

After successfully installing M6, I was able to run a CC sync to sync my Clear Case projects with Jazz successfully. Next I created a New Repository Workspace and attempted to load some of the newly created components. After selecting the components to load, I get the following error message which appears concurrently with the "Repository folders to load" diaglogue:

An internal error occurred during: "Loading repository items".
Path for project must have only one segment.


Here is the output from the workspace log file:

!ENTRY org.eclipse.core.jobs 4 2 2008-04-08 12:21:00.109
!MESSAGE An internal error occurred during: "Evaluating load request".
!STACK 0
java.lang.IllegalArgumentException: Path for project must have only one segment.
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:62)
at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:165)
at com.ibm.team.filesystem.rcp.core.internal.operations.EclipseWorkspaceMergeLoadOperation.existsOnMirror(EclipseWorkspaceMergeLoadOperation.java:151)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.checkForOverwrite(LoadOperation.java:1076)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.checkForCollision(LoadOperation.java:997)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.getElementsToLoad(LoadOperation.java:962)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.evaluateLoadRequests(LoadOperation.java:290)
at com.ibm.team.filesystem.ui.teamplace.views.LoadOperationInput$EvaluateLoadRequest.run(LoadOperationInput.java:102)
at com.ibm.team.repository.rcp.ui.operations.JobRunner.run(JobRunner.java:201)
at com.ibm.team.repository.rcp.ui.operations.JobRunner$1.run(JobRunner.java:63)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Can someone please help me get resolve this issue? Thanks!

0 votes



5 answers

Permanent link
Please log a bug against Source Control. Please include details such as what the file tree looks like in the component being loaded and what you selected to be loaded.

This looks like a bug, but it would help if we could reproduce.

Jean-Michel
Jazz Source Control Team

0 votes


Permanent link
In M5, I had to check .project files into the root of my CC components, this allowed the CC Connector to synchronized these CC components as Jazz components. With M6 I found that this .project file is causing the error described above.

If I remove the .project file, and re-sync with CC, then I can load the component, however each of the component's subfolders becomes it's own project. I want 1 Java project per component (as it was in M5). Is there a way to acheive this?

0 votes


Permanent link
There was a change in the way the CC Connector synchronizes between M5 and M6.

This issue is being tracked in the following work items:

https://jazz.net/jazz/web/projects/Jazz%20Project#action=com.ibm.team.workitem.viewWorkItem&id=50445
https://jazz.net/jazz/web/projects/Jazz%20Project#action=com.ibm.team.workitem.viewWorkItem&id=50582

0 votes


Permanent link
For folks interested in a summary:

In M5, every imported directory from ClearCase was created as an
immediate child of the Jazz component. One major problem with the M5
approach was that the relative names of imported directories were not
preserved, so build scripts that depended on those relative names would
fail after you imported the directories.

In M6, the names of synchronized files in a Jazz component (relative to
the root of the component) are made the same as the relative names of
the corresponding files in the ClearCase component (relative to the root
directory of the ClearCase component), so relative names are preserved,
and builds succeed.

In Pravesh's case, each of his ClearCase components was a single Eclipse
project (with a .project file in the root directory of the component).
In M5, when he imported the whole component, it was placed as a child of
the root of the Jazz component. In M6, it was made the root of the Jazz
component.

But Jazz SCM will not let you load a component that is a single Eclipse
project, thus producing the error message described in workitem 50445.

We're doing three things about that:
- improving the error message (50445)
- requesting that Jazz SCM handle this situation (50699)
- developing an interim workaround within the ClearCase Connector (50680)

Cheers,
Geoff

pravesh wrote:
There was a change in the way the CC Connector synchronizes between M5
and M6.

This issue is being tracked in the following work items:

https://jazz.net/jazz/web/projects/Jazz%20Project#action=com.ibm.team.workitem.viewWorkItem&id=50445
https://jazz.net/jazz/web/projects/Jazz%20Project#action=com.ibm.team.workitem.viewWorkItem&id=50582

0 votes


Permanent link
I believe our ClearCase usage is pretty common. We started with 1 VOB and checked our Java Projects in under that VOB since all of the Java Projects where loosely related (from a product family perspective), but otherwise independent.

If you have this use case, please post your desire for a first class fix by posting to WI 50699.

https://jazz.net/jazz/web/projects/Jazz%20Project#action=com.ibm.team.workitem.viewWorkItem&id=50699

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 08 '08, 1:25 p.m.

Question was seen: 5,093 times

Last updated: Apr 08 '08, 1:25 p.m.

Confirmation Cancel Confirm