ant build vs build
I am doing some development using Google's Android phone SDK, and it generates a build.xml file.
The upshot of the build cycle is that ant build is the way to go, and I can trigger this from within IDEA simply enough, but my question is: how can I simply wire up the Build function (hotkey and menu function within IDEA) so that it kicks off an Ant build?
What is the overall psychology behind Ant integration being handled so separately within IDEA?
tone
Please sign in to leave a comment.
>I simply wire up the Build function (hotkey and menu function within IDEA) so that it kicks off an Ant build?
>
Add your build.xml to Ant toolwindow, then find the target that is used as an entry point for the build, right-click on it and
choose "Assign Shortcut".
>
Could you please elaborate?
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
Hello Anthony,
http://code.google.com/p/idea-android/
:)
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks, Dmitry... I had not heard of this new plugin.
edit: dang I guess I have to upgrade to IDEA 7.0
That hurts, but frankly, you guys make such a great tool and your being on top of little extras such as this makes it worthwhile.
tone
Message was edited by:
Anthony Lovell
For IntelliJ is there a way to turn the internal build with ant off? We use maven anyway. The old way seemed superior for my use cases. Before, after importing a project from a maven model, I could build and it would show everywhere main or test that had an issue from a simple change. Now with this ant build internally, it stops at the first code module when there is an error. Before I would have used the compiler/build tool before to determine scope of changes before making them - when not using built in refactoring tools. Now that's broken. I am using the most up to date version I believe, 2020.3.2 and the whole suite. For me, this 'update' is absolutely a change for the worse. BTW the Maven integration is still awesome. The Gradle integration was coming along and good too last time I used it.
IntelliJ IDEA doesn't use Ant to build.