ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mills, Maurice" <Maurice_Mi...@CINFIN.com>
Subject Including other xml files in build.xml
Date Wed, 28 Feb 2001 20:50:02 GMT
I am trying to include a generic xml file in various build.xml files.  This
is how I am doing it:

<?xml version="1.0"?>

<!DOCTYPE web-app [
    <!ENTITY common SYSTEM "..\common\cinfin_build.xml">
]>

<project ....>

  ....

  %common;
  
  
</project>

When I try to run the build I get the following message.

BUILD FAILED

C:\workarea\TestApp\.\build.xml:5: Relative URI
"..\common\cinfin_build.xml"; can not be resolved without a document URI.

I think this means that it can not handle the relative path, however I need
it to be relative because it may change from one machine/user to the next.

Any suggestions?

Thanks,
Maury

Mime
View raw message