Hi,
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=".">
&properties;
...
</project>
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"?>
<properties>
<property environment="env"/>
<property name="src" value="src"/>
...
</properties>
BUILD FAILED
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.
Regards,
Vikram.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]