ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: Ant <project> extension, templatized build files
Date Thu, 02 May 2002 00:48:57 GMT
Chad,

Yes, I recall seeing that message recently.  I did not take that as being a
"templating" enhancement to Ant and I didn't dig into it thoroughly because
of the Ant 1.5 release work I was doing.  My apologies.

So could you elaborate on how your proposal would work in a concrete way?

    Erik

----- Original Message -----
From: "Chad Loder" <cloder@acm.org>
To: "Ant Developers List" <ant-dev@jakarta.apache.org>
Sent: Wednesday, May 01, 2002 5:28 PM
Subject: Re: Ant <project> extension, templatized build files


> At Wednesday 5/1/2002 05:04 PM -0400, you wrote:
> >I've never seen anyone post any design or patches for integrating any
kind
> >of templating into Ant's core.  So currently it would need to be built on
> >top of Ant.  I certainly welcome proposals and code patches that make it
> >more integrated - and can only comment on such after seeing it myself.
>
> The first message I sent on this thread is in fact such a
> design proposal. I really would welcome comments on it.
> I've requoted it here FYI.
>
> One constraining factor that I can think of is, how would you
> deal with an "extends=" attribute which contains property
> references?
>
> =============================================================
>  From my brief perusal of Project.java, it looks like
> this wouldn't be too hard to accomplish by adding
> something like:
>
>          private Project template;
>
> and then use this variable as a "last resort" for
> obtaining properties/task/references definitions not
> found in the "child" object.
>
> The syntax might look something like:
>
> <project name="r7" default="build" basedir="." extends="projtmpl.xml">
> </project>
>
> Is this an idea that has been broached before? Does it sound
> like a good idea, bad idea? Any obvious complications I might be
> overlooking?
> =============================================================
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
>
>


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


Mime
View raw message