ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: Classpaths...
Date Mon, 25 Sep 2000 08:46:28 GMT
>>>>> "DS" == D'Souza, Sudeep <Sudeep.DSouza@gs.com> writes:

 DS> I want to put all these properties in something similar to header
 DS> files and include this in all the other projects.

Should be possible using XML includes, something along the lines of

<!DOCTYPE project PUBLIC "-//ANT//DTD project//EN" "ant.dtd" [
   <!ENTITY include SYSTEM "header.xml">
]>

<project>
  &header;

...

</project>

The DTD can be built using the <antstructure> task.

Currently references are not carried over to sub projects you invoke
via <ant>, though.

Stefan

Mime
View raw message