Cannot find builtin plugin 'AntSupport' for IDE

Hello,

I'm currently working on updating eclipser plugin developed by kukido. This plugin is designed to automatically convert eclipse launch configurations into IntelliJ Idea configurations. 

The official build does not support the latest Intellij, So I updated the versions at different places , and tried building the project, but it complains about the “AntSupport” plugin.

org.gradle.tooling.BuildException: Cannot find builtin plugin 'AntSupport' for IDE: C:\Users\sukumar\.gradle\caches\modules-2\files-2.1\com.jetbrains.intellij.idea\ideaIC\2023.3\6105b81c6142f62379ad6c5afb542c77350a71eb\ideaIC-2023.3
	at org.jetbrains.intellij.dependency.PluginDependencyManager.resolve(PluginDependencyManager.kt:53)
	at org.jetbrains.intellij.IntelliJPlugin.configurePluginDependencies(IntelliJPlugin.kt:1654)
	at org.jetbrains.intellij.IntelliJPlugin.access$configurePluginDependencies(IntelliJPlugin.kt:135)
	at org.jetbrains.intellij.IntelliJPlugin$configureDependencies$ideaPlugins$1.execute(IntelliJPlugin.kt:334)
	at org.jetbrains.intellij.IntelliJPlugin$configureDependencies$ideaPlugins$1.execute(IntelliJPlugin.kt:333)
	at org.gradle.internal.ImmutableActionSet$SetWithFewActions.execute(ImmutableActionSet.java:285)
	at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.runDependencyActions(DefaultConfiguration.java:521)
	at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.runDependencyActions(DefaultConfiguration.java:528)
	at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.runDependencyActions(Defaul

I am attaching the project folder(Upload id: 2024_02_27_zGAxdyoKVVESJsE4FbmUDr (file: eclipser.zip)). Any help would be appreciated.

1
3 comments

Looks like I managed to build the plugin I had to use 2023.2 IC plugins folder instead of 2023.3. This does not have all the plugins.

0

I'm blocked on same issue, 
Add added dependecy on local file system where I donwload latest ant pl

    // we install ant plugin to our intellij and copied the jar
    implementation fileTree("F:\\temp\\iplugins\\ant\\lib")

The build passes (ajr), but now when trying to build the plugin i get an error 

 

Failed: Found multiple plugin descriptors 'plugin.xml' from 'antIntegration.jar' and 'plugin.xml' from 'instrumented-wftools.jar'.

trying the new beta 2 plugin, no big hope here :(
If you find a solution please share   b o a z n a h u m AT gm…
Boaz

0

Well, that what works for me
Switch to new platform plugin https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html

Convert my gradle build to kotlin (settings, build), it doesn't work for groovy DSL

From market place dowanloded latest ant spuuprt plugin https://plugins.jetbrains.com/plugin/23025-ant/versions/stable
extract it
In settings.gradle.kts

 

flatDir() {
           name = "local"
           dirs(file("F:\\temp\\antplugin\\ant\\lib")) // where antIntegration.jar is located
       }

 

In build.gradle.kts

 

dependencies {
    intellijPlatform {
        intellijIdeaCommunity("2024.1")

        bundledPlugin("com.intellij.java")
        //bundledPlugin("com.intellij.ant")

        // https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html#plugins
        plugin("antIntegration")  // <=========
    }
}

Thae taget Intellij must ahve this plugin installed, still didn't find a way to do it automaticlly

Ugly but works, this is only a POC
 

0

Please sign in to leave a comment.