Ant in IDEA vs on the command line

Answered

When I run a bild in IDEA, I don't see any echo'd output. I see it when  run it from IDEA's terminal window, or the command line, but not when I run it in IDEA as intended.

Do I have something set up incorrectly in my build properties?

0
5 comments
Avatar
Permanently deleted user

Let me turn this question around: When running an Ant build from the cmd line or IDEA's terminal window, you can use echo to output status info, but IDEA's build window ignores it. What would I need to do in an Ant build to output a msg I can see when running from IDEA's build window?

Echo I think just uses stdout. Is there some other "channel" IDEA listens to and displays?

0

Switch to text output mode instead of tree view: https://www.jetbrains.com/idea/help/messages-tool-window.html (Toggle tree/text mode).

0
Avatar
Permanently deleted user

Thank you Serge, I had discovered that option, and you're right, it is much closer to what I'd like.

Is there any equivalent to '@' in dos, so I can echo output without having the echo cmd itself show up in the output? These are more or less progress msgs for the person running the build.

Thanks again.

0

You can use -q option so that task names are not printed to the output:

http://i.imgur.com/aXe1ZPi.png

0

I ran into this same problem.  Claude led me here, however I think I found the solution on my own.  I'm using IntelliJ 2026.1.1

In the Build File Properties window, I unchecked “Make build in background”

 

0

Please sign in to leave a comment.