tmf.xml: Delete existing supplementary files when importing xml analysis
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.analysis.xml.ui / src / org / eclipse / tracecompass / internal / tmf / analysis / xml / ui / handler / ManageXMLAnalysisDialog.java
index ff17095369fce86910f626c22c30c39b42f2bf73..321b5fd91510c367c97eac4eee51a7bfaa72574b 100644 (file)
@@ -248,6 +248,7 @@ public class ManageXMLAnalysisDialog extends Dialog {
             File file = new File(path);
             IStatus status = XmlUtils.xmlValidate(file);
             if (status.isOK()) {
+                deleteSupplementaryFile(file.getName());
                 status = XmlUtils.addXmlFile(file);
                 if (status.isOK()) {
                     fillAnalysesList();
This page took 0.028303 seconds and 5 git commands to generate.