ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Blanc <Sebastien.Bl...@alcatel.com>
Subject Re: using build.xml snippets
Date Thu, 15 May 2003 00:46:20 GMT
Hi !

if u're talking about XML build inclusion, u can use the following:

XML <!DOCTYPE project [
  <!ENTITY builddefs SYSTEM "file:../../build/builddefs.xml">
]>

<project name="AMC logging" default="main">

  <property name="component.name" value="amc"/>
  <target name="main" depends="jar"/>

  &builddefs;

this is extensible to as much XML files as u wish; also I think ANT 1.6
is supposed to have an <import> task.

seb.

"Dean A. Hoover" wrote:

> Suppose I want to "include" files in a build.xml file. How do
> I do it?
>
> Dean Hoover
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message