ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Schutte" <mar...@schutte.com>
Subject RE: build.xml include problem
Date Wed, 11 Oct 2000 09:50:44 GMT
>  AXQ> Relative URI "factory.xml"; can not be resolved without a
>  AXQ> document URI.
> 
> Ant 1.1 would pass the document as an InputStream to the parser - so
> the parser doesn't know the file it is parsing and therefore can't
> resolve relative file URIs. Try using an absolute path.
> 
> This has been resolved for Ant 1.2 on 2000-09-14 - this is why you see
> different behavior with the nightly build.
> 
> Stefan

The following works for me in ant 1.1:

<?xml version='1.0'?>

<!DOCTYPE DOCUMENT [
<!ENTITY include SYSTEM "file:./message.xml">
]>

<project name="test" default="task" basedir=".">
&include;
</project>

Marcel

Mime
View raw message