Ant Tool Window not showing targets

Issue #1640 resolved
Angela Benavides created an issue

I reported this bug to the IntelliJ support team: https://intellij-support.jetbrains.com/hc/en-us/requests/2678381?flash_digest=1b33311e438e3fa67c7dbbc5a4104cbb330bd31a

After following their steps, I noticed this issue comes up only when the Illuminated Cloud 2 plugin is enabled.

This is my system information:

/***********************************************************/

IntelliJ IDEA 2020.1.2 (Ultimate Edition)
Build #IU-201.7846.76, built on May 31, 2020
Licensed to IntelliJ IDEA Evaluator
Expiration date: June 21, 2020
Runtime version: 11.0.7+10-b765.53 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1964M
Cores: 12
Non-Bundled Plugins: com.andrey4623.rainbowcsv, Lombook Plugin, SpringBootGen, net.ashald.envfile, net.seesharpsoft.intellij.plugins.csv, com.illuminatedcloud2.intellij, org.jetbrains.kotlin, com.intellij.antbuild, org.sylfra.idea.plugins.linessorter

Plugin: Illuminated Cloud 2, version 2.1.2.5 

/***********************************************************/

These are the steps I follow to reproduce the bug:

  1. I created an empty project and added an Ant Build file (Build -> Generate Ant Build...)
  2. Create some demo targets in the Build file.
  3. In the Ant tool window, add the new Build file to the project.
  4. Not targets are displayed:

5. Disable the Illuminated Cloud 2 plugin (File -> Settings -> Plugins)

6. Restart IntelliJ, then the targets are displayed correctly:

If I enabled the plugin again, the Build doesn't show the targets again. So this looks like it is a bug only when the Illuminated Cloud 2 plugin is enabled.

Comments (6)

  1. Scott Wells repo owner

    This sounds like a recurrence of an issue that was reported against JetBrains a bit back:

    https://youtrack.jetbrains.com/issue/IDEA-228110

    It occurs with Illuminated Cloud and a few other plugins. It does not seem to be an issue with those plugins as it was a regression when the JetBrains IDEs were updated with no other changes to those plugins.

    I no longer see this issue. I'm currently using IntelliJ IDEA Ultimate Edition 2020.1.2 with the latest version of Illuminated Cloud 2 installed and enabled, and I can execute targets from my ant script from within the IDE.

    We should probably move this back into the linked JetBrains issue so that they can research the root cause. I'm happy to help coordinate that.

  2. Scott Wells repo owner

    Angela, can you please install this build with Settings/Preferences>Plugins>Install plugin from disk (under the gear drop-down menu) and see whether it helps? This is based on a suggestion from another plugin developer seeing the same issue. Because I can't reproduce the issue, I'm unable to verify whether it makes a difference. Thanks much!

  3. Scott Wells repo owner

    Okay. So obviously something was set in a way that changed when you restored default settings. I'd love to know what. Perhaps the next time this happens I'll have a user export settings, reset, and export settings again so I can see the differences.

  4. Log in to comment