Skip to main content

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 #594615] Mon, 06 April 2009 09:08
Michael Moser is currently offline Michael MoserFriend
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=".">

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?

Previous Topic:Ho to get rid of XML warnings on build.xml?
Next Topic:Another one of those warnings...
Goto Forum:

Current Time: Sun Jul 25 14:11:18 GMT 2021

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

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

Back to the top