It's all about the answers!

Ask a question

Deleting iProject does not delete SRCPF


Spencer Murata (2.3k115971) | asked Apr 26 '13, 11:24 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
To reproduce the problem:
1. Create a new iProject and a SRCPF.  Pushed to IBM i and shared iProject and built a snapshot A.                                       
2. Delete the iProject and build a new snapshot B.                     
3. Make a build to load the source from snapshot A to B.               
4. Run the build and find that SRCPF is still on the IBM i.

Is it possible to delete the SRCPF when the iProject is deleted?

Accepted answer


permanent link
Spencer Murata (2.3k115971) | answered Apr 26 '13, 11:46 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
This behavior has been changed in the latest version of RTC.  Now when an IBM i Project is deleted and a build run for all IBM i projects detected that were deleted we delete all the members from that IBM i Project.  For now, for a work around you can do the following:

If you need to delete an iProject it must be done in 2 steps:           
1) Delete all the members and the SRCPF.  Deleting a SRCPF will also delete it in the mapped library as well as any other members in it.  If you only want some members, then delete only the members.           
2) After a build is run with the changes above, use Team/Delete in Repository action to delete the project. Once the project is deleted, no actions will be tried against it.      
Spencer Murata selected this answer as the correct answer

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.