|Ho to get rid of XML warnings on build.xml? [message #53582]
||Mon, 06 April 2009 09:08
| Michael Moser
Registered: July 2009
Again and again I am getting warnings on ant build (i.e. build.xml) files.|
These warnings always read:
No grammar constraints (DTD or XML schema) detected for the document. build.xml some_name_here line 1 XML Problem
All my build.xml files start with:
<?xml version="1.0" encoding="UTF-8"?>
<project name="some_name_here" default="main" basedir=".">
The odd thing is: these warnings only show up in certain project, in others there are no warnings issued. Occasionally these warnings even suddenly disappear - most often after a build clean, but alas, not always). I was unable to detect any pattern behind this so far, it appears random - maybe some not properly initialized eclipse variable?
Since I am trying to tweak my projects such that in the end there is NOT ANY warning left, I really hate these random warnings!
How can one silence those (while keeping normal XML syntax checking enabled, of course)? What's the proper DTD or schema for ANT build files?
Powered by FUDForum
. Page generated in 0.38814 seconds