Errors while editing ant build files

EAP 3117 on WinXP

I've got some build files which happen to include other
common definition files which are shared among projects;
these files are now all showing lots of errors, which
are related to definitions in the included common
definition file.
I suspect the reason for this is because
we use a DOCTYPE definition at the head of the ant build
file to define the top level 'project' element only so
we can define an ENTITY element which allows the inclusion
of these common property definitions. ANT, of course has
no issue with dealing with these files, as it is not
validating the build file.

My question is - is there another mechanism other folks
use to achieve similar goals, which do not throw the IDEA
XML editor spinning? The currect situation is not usable
at all as I get exception reports generated for every
keystroke I make in the build file or the included
build definitions file.

Cheers,

Bonny

1 comment

Bonny, that's funny. I can feel your frustration. I get the same thing on
any XML file. IDEA does not like XML (or the ones I have, anyway). It
used to play nice with XML. This seems to be an EAP thing that I suspect
will be corrected shortly.



"Bonny Rais" <bonnyr@optushome.com.au> wrote in message
news:32357226.1101946901502.JavaMail.itn@is.intellij.net...

EAP 3117 on WinXP

>

I've got some build files which happen to include other
common definition files which are shared among projects;
these files are now all showing lots of errors, which
are related to definitions in the included common
definition file.
I suspect the reason for this is because
we use a DOCTYPE definition at the head of the ant build
file to define the top level 'project' element only so
we can define an ENTITY element which allows the inclusion
of these common property definitions. ANT, of course has
no issue with dealing with these files, as it is not
validating the build file.

>

My question is - is there another mechanism other folks
use to achieve similar goals, which do not throw the IDEA
XML editor spinning? The currect situation is not usable
at all as I get exception reports generated for every
keystroke I make in the build file or the included
build definitions file.

>

Cheers,

>

Bonny

>
>


0

Please sign in to leave a comment.