[platform] fixes "class not found: org.w3c.dom.ElementTraversal" exception in build process

references: https://github.com/JetBrains/intellij-plugins/pull/455#issuecomment-275357965, SCL-11249
This commit is contained in:
Roman Shevchenko
2017-01-26 16:53:15 +03:00
parent 179dc2c67d
commit 6ff87c6419
2 changed files with 6 additions and 4 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2016 JetBrains s.r.o.
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,6 +35,7 @@ import org.jdom.Document;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.w3c.dom.ElementTraversal;
import java.io.*;
import java.net.URL;
@@ -473,7 +474,8 @@ public class PathManager {
FileUtils.class, // JNA (jna-platform)
PatternMatcher.class, // OROMatcher
Snappy.class, // Snappy
SecurityManager.class // xercesImpl
SecurityManager.class, // xercesImpl
ElementTraversal.class // xml-apis (required by Xerces)
};
final Set<String> classPath = new HashSet<String>();
+2 -2
View File
@@ -22,10 +22,10 @@
<orderEntry type="library" name="OroMatcher" level="project" />
<orderEntry type="library" exported="" name="Snappy-Java" level="project" />
<orderEntry type="library" name="imgscalr" level="project" />
<orderEntry type="library" name="batik" level="project" />
<orderEntry type="library" name="xmlgraphics-commons" level="project" />
<orderEntry type="library" name="xml-apis-ext" level="project" />
<orderEntry type="library" name="Xerces" level="project" />
<orderEntry type="library" name="xml-apis-ext" level="project" />
<orderEntry type="library" name="batik" level="project" />
</component>
<component name="copyright">
<Base>