Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Ho to get rid of XML warnings on build.xml?
Ho to get rid of XML warnings on build.xml? [message #53582] Mon, 06 April 2009 09:08
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
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=".">
...
</project>

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?

Michael
Previous Topic:Leveraging OSGi and dynamic bundle loading
Next Topic:Ho to get rid of XML warnings on build.xml?
Goto Forum:
  


Current Time: Wed Sep 24 00:36:27 GMT 2014

Powered by FUDForum. Page generated in 0.01821 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software