ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian MacLean <i...@ActiveState.com>
Subject Ant include
Date Wed, 12 Sep 2001 00:10:39 GMT

Hi all. I'm just wondering if there is any planned support for including 
common build files. Somthing like <antinclude file ="foo.xml"/> to 
enable common build rules for multiple projects. I had a hunt thru the 
FAQ and only found this:

<quote>
"You can use XML's way of including external files and let the parser do 
the job for Ant:
  
 <?xml version="1.0"?>

<!DOCTYPE project [
    <!ENTITY common SYSTEM "file:./common.xml">
]>

<project name="test" default="test" basedir=".">

  <target name="setup">
    ...
  </target>

  &common;

  ...

</project>
 
</quote>

which seems a bit clunky. My apologies if this has been discussed 
previously.

Ian MacLean


Mime
View raw message