build.xml getting truncated when running ant outside IntelliJ


I have a build.xml which I am editing in IntelliJ, and then I invoke ant outside IntelliJ on the commandline.

What happens is the build.xml is getting corrupted, usually the last few lines are truncated.

If I edit build.xml in IntelliJ, then close IntelliJ before involing ant on the commandline, then everything is fine.

So, on the surface, it looks like IntelliJ is mangling my build.xml. Has anyone seen this problem before?

I am using build 896, but I can't say whether this problem is new or not, because usually I invoke ant from within IntelliJ, and that is working fine.

1 comment
Comment actions Permalink

Hi, Alex,

IDEA has options to save changed files on focus lost. (IDE Settings |
General). So if you edit build.xml then switch to console and quickly run
ant then may happen that IDEA will not finish saving build.xml and it will
look like file is corrupted.

--
Best regards,
Dmitry Peshehonov
JetBrains, Inc, http://www.intellij.com

"Develop with pleasure!"
"Alex" <no_mail@jetbrains.com> wrote in message
news:5570115.1061861635429.JavaMail.itn@is.intellij.net...
>

I have a build.xml which I am editing in IntelliJ, and then I invoke ant

outside IntelliJ on the commandline.
>

What happens is the build.xml is getting corrupted, usually the last few

lines are truncated.
>

If I edit build.xml in IntelliJ, then close IntelliJ before involing ant

on the commandline, then everything is fine.
>

So, on the surface, it looks like IntelliJ is mangling my build.xml. Has

anyone seen this problem before?
>

I am using build 896, but I can't say whether this problem is new or not,

because usually I invoke ant from within IntelliJ, and that is working fine.


0

Please sign in to leave a comment.