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

Moving and renaming files in eclipse that are not part of a Project area?

We have code that we are version controlling, that we do not want an eclipse project associated with it. It is APEX code, that has it's own editor on a Linux box and has a very sensisitive file structure. The user is not allowed to change that structure. They work with another organization that does not have access to our network, and that organization owns the file structure paradigm. The other organization is using Rational ClearCase. When I used ClearCase I could do a rename to any file in the system through the ClearCase Explorer. I have not been able to figure out how to do this on a Linux box or in Eclipse.

How and or can we rename and move files in source contorl in this situation?

0 votes



2 answers

Permanent link
Loading Content from a Jazz Source Control Repository in Rational Team Concert 4.0

That article would describe how you want to load your content. You would want to select the option to load without creating Eclipse projects. However, it may make more sense to use the command line all of your source control operations.

0 votes


Permanent link
You can manipulate arbitrary files and folders from the file system using the linked resources feature in Eclipse.


When I want to use an Eclipse based product such as RTC or RSA to manipulate files that are not part of a project what I do is:

1. Create a dummy generic project as a placeholder. (File > New > Project... > General > Project)
2. Add a folder to that project, but in the new folder wizard select the "Advanced" button.
3. Check off the "Link to folder in the file system" checkbox.
4. Click the Browse... button to select the folder I want to manage in Eclipse and Finish the wizard.

Your folder should now appear in your dummy project. All file manipulation gestures should now work.

0 votes

Comments

This technique makes arbitrary folders visible in Eclipse, but I couldn't make Eclipse aware that these folders are under RTC source control (none of the RTC source control icons appear for those files in the Package Explorer).   If I rename one of those files, I have to "refresh" the workspace in the Pending Changes view to have the Pending Changes view notice the changes, and the change shows up as the deletion of the original file and the creation of a new file (not a rename).  How does one make Eclipse aware that this linked folder is under RTC source control?

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 16 '13, 3:24 p.m.

Question was seen: 8,276 times

Last updated: Apr 16 '13, 10:32 p.m.

Confirmation Cancel Confirm