Home > front end >  Intellij IDEA no option to import ant build file
Intellij IDEA no option to import ant build file

Time:03-20

I have a project which uses ant build tool and the project uses

IntelliJ IDEA 2021.3.1 (Community Edition)

The most frustrating and infuriating part that I'm experiencing is a process of importing build.xml file to ant window - it just doesn't work whatever I try. And I've tried

Importing project from git
Importing project from sources

It just seems that the option to add build.xml file as an ant build file evades me.

The most ridiculous part is when I try to press in an ant window and add build.xml it does not allow me to select build.xml it just fails to show build.xml at all... Why?

What have I tried?

I've tried every single option written here

enter image description here

CodePudding user response:

Oh, my dear God, just found out how to import ant build.xml file

First I needed to override build.xml file type (click on an ant build.xml file -> select override file type -> select XML) and then second time I've clicked the right mouse button an extra option showed add as ant build file showed up.

enter image description here

  • Related