It's all about the answers!

Ask a question

How to delete a .project file from a repository?


Eric Benzacar (411012) | asked Jan 19 '12, 10:02 p.m.
Hi,

I am using the RTC 3.0fix1 plugin for eclipse.

Someone on my team accidentally committed the .project file and the .settings folder. I would like to remove them from the stream, but am not sure how.

Under normal circumstances, I could just delete the file from my workspace, and then commit the changelist with the pending change (ie: file delete), but I cannot delete the .project file. If I try to delete it from within the workspace, I will break my project, and on top of it all, it does not even show up in the changelist when I do.

Any suggestions would be greatly appreciated.

Thanks!

Eric

One answer



permanent link
Geoffrey Clemm (30.1k33035) | answered Jan 19 '12, 11:53 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Aug 24 '12, 6:40 p.m.
Make a copy of the .project file, delete the .project file deliver the
change, and move the copy back to be called ".project". Then you can
add the .project file to the "ignore" list, so it doesn't put it in the
"Unresolved" folder.

By "changelist", do you mean the Unresolved folder? That is where the
..project file deletion should show up. If it's not, you might need to
work with Rational support to figure out why it isn't (it does for me).

Comments
Eric Benzacar commented Jan 20 '12, 10:03 a.m. | edited Aug 24 '12, 6:39 p.m.

By "changelist", do you mean the Unresolved folder? That is where the
..project file deletion should show up. If it's not, you might need to
work with Rational support to figure out why it isn't (it does for me).



Thanks! That's what I was missing. I was expecting to see it in the Outgoing folder, and forgot to check the Unresolved. Any idea why it appears in the Unresolved instead of the Outgoing?

Thanks,

Eric


Geoffrey Clemm commented Jan 20 '12, 5:23 p.m. | edited Aug 24 '12, 6:42 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

"Outgoing" is for changes that you have checked in. Changes you have saved but not yet checked in go into "Unresolved" (RTC's peculiar name for "checked out" :-). A file deletion is like a file edit. Unless you have the "auto-checkin"
preference turned on, changes are just made to your local sandbox (and
show up in the Unresolved folder) until you explicitly check them in.

Cheers,
Geoff

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.