ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Base build.xml file??
Date Tue, 20 Aug 2002 16:44:19 GMT

----- Original Message -----
From: "Christian Holmqvist, IT, Posten" <christian.holmqvist@posten.se>
To: "'Ant Users List'" <ant-user@jakarta.apache.org>
Sent: Tuesday, August 20, 2002 1:08 AM
Subject: Base build.xml file??


> Hi
>
> Is it possible to create a base build.xml file. That works like a base
class
> in java?

no. we are only currently up to the subroutine and #include level of re-use,
rather than inheritance.

> I have several project ant the only thing that is different between the
> build.xml files are the project name and the name of the jar file that is
> produced...

you can have parameterised build files that you re-use with antcall; or
write xml fragments that you share across projects as XML entities.


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message