diff --git a/.idea/modules.xml b/.idea/modules.xml index 2457564a393f..2e3204bf611c 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -627,6 +627,7 @@ + diff --git a/java/ide-resources/resources/META-INF/JavaIdePlugin.xml b/java/ide-resources/resources/META-INF/JavaIdePlugin.xml index d0f1f7fad5b7..f8b1633d5c57 100644 --- a/java/ide-resources/resources/META-INF/JavaIdePlugin.xml +++ b/java/ide-resources/resources/META-INF/JavaIdePlugin.xml @@ -25,7 +25,6 @@ - diff --git a/libraries/xerces/BUILD.bazel b/libraries/xerces/BUILD.bazel new file mode 100644 index 000000000000..d07d14f18cce --- /dev/null +++ b/libraries/xerces/BUILD.bazel @@ -0,0 +1,20 @@ +### auto-generated section `build intellij.libraries.xerces` start +load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_resources") + +jvm_resources( + name = "xerces_resources", + files = glob(["resources/**/*"]), + strip_prefix = "resources" +) + +java_library( + name = "xerces", + visibility = ["//visibility:public"], + exports = ["@lib//:xerces"], + runtime_deps = [ + ":xerces_resources", + "@lib//:xerces", + ] +) +### auto-generated section `build intellij.libraries.xerces` end \ No newline at end of file diff --git a/libraries/xerces/intellij.libraries.xerces.iml b/libraries/xerces/intellij.libraries.xerces.iml new file mode 100644 index 000000000000..48f9c48ba373 --- /dev/null +++ b/libraries/xerces/intellij.libraries.xerces.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/libraries/xerces/resources/intellij.libraries.xerces.xml b/libraries/xerces/resources/intellij.libraries.xerces.xml new file mode 100644 index 000000000000..6fb76a66265d --- /dev/null +++ b/libraries/xerces/resources/intellij.libraries.xerces.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/platform/build-scripts/src/org/jetbrains/intellij/build/impl/libraries/libraries.kt b/platform/build-scripts/src/org/jetbrains/intellij/build/impl/libraries/libraries.kt index 9a0c52517de8..b51380390730 100644 --- a/platform/build-scripts/src/org/jetbrains/intellij/build/impl/libraries/libraries.kt +++ b/platform/build-scripts/src/org/jetbrains/intellij/build/impl/libraries/libraries.kt @@ -31,4 +31,5 @@ private val LIBRARY_MODULE_NAMES: Set = setOf( "intellij.libraries.skiko", "intellij.libraries.testng", "intellij.libraries.dokka", + "intellij.libraries.xerces", ) diff --git a/platform/platform-resources/src/META-INF/PlatformLangXmlPlugin.xml b/platform/platform-resources/src/META-INF/PlatformLangXmlPlugin.xml index 8e3e09ff5b89..9bb31dba4e9a 100644 --- a/platform/platform-resources/src/META-INF/PlatformLangXmlPlugin.xml +++ b/platform/platform-resources/src/META-INF/PlatformLangXmlPlugin.xml @@ -1,6 +1,5 @@ - diff --git a/platform/platform-resources/src/META-INF/XmlPlugin.xml b/platform/platform-resources/src/META-INF/XmlPlugin.xml deleted file mode 100644 index 5a5fb9e80457..000000000000 --- a/platform/platform-resources/src/META-INF/XmlPlugin.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/platform/platform-resources/src/META-INF/xml-modules.xml b/platform/platform-resources/src/META-INF/xml-modules.xml index fada6088ff96..979cc459fda0 100644 --- a/platform/platform-resources/src/META-INF/xml-modules.xml +++ b/platform/platform-resources/src/META-INF/xml-modules.xml @@ -1,4 +1,6 @@ + + @@ -8,6 +10,10 @@ + + + + \ No newline at end of file diff --git a/plugins/devkit/devkit-core/BUILD.bazel b/plugins/devkit/devkit-core/BUILD.bazel index b3712f72954c..7b10c586253b 100644 --- a/plugins/devkit/devkit-core/BUILD.bazel +++ b/plugins/devkit/devkit-core/BUILD.bazel @@ -46,7 +46,6 @@ jvm_library( "//xml/impl", "//java/openapi:java", "@lib//:guava", - "@lib//:xerces", "//platform/observable", "//spellchecker", "//plugins/properties/properties-psi-api:psi", @@ -91,6 +90,7 @@ jvm_library( "//platform/markdown-utils", "@lib//:snakeyaml", "//platform/eel-provider", + "//libraries/xerces", ], runtime_deps = [":core_resources"] ) diff --git a/plugins/devkit/devkit-core/intellij.devkit.core.iml b/plugins/devkit/devkit-core/intellij.devkit.core.iml index 8c80c803f529..613b2f471274 100644 --- a/plugins/devkit/devkit-core/intellij.devkit.core.iml +++ b/plugins/devkit/devkit-core/intellij.devkit.core.iml @@ -57,7 +57,6 @@ - @@ -102,5 +101,6 @@ + \ No newline at end of file diff --git a/plugins/devkit/devkit-core/resources/intellij.devkit.core.xml b/plugins/devkit/devkit-core/resources/intellij.devkit.core.xml index cf5651a51346..a661c07abacf 100644 --- a/plugins/devkit/devkit-core/resources/intellij.devkit.core.xml +++ b/plugins/devkit/devkit-core/resources/intellij.devkit.core.xml @@ -6,6 +6,7 @@ + messages.DevKitBundle diff --git a/plugins/htmltools/resources/META-INF/plugin.xml b/plugins/htmltools/resources/META-INF/plugin.xml index b4788ca30312..8402b65ea2cb 100644 --- a/plugins/htmltools/resources/META-INF/plugin.xml +++ b/plugins/htmltools/resources/META-INF/plugin.xml @@ -5,10 +5,13 @@ Provides advanced features for HTML/CSS editing: inspections, quickfixes, smart navigation actions and more. HTML and XML - com.intellij.modules.xml JetBrains - com.intellij.platform.images + + + + + diff --git a/plugins/javaFX/resources/intellij.javaFX.xml b/plugins/javaFX/resources/intellij.javaFX.xml index 68c7529f6a66..b9d52beacfd4 100644 --- a/plugins/javaFX/resources/intellij.javaFX.xml +++ b/plugins/javaFX/resources/intellij.javaFX.xml @@ -1,6 +1,7 @@ + diff --git a/python/build/src/org/jetbrains/intellij/build/pycharm/PyCharmCommunityProperties.kt b/python/build/src/org/jetbrains/intellij/build/pycharm/PyCharmCommunityProperties.kt index 1d6b4b587970..28770bfdc283 100644 --- a/python/build/src/org/jetbrains/intellij/build/pycharm/PyCharmCommunityProperties.kt +++ b/python/build/src/org/jetbrains/intellij/build/pycharm/PyCharmCommunityProperties.kt @@ -27,7 +27,6 @@ open class PyCharmCommunityProperties(protected val communityHome: Path) : PyCha "intellij.platform.starter", "intellij.pycharm.community", "intellij.platform.whatsNew", - "intellij.xml.impl", ) productLayout.bundledPluginModules += sequenceOf( diff --git a/xml/dom-impl/resources/intellij.xml.dom.impl.xml b/xml/dom-impl/resources/intellij.xml.dom.impl.xml index 444bf1ff7c77..594a8d80b325 100644 --- a/xml/dom-impl/resources/intellij.xml.dom.impl.xml +++ b/xml/dom-impl/resources/intellij.xml.dom.impl.xml @@ -1,6 +1,10 @@ + + + + diff --git a/xml/dom-openapi/resources/intellij.xml.dom.xml b/xml/dom-openapi/resources/intellij.xml.dom.xml index f3a450d609e2..8f53f702ec9a 100644 --- a/xml/dom-openapi/resources/intellij.xml.dom.xml +++ b/xml/dom-openapi/resources/intellij.xml.dom.xml @@ -1,6 +1,7 @@ + diff --git a/xml/impl/BUILD.bazel b/xml/impl/BUILD.bazel index 9add30dd224c..75b2fadb633f 100644 --- a/xml/impl/BUILD.bazel +++ b/xml/impl/BUILD.bazel @@ -22,7 +22,6 @@ jvm_library( "//platform/lang-core", "//platform/projectModel-api:projectModel", "//xml/openapi:xml", - "@lib//:xerces", "//platform/platform-impl:ide-impl", "//platform/lang-impl", "//platform/execution-impl", @@ -53,6 +52,7 @@ jvm_library( "//platform/util/jdom", "@lib//:aalto-xml", "//platform/polySymbols/backend", + "//libraries/xerces", ], exports = [ "//xml/openapi:xml", diff --git a/xml/impl/intellij.xml.impl.iml b/xml/impl/intellij.xml.impl.iml index 60d11fd777e0..8f0e07211833 100644 --- a/xml/impl/intellij.xml.impl.iml +++ b/xml/impl/intellij.xml.impl.iml @@ -16,7 +16,6 @@ - @@ -49,6 +48,7 @@ + diff --git a/xml/impl/resources/META-INF/XmlImpl.xml b/xml/impl/resources/intellij.xml.impl.xml similarity index 97% rename from xml/impl/resources/META-INF/XmlImpl.xml rename to xml/impl/resources/intellij.xml.impl.xml index 5facb9e15bce..5eb556f7f6d8 100644 --- a/xml/impl/resources/META-INF/XmlImpl.xml +++ b/xml/impl/resources/intellij.xml.impl.xml @@ -1,4 +1,16 @@ -> + + + + /> + + + + + + + + + - + @@ -430,5 +442,7 @@ toolShortName="HtmlUnknownAttribute"/> + + \ No newline at end of file diff --git a/xml/relaxng/resources/intellij.relaxng.xml b/xml/relaxng/resources/intellij.relaxng.xml index d689231b88d8..fda222a9847e 100644 --- a/xml/relaxng/resources/intellij.relaxng.xml +++ b/xml/relaxng/resources/intellij.relaxng.xml @@ -1,7 +1,10 @@ - + + + + diff --git a/xml/xml-analysis-api/resources/intellij.xml.analysis.xml b/xml/xml-analysis-api/resources/intellij.xml.analysis.xml index 6e71bd7d917a..a89977aba709 100644 --- a/xml/xml-analysis-api/resources/intellij.xml.analysis.xml +++ b/xml/xml-analysis-api/resources/intellij.xml.analysis.xml @@ -1,9 +1,11 @@ + + diff --git a/xml/xml-analysis-impl/BUILD.bazel b/xml/xml-analysis-impl/BUILD.bazel index a1c515780435..81ef2fb425a1 100644 --- a/xml/xml-analysis-impl/BUILD.bazel +++ b/xml/xml-analysis-impl/BUILD.bazel @@ -27,11 +27,11 @@ jvm_library( "//platform/editor-ui-api:editor-ui", "//platform/editor-ui-ex:editor-ex", "//platform/lang-impl", - "@lib//:xerces", "//platform/util/nanoxml", "//platform/indexing-impl", "//platform/indexing-api:indexing", "//platform/polySymbols/backend", + "//libraries/xerces", ], exports = ["//xml/xml-analysis-api:analysis"], runtime_deps = [ diff --git a/xml/xml-analysis-impl/intellij.xml.analysis.impl.iml b/xml/xml-analysis-impl/intellij.xml.analysis.impl.iml index e9723d5dbf09..82d8a2548404 100644 --- a/xml/xml-analysis-impl/intellij.xml.analysis.impl.iml +++ b/xml/xml-analysis-impl/intellij.xml.analysis.impl.iml @@ -22,11 +22,11 @@ - + \ No newline at end of file diff --git a/xml/xml-analysis-impl/resources/META-INF/XmlAnalysisImpl.xml b/xml/xml-analysis-impl/resources/intellij.xml.analysis.impl.xml similarity index 97% rename from xml/xml-analysis-impl/resources/META-INF/XmlAnalysisImpl.xml rename to xml/xml-analysis-impl/resources/intellij.xml.analysis.impl.xml index 257f86de0b5f..b0bc7d84b8b8 100644 --- a/xml/xml-analysis-impl/resources/META-INF/XmlAnalysisImpl.xml +++ b/xml/xml-analysis-impl/resources/intellij.xml.analysis.impl.xml @@ -1,4 +1,13 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/xml-frontend-split/resources/intellij.xml.frontend.split.xml b/xml/xml-frontend-split/resources/intellij.xml.frontend.split.xml index ff343bd90e40..0dd021122f46 100644 --- a/xml/xml-frontend-split/resources/intellij.xml.frontend.split.xml +++ b/xml/xml-frontend-split/resources/intellij.xml.frontend.split.xml @@ -1,60 +1,16 @@ - - - - + + + + + - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xml/xml-parser/resources/intellij.xml.parser.xml b/xml/xml-parser/resources/intellij.xml.parser.xml new file mode 100644 index 000000000000..401e3e67af93 --- /dev/null +++ b/xml/xml-parser/resources/intellij.xml.parser.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xml/xml-psi-api/resources/intellij.xml.psi.xml b/xml/xml-psi-api/resources/intellij.xml.psi.xml index 9fc32926eddf..3ee37340d137 100644 --- a/xml/xml-psi-api/resources/intellij.xml.psi.xml +++ b/xml/xml-psi-api/resources/intellij.xml.psi.xml @@ -1,4 +1,8 @@ + + + + diff --git a/xml/xml-psi-impl/resources/intellij.xml.psi.impl.xml b/xml/xml-psi-impl/resources/intellij.xml.psi.impl.xml index c755b7770af4..7c26c333eaaf 100644 --- a/xml/xml-psi-impl/resources/intellij.xml.psi.impl.xml +++ b/xml/xml-psi-impl/resources/intellij.xml.psi.impl.xml @@ -2,6 +2,8 @@ + + @@ -109,7 +111,7 @@ - diff --git a/xml/xml-structure-view-impl/resources/intellij.xml.structureView.impl.xml b/xml/xml-structure-view-impl/resources/intellij.xml.structureView.impl.xml index 5a8f902fbe35..7e242827e927 100644 --- a/xml/xml-structure-view-impl/resources/intellij.xml.structureView.impl.xml +++ b/xml/xml-structure-view-impl/resources/intellij.xml.structureView.impl.xml @@ -2,6 +2,7 @@ + diff --git a/xml/xmlbeans/resources/intellij.xml.xmlbeans.xml b/xml/xmlbeans/resources/intellij.xml.xmlbeans.xml index 74ce6c51d534..9588539aed83 100644 --- a/xml/xmlbeans/resources/intellij.xml.xmlbeans.xml +++ b/xml/xmlbeans/resources/intellij.xml.xmlbeans.xml @@ -1,6 +1,9 @@ + + +