ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: [Ant2] Tasks as siblings of <target>
Date Wed, 07 Nov 2001 01:43:13 GMT
On Wed, 7 Nov 2001 08:18, Jose Alberto Fernandez wrote:
> From: "Peter Donald" <>
> > > If "import" is importing a task library, all this thing does is adding
> > > tasks (and all the other things) to the registry - I don't see that as
> > > part of the object model itself either.
> >
> > do you see java imports as part of the "object model" of a Java file ?
> Interesting question. Of course one could say that java imports are just
> a shortcut in the language since you could write the same program with the
> same executing bytecodes if you use use full classnames for every Class
> mentioned in your program. So you could say they are not part of the model.
> On the other hand, the package declaration is part of the model.
> Now this is two things are different from the <import> task IMHO because
> <import> (or whatever we call it) is not replaceable by something else
> and keeping the same meaning.

actually I was playing with idea of allowing fully qualified tasks in xml. So 
you could do something like

<jdk.javac ... />

Created ugly build files though so not sure about it.



"Marriage, Friends, Religon -- these are the demons 
you must slay in order to suceed in business.." 
                 -- Mr. Burns, The Simpsons 

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message