Have you tried performing a simple delete in a workspace operation?  For example,

ResourcesPlugin.getWorkspace().run(new DeleteResourcesOperation(identificationPage.getDependencies(), "Deleting dependency JARs", false), new NullProgressMonitor());



Hi, I've been banging my head all day with https://issues.jboss.org/browse/JBIDE-12529 and I wouldn't mind getting a second pair of eyes on the matter.

Basically, I'm failing to properly delete files that are referenced as classpath entries in a Java project, during maven conversion.
I've been reusing the same code that's called when performing a manual delete on these very same entries, but no dice.

https://source.jboss.org/viewrep/JBossTools/trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven
/conversion/ui/dialog/ConvertToMavenDependencyWizard.java?r=44244

Any refactoring savvy guy (or gal) wanting to give it a try?

Fred

_______________________________________________
jbosstools-dev mailing list
jbosstools-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev