You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Senthil Supramaniam <ss...@inxight.com> on 2000/10/16 19:52:26 UTC

DOCTYPE and relative file URI's

Our workspace looks something like this

makefiles/ project.dtd /subproject-1 /subproject-2

Let's say we have a top level build.xml in makefiles and sub project
build.xmls in each of the subproject-* directories. The DOCTYPE's in these
build.xml files use relative URI's to get to the project.dtd file. If I call
the subproject build.xml using <ant> from the top-level build.xml with the
dir attribute to <ant>, ant fails since it still uses the top level "current
directory" to resolve the project.dtd URI for the subprojects. 

It seems that DOCTYPE resolution should be made with the subproject location
as the current directory. If that's not the case, relative file URI's for
the dtd will not work.

Thanks,
-Senthil.

Re: DOCTYPE and relative file URI's

Posted by Stefan Bodewig <bo...@bost.de>.
Senthil,

could you please check whether the behavior you describe has been
fixed in 1.2rc1 that can be found a
<http://jakarta.apache.org/builds/ant/release/v1.2rc/>?

Thanks

        Stefan