I had imported the eclipse project to the IDEA and created my custom build.xml for Ant. It works fine, but I want IDEA to use my own build.xml instead of default, when I press “Build project”. How can I do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
IntelliJ IDEA is not using any script to build your Android project by default. It uses a combination of sophisticated incremental Make system with Android tools in order to save time when building the project.
If you want to build the project with custom Ant script, just add it to the Ant build panel and run the required target from there.
Note that it’s possible to assign keyboard shortcut to Ant build target in IntelliJ IDEA: