On 2/7/06, Guy Davis <davis@guydavis.ca> wrote:
> Thanks Tom. I'm not sure if I referenced this correctly. The beginning
> of my build.xml now looks like:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE ddlutil_database SYSTEM "build/ant/database.dtd">
> <project ...
>
> The link you posted was dead, but I was able to get the file from
> http://db.apache.org/torque/dtd/. Which version should I be using? I
> tried with the database.dtd file and now get this error:
Ah, no, you misunderstood. You should put that into the schema XML
file, not into the build file. And you don't need to download the DTD,
simply put the URL as-is into the DOCTYPE decl. DdlUtils will
recognize the DTD url and use the internal DTD (which is contained in
the jar) instead.
Tom
|