ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: [Ant2] Tasks as siblings of <target>
Date Wed, 31 Oct 2001 13:27:25 GMT
On Wed, 31 Oct 2001 20:35, Stefan Bodewig wrote:
> > I still think things that effect the processing of build file
> > (import statements and aspect uses) should be at the top level as
> > that is the only way we can make ant easy to pre-process/validate
> > the build file.
>
> So we'd be left with constructs that are not tasks (or privileged
> tasks or whatever we'd decide to call them) that could live at the top
> level - and still have the problem how to identify them.  (2) and (3)
> would work for this, (1) doesn't, right?

They have to be special cased anyways so it doesn't matter which option (1), 
(2) or (3) is chosen. At the top it will still have 

if( node is one of "import", "projectref" or "aspect" )
{
  doMagic()
}
else
{
  doOtherwise()
}

-- 
Cheers,

Pete

-------------------------
  All things considered, 
 insanity may be the only 
  reasonable alternative.
-------------------------

--
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