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

Batch to remove one RTC/eclipse while keeping another

We are currently deploying eclipse with the EXT version of RTC 2.x by merely copying the eclipse folder to the C drive. This is working great. However, some folks want to have two versions of eclipse on their machine - one "production" version that doesn't change and one "test" version that they can wipe and reinstall. This is easily done by renaming the eclipse folder, for example "EclipseProd", and changing the workspace from the default, for example "workspaceProd". I created a batch file for removing both the default eclipse folder and the default workspace. Question is, what other files/folders should I remove for an effective eclipse/RTC wipe of the "test" version without affecting the "prod" version?

This was my original batch. I need to know which lines to remove (or add) to remove the "test" RTC/eclipse while keeping the "prod" RTC/eclipse.

rmdir c:\eclipse /s /q
rmdir C:\Users\%USERNAME%\workspace /s /q

rmdir C:\Users\%USERNAME%\.eclipse /s /q
rmdir C:\Users\%USERNAME%\AppData\Local\jazz-scm /s /q
rmdir C:\Users\%USERNAME%\AppData\Local\Eclipse /s /q
del C:\Users\%USERNAME%\.jazzcerts

If there is anything else I am missing about running things this way, please let me know. Just to give an example, I am running Ganymede/RTC2ifix5 for "prod" and various eclipse/RTC2ifix7a for test.

0 votes


Be the first one to answer this question!

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: Nov 16 '11, 4:34 p.m.

Question was seen: 3,648 times

Last updated: Nov 16 '11, 4:34 p.m.

Confirmation Cancel Confirm