ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vikramjit singh" <>
Subject Doubt in using ENTITY
Date Tue, 29 Oct 2002 05:41:25 GMT

I am making a properties.xml file, which holds all the properties and the
corresponding path.
I am including the properties.xml file in build.xml like this below

<!-- Define the target includes for all package types -->
<!DOCTYPE project [
    <!ENTITY properties SYSTEM "file:./properties.xml">

<project name="CustomerProfile" default="dist" basedir=".">



In my properties file, if i make the xml well formed i.e. enclose the
properties and path tags in a parent tag, then i get the following error.
The properties.xml file structure snippet is as below..

<?xml version="1.0"?>

    <property environment="env"/>
    <property name="src" value="src"/>

file:./properties.xml:1: more pseudo attributes is expected.

But if i remove, <?xml version="1.0"?> and the <properties> tag and dont
enclose a parent tag, then all runs fine.

Is this as it is to be done, or am i missing something.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message