Ant weirdness
Hello,
I wanted to see if anyone has seen this situation.
I have several ant files in the Ant Build window.
They all work fine except one. When I run any task in that file I get this message:
But nothing is actually built.
I have set the -verbose switch and have tried using
both the built-in and an external ant (executed by IDEA).
When I go to a shell and execute ant from the command line, then the module builds fine. Anyone seen this before?
Please sign in to leave a comment.
Vincent Storm wrote:
I would try adding some ]]>'s near the beginning to see if that part
of the code is being executed.
Try making a copy of the target with a different name. If the copy
doesn't work, start removing stuff from it until it does work. Try to
narrow down the cause of the problem.
Is it possible for you to post the relevant ant target code here?
Cory
Does the one that's not working use by any chance a custom ANT task that
IDEA doesn't recognize?
Amnon
I'm thinking this might be a memory issue. I deleted the build file, added it back and got a permgen error. Increased my permgen setting, restarted and for now it seems fine.
I'll post again if it happens again :)
I'm having the same problem with even the most basic ant script:
]]>
This happened to me the other day and after I reinstalled IntelliJ, the Ant Builds started working again. Anyone have any suggestions?
Thanks, Will
FWIW, I had the same ant weirdness just now, but without the permgen error. Removing and readding the build file worked for me, too.
See here: http://jetbrains.net/jira/browse/IDEA-4317