ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject RE: Weird XML Error
Date Mon, 10 Sep 2001 03:45:31 GMT
> -----Original Message-----
> From: Poulter, Toby []
> Sent: Saturday, 8 September 2001 9:34 PM
> To:
> Subject: Weird XML Error
> I am having trouble with a strange error that occurs when I try to run a
> build.
> I use a valid buildfile (as far as I can work out):

Not quite. Try this
<?xml version="1.0" encoding="utf-8" ?>
<project name="integration" default="info" basedir="..">
  <description>integrate and test application on a single
	<target name="init" description="initialisation routines and properties">
		<tstamp />

	<target name="info" depends="init" description="print info about your build
		<echo message="OS Name:                ${}" />
		<echo message="OS Version:             ${os.version}" />
		<echo message="" />

The project element does not have a description attribute. However, I'm
doubtful that this will solev your problem as it seems to be an XML parser
issue. Are you using the standard Ant parser (crimson) or another. What JDK
are you running? Can you please run ant -debug if this still occurs and let
us know of anything interesting.


View raw message