It's all about the answers!

Ask a question

Unarchive or delete an archived Project


Kim Carson (151) | asked Feb 21 '11, 1:58 p.m.
I am new to RTC and I accidentally archived a new project. How do I unarchive or delete the project so I can recreate it. Where I work the project is setup by project number and now I can not use the same project number which is going to be an issues, and the project I setup is in an archive status

6 answers



permanent link
Jared Burns (4.5k29) | answered Feb 21 '11, 8:13 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I am new to RTC and I accidentally archived a new project. How do I unarchive or delete the project so I can recreate it. Where I work the project is setup by project number and now I can not use the same project number which is going to be an issues, and the project I setup is in an archive status


Unarchiving project areas is not officially supported, but there is a hidden feature you can enable in case of emergency. If you start up your Eclipse client with the following system property, you'll see a new action in the context menu for project areas, "Unarchive..."
com.ibm.team.process.enableUnarchive=true

If you're not familiar with adding system properties to your Eclipse client, you'll need to create a shortcut and add the following to the target:
-vmargs -Dcom.ibm.team.process.enableUnarchive=true

Good luck,
- Jared

permanent link
Geoffrey Clemm (30.1k33035) | answered Feb 22 '11, 12:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Note that there is work item 127005 to make this operation officially
supported. Please feel free to add a comment to that work item to
indicate your interest/support.

Cheers,
Geoff

On 2/21/2011 8:23 PM, jburns wrote:
kcarsonwrote:
I am new to RTC and I accidentally archived a new project. How do I
unarchive or delete the project so I can recreate it. Where I work
the project is setup by project number and now I can not use the same
project number which is going to be an issues, and the project I setup
is in an archive status

Unarchiving project areas is not officially supported, but there is a
hidden feature you can enable in case of emergency. If you start up
your Eclipse client with the following system property, you'll see a
new action in the context menu for project areas,
"Unarchive..."
com.ibm.team.process.enableUnarchive=true

If you're not familiar with adding system properties to your Eclipse
client, you'll need to create a shortcut and add the following to the
target:
-vmargs -Dcom.ibm.team.process.enableUnarchive=true

Good luck,
- Jared

Comments
R Z commented Jan 09 '13, 8:42 a.m.

Jared,

Need you help.I have added the above line to eclipse.conf file.

-vm
jdk\jre\bin
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
--launcher.XXMaxPermSize
256m
-vmargs-Dcom.ibm.team.process.enableUnarchive=true
-Xms1024m
-Xmx1024m
-Dosgi.requiredJavaVersion=1.5
-Dosgi.bundlefile.limit=100

I was able to launch eclipse without any errors, However i dont see any option called Unarchive in Team Artifacts.

Can you please be specific about the option and file.

Thanks You


permanent link
Manik K (10133) | answered Jun 08 '11, 2:51 p.m.
How can you prevent this from happening at the first place?

permanent link
Jared Burns (4.5k29) | answered Jun 08 '11, 6:35 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
How can you prevent this from happening at the first place?


In the Process Configuration of your project area, you can configure which roles are allowed to archive the project area. I recommend assigning this permission to no one. If you ever need it, you can assign the permission just before archiving.

By the way, in the forthcoming RTC 3.0.1 release you can easily unarchive project areas from the web ui.

- Jared

permanent link
Rafael Pirolla (1649) | answered Jul 29 '11, 2:24 p.m.
I've followed the step #29 of this WI:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/60325

In the end, the project seems fine, but after three Sucessfull messages regarding the Project Area and two Team Areas, some errors have occured like:
--
Permission Denied:

Problem
You don't have permission to Save Project Area .

Reason
In order to carry out this operation, you would need permission to perform the following additional actions:
Action: ID:
Archive the project area archive/projectArea
--
Administrative Override:

Problem
The operation proceeded because of your administrative privileges.

The process configuration would not have allowed this otherwise.
--

Is this a big problem?

Thanks!

permanent link
Parker Dunton (4064) | answered Aug 01 '11, 12:33 p.m.
JAZZ DEVELOPER
Hi Rafael,

No, this is not a big problem, it means that the save succeeded even though you were not explicitly granted the permission to save the project area, because the repository group (e.g. JazzAdmins) you are a part of is automatically granted that permission.

Parker
Jazz Foundation | Process team

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.