output from ant builds: what does IDEA consider errors?

I'm building my project from ant within IDEA.

Some lines (from my JDO enhancer, XMLC compiler) the stdout from these builds is flagged as an error, with the red icon and reflected in the error count at the bottom ("Build completed with 3 errors").

Sometimes, these are not errors, and I'd like to adjust IDEA's parsing of the output so it does not flag them as such.

How does this feature work? Can I adjust this?

3 comments
Comment actions Permalink

Hello David!

IDEA show messages as errors if they are reported as errors by Ant tasks.
Could you please provide a small sample Ant script which reproduces the
problem?

Best regards,
Anton Katilin
-


JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"

"david" <david@entise.com> wrote in message
news:6905179.1040409637576.JavaMail.jrun@is.intellij.net...

I'm building my project from ant within IDEA.

>

Some lines (from my JDO enhancer, XMLC compiler) the stdout from these

builds is flagged as an error, with the red icon and reflected in the error
count at the bottom ("Build completed with 3 errors").
>

Sometimes, these are not errors, and I'd like to adjust IDEA's parsing of

the output so it does not flag them as such.
>

How does this feature work? Can I adjust this?

>
>


0
Comment actions Permalink

Not easily, because I'd need to have you install these various packages. XMLC is one (off enhydra.org).

I can show you the output from the task:

args==[-nocompile, -keep, -class, com.foo, -sourceout, \dexmlc, -delete-class, discard, C:\dev\options.xmlc, C:\dev\foo.html
C:\dev\foo.html:55: Warning: lacks "summary" attribute C:\dev\foo.html:76: Warning: lacks "summary" attribute C:\dev\foo.html:78: Warning: ]]> proprietary attribute value "absmiddle"


Each of these lines with "Warning" are flagged as errors by idea, and have the red exclamation point icon before them.

Is there anything I can do to prevent or change this behavior?

0
Comment actions Permalink

by looking at xmlc's command line args at:

http://xmlc.enhydra.org/software/documentation/doc/xmlc/user-manual/xmlc-command.html

i saw there's a "warning" arg:

====
warnings yes|no|true|false - Enables or disables print warnings. Boolean value, default is to print warnings
====

maybe you can set it to false to disable printing warnings.

0

Please sign in to leave a comment.