If you using Eclipse or STS so we can configure ANT view to our IDE with following STEPs.
Step 1: Create Java Project and add the
build.xml file into your java project.
Step 2: Enable Ant View by following
Window > Show View > Other > Ant > Ant.
Step 3: Open Project Explorer, drag the
build.xml into the Ant View.
The Ant Eclipse plugin also comes with a good editor for editing build.xml files. The editor is aware of the build.xml schema and can assist you with code completion.
To use the Ant editor, right click your build.xml and select Open with > Ant Editor.
