Thursday, November 25, 2010

Re: Hi guys, I have run into a deliver problem which says files are invisible


Permlink Replies: 6 - Pages: 1 - Last Post: Nov 23, 2010 7:37 PM Last Post By: jeff98air Threads: [ Previous | Next ]
Posts: 14
Registered: May 06, 2008 03:16:51 AM Hi guys, I have run into a deliver problem which says files are invisible
Posted: Dec 07, 2009 04:58:51 AM Hi guys,

I have run into a deliver problem which says files are invisible from the integration view.
I tried to cancel the deliver but it failed saying,

cleartool: Error: Cannot cancel because the integration activity "internal deliver activity name" has checkins.
You must remove the checked in versions then redo the cancel OR resume the operation.

I wanted to remove the activity, but it had changeset versions.

I did a describe of the activity and found that there are thousand's of files in the changset.
Removed all those except a directory. Removal of that particular directory by using the below command fails,

cleartool rmver -xbranch -xlabel -xattr -xhlink element
cleartool: Error: Cannot remove versions which are recorded in UCM baseline.
cleartool: Error: No versions of "element" to remove.

i described the particular element and a found a label type attached to that element from hyperlink phase.

Described the label type to find the baseline attached to it.

Then again describing the baseline revealed,

there were three child streams using that particular baseline . The baseline is INITIAL and has a label type attached to it.

Can i go ahead and remove this baseline? or is there a specific procedure to be followed.

How would i know how many files are using this baseline and whether it would create a serious impact on this project?

I am stuck with this issue for a long time. Can someone please help out?

Thanks


Posts: 561
Registered: Nov 19, 2007 06:06:36 AM Re: Hi guys, I have run into a deliver problem which says files are invisible
Posted: Dec 07, 2009 12:49:43 PM   in response to: UCMRookie in response to: UCMRookie's post Firstly, I would try to remove checkins by "cleartool rmver -xhlink element".

Tamir Gefen, GoMidjets
http://www.gomidjets.com


Posts: 14
Registered: May 06, 2008 03:16:51 AM Re: Hi guys, I have run into a deliver problem which says files are invisible
Posted: Dec 08, 2009 01:05:51 AM   in response to: Tgefen in response to: Tgefen's post unfortunately that did not work out,

maa-view2:18> cleartool rmver -xhlink element
cleartool: Error: Removal of "interesting" versions must be explicitly enabled.
Not removing these "interesting" versions of "element":
/main/integration branch/1 (has: labels, hyperlinks)
cleartool: Error: No versions of "element" to remove.

I tried with -xlabel option but it gave the error as mentioned in the original post.

Any clues?


Posts: 561
Registered: Nov 19, 2007 06:06:36 AM Re: Hi guys, I have run into a deliver problem which says files are invisible
Posted: Dec 08, 2009 12:33:41 PM   in response to: UCMRookie in response to: UCMRookie's post You should replace "element" with (filename).
Posts: 71
Registered: Nov 17, 2006 05:38:41 AM Re: Hi guys, I have run into a deliver problem which says files are invisible
Posted: Dec 10, 2009 04:18:06 AM   in response to: Tgefen in response to: Tgefen's post The warning about invisible elements during a delivery is generally not a problem. It means that you have changed these elements for that activity, but later removed the element from the parent directory. So these elements are no longer in the picture of your integration view and don't have to merged.

So the best solution in my opinion, would be to resume your delivery and try to complete it.

If that doesn't work I would create a neqw activity on the integration stream and try to move all your checked-in and baselined versions to that new activity. Until you have no longer any version linked to your delivery-activity.
When that is done, you should be able to cancel the delivery and delete the delivery-activity.

To remove the baseline: you will not be able to remove a baseline that is used as foundation in another stream. So you should first change the foundation of the other stream (maybe revert back to a previous foundation baseline ?

Regards,
Marc


Posts: 2
Registered: Sep 03, 2010 08:45:50 AM Re: Hi guys, I have run into a deliver problem which says files are invisible
Posted: Nov 23, 2010 09:31:10 AM   in response to: marcdb in response to: marcdb's post Hi,

How to move change set versions from one(Deliver) activity to another(New) activity?


Posts: 689
Registered: Jun 25, 2007 04:53:38 PM Re: Hi guys, I have run into a deliver problem which says files are invisible
Posted: Nov 23, 2010 07:37:28 PM   in response to: MallikarjunaMKandala in response to: MallikarjunaMKandala's post You wrote:How to move change set versions from one(Deliver) activity to another(New) activity?

In CC Project Explorer, right-click the desired deliver activity and select "Properties". On the Change Set tab, right-click the desired version and select "Move to Activity". In the "Select Activity" window, you can either select an existing activity or create a new one.

HOWEVER, in the case of files included in a delivery that are invisible on the target stream, moving the affected versions from a deliver activity to a new activity should NOT be your first course of action. I would suggest:

1. Go fix the problem then restart the delivery. This may involve removing versions and/or branches for the elements that are no longer visible. You need to evaluate each case separately and take the appropriate action.

2. If you don't have time to do #1 that instant, then cancel the delivery, go to the child stream and move the versions to a new activity there instead of on the parent stream. Then you can re-deliver without the new activity and fix the elements later.

3. If you are already in the middle of a big delivery that you don't want to restart and don't have time to do #1, then you can consider moving versions from the deliver activity to a new activity (which you should resolve asap).

-Jeff Ng

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

No comments:

Post a Comment