It's all about the answers!

Ask a question

Deleting Files


K M (38325251) | asked Nov 08 '10, 12:50 p.m.
Does the java api provide a way to remove files and directories from an component in a workspace?

One answer



permanent link
K M (38325251) | answered Nov 09 '10, 10:45 a.m.
workspace.configurationOpFactory() will remove files and dirs

// Cal to commit changes.
workspace.commit(cs1,Collections.singletonList(workspace.configurationOpFactory().delete(file)), MONITOR);

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.