ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kurt Mahan <kma...@xmission.com>
Subject Re: build.xml include problem
Date Tue, 10 Oct 2000 22:07:48 GMT
Gotta have the line read:

	<!ENTITY factory SYSTEM "file:./factory.xml">

This is because that "file:" can be other things too (like "http:")

Kurt

> 
> I'm trying to include another xml file in the 
> build.xml, the ant1.1 keep giving error messages,
> but the ant of sep. 29 nightly builds is OK with 
> this, does anybody have some idea of why ?
> ----------
> build.xml
> ---------
> <?xml version="1.0" standalone="no"?>
> <!DOCTYPE DOCUMENT [
>   <!ENTITY factory SYSTEM "factory.xml">
>   <!ENTITY job SYSTEM "job.xml">
>   <!ENTITY machine SYSTEM "machine.xml">
> ]>
> 
> <project name="BUILD" default="CompleteBuild" basedir="." >
>   &machine;
>   &factory;
>   &job;
> </project >
> --------------
> Error message is:
> ---------------
> build.xml:3: Relative URI "factory.xml"; can not be resolved without a
> document URI.
> 
> 
> Thanks
> Andy
> 
> 


Mime
View raw message