mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
add lib for MXParserFactory (todo — remove usage)
This commit is contained in:
Generated
+12
@@ -0,0 +1,12 @@
|
||||
<component name="libraryTable">
|
||||
<library name="xpp3" type="repository">
|
||||
<properties maven-id="xpp3:xpp3:1.1.4c" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/xpp3/xpp3/1.1.4c/xpp3-1.1.4c.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/xpp3/xpp3/1.1.4c/xpp3-1.1.4c-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
||||
+2
@@ -375,6 +375,8 @@ class CommunityLibraryLicenses {
|
||||
url: "http://plantuml.com", licenseUrl: "http://www.apache.org/licenses/LICENSE-2.0.txt"),
|
||||
new LibraryLicense(name: "FST", libraryName: "de.ruedigermoeller:fst", version: "2.56", license: "Apache 2.0",
|
||||
url: "https://github.com/RuedigerMoeller/fast-serialization", licenseUrl: "http://www.apache.org/licenses/LICENSE-2.0.txt"),
|
||||
new LibraryLicense(name: "xpp3", libraryName: "xpp3", version: "1.1.4", license: "Apache 2.0",
|
||||
url: "https://www.extreme.indiana.edu/xgws/xsoap/xpp/", licenseUrl: "http://www.apache.org/licenses/LICENSE-2.0.txt"),
|
||||
|
||||
jetbrainsLibrary("Coverage"),
|
||||
jetbrainsLibrary("CoverageReport"),
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
<orderEntry type="module" module-name="intellij.platform.diff.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.builtInServer" />
|
||||
<orderEntry type="library" name="Groovy" level="project" />
|
||||
<orderEntry type="library" name="xpp3" level="project" />
|
||||
<orderEntry type="library" name="XStream" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
+3
-16
@@ -1,18 +1,4 @@
|
||||
/*
|
||||
* Copyright 2000-2014 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.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.execution.console;
|
||||
|
||||
import com.intellij.AppTopics;
|
||||
@@ -63,6 +49,7 @@ import com.thoughtworks.xstream.io.xml.XppReader;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.annotations.TestOnly;
|
||||
import org.xmlpull.mxp1.MXParserFactory;
|
||||
import org.xmlpull.v1.XmlPullParserFactory;
|
||||
import org.xmlpull.v1.XmlSerializer;
|
||||
|
||||
@@ -511,7 +498,7 @@ public class ConsoleHistoryController {
|
||||
OutputStream os = null;
|
||||
try {
|
||||
os = new SafeFileOutputStream(file);
|
||||
XmlSerializer serializer = XmlPullParserFactory.newInstance("org.xmlpull.mxp1.MXParserFactory", null).newSerializer();
|
||||
XmlSerializer serializer = XmlPullParserFactory.newInstance(MXParserFactory.class.getName(), null).newSerializer();
|
||||
try {
|
||||
serializer.setProperty("http://xmlpull.org/v1/doc/properties.html#serializer-indentation", " ");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user