Ant in IDEA vs on the command line

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?

4 comments
Comment actions Permalink

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
Comment actions Permalink

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

0
Comment actions Permalink

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
Comment actions Permalink

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

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

0

Please sign in to leave a comment.