ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorselius Göran <goran.thorsel...@scania.com>
Subject Relative / absolute path
Date Tue, 04 Mar 2003 10:00:11 GMT
Hi all.

I have a file, antPropterty.xml that I want to include
to my build.xml file.

I tired this:

<!DOCTYPE project [
    <!ENTITY include SYSTEM "\dir_1\dir_2\antProperties.xml">
]>


<project name="StructureConverter" default="main" basedir=".">	
	&include;

	<target name="main"....
	</target>
</project>

The problem is that ant tries to find the antProperties.xml in the same
dir as my build.xml - file , but the file is actually located somewhere
else.

<drive>:\dir_1\dir_2\antProperties.xml

<drive>:\dir_a\dir_b\build.xml

Ant says: 
Cannot find \dir_a\dir_b\dir_1\dir_2\antProperties.xml

How can I fix this ?

Mime
View raw message