It's all about the answers!

Ask a question

Remove a file from a project stream


armando cotugno (5632) | asked Jun 02 '08, 6:38 p.m.
Is it possible to remove a file from a project stream? If it is, how can i
do that? Thanks :)

--
The wind in my heart
The dust in my head

5 answers



permanent link
David Olsen (5237) | answered Jun 02 '08, 7:39 p.m.
JAZZ DEVELOPER
Mojique wrote:
Is it possible to remove a file from a project stream? If it is, how can i
do that?

Delete the file in your workspace. Make sure the deletion is in a
change set. Deliver that change set to the stream.

There is nothing unusual about deleting files. It is treated like other
changes to stuff under source control.

permanent link
armando cotugno (5632) | answered Jun 02 '08, 8:01 p.m.
David Olsen <David> ha scritto:

Mojique wrote:
Is it possible to remove a file from a project stream? If it is, how can i
do that?

Delete the file in your workspace. Make sure the deletion is in a
change set. Deliver that change set to the stream.

There is nothing unusual about deleting files. It is treated like other
changes to stuff under source control.

Thanks for your reply, David. I've posted my request after doing what
you're saying: in my RTC Client, anyway, showing repository files still
shows the deleted one, although trying to open it results in an error (file
not found or something similar); this fact puzzled me, thus i decided to
post here. After that, I've accessed the stream via browser and the file
doesn't longer exist, as expected. Need to check my local and remote
workspaces again... but I'll do it tomorrow morning :)
Thank you again. Bye.

--
The wind in my heart
The dust in my head

permanent link
armando cotugno (5632) | answered Jun 03 '08, 3:16 a.m.
Mojique <armacot> ha scritto:

David Olsen <David> ha scritto:

There is nothing unusual about deleting files. It is treated
like other changes to stuff under source control.

Thanks for your reply, David. I've posted my request after doing what
you're saying: in my RTC Client, anyway, showing repository files still
shows the deleted one, although trying to open it results in an error (file
not found or something similar)

I've opened RTC and performed the "Show repository files" operation on both
the project stream and my repository workspace: well, the file I deleted is
still listed among the others, even though trying to access it results in
an "Item not found" error. Is it a normal behaviour?

--
The wind in my heart
The dust in my head

permanent link
Jean-Michel Lemieux (2.5k11) | answered Jun 03 '08, 8:55 a.m.
JAZZ DEVELOPER
What version are you using? This should work as David outlined. I just tried the following with RC4 (GA candidate):

1. Open the Repository Files view on the repo workspace being shown in the Pending Changes view.
2. Find the file that you want to delete
3. Delete the file from you local file area and check in the change.
4. Select the folder in the Repository Files and refresh it.

The file is removed from the Repository Files view.

Maybe this was a bug in a previous build.

Jean-Michel Lemieux
Jazz Source Control Team

permanent link
armando cotugno (5632) | answered Jun 03 '08, 3:17 p.m.
jlemieux <Jean> ha scritto:

What version are you using? This should work as David outlined. I just
tried the following with RC4 (GA candidate):

The file is removed from the Repository Files view.

Maybe this was a bug in a previous build.

You must be right; I'm still using M5a. Thank you all for your help :)

--
The wind in my heart
The dust in my head

Your answer


Register or 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.