> From: Alexey Solofnenko [mailto:[EMAIL PROTECTED]
>
> We use type (2) imports to handle inter-component
> dependencies. From my
> point of view this is the main reason for that type of import.
>
But Alexey, are your imported buildfiles just off the self buildfiles or
were they written specifically to be importable. I guess your preprosessor
(was the preprosessor yours?) is doing at least part of the specialization.
So one could make the argument that in fact you are using a type (1)
but for very specific purposes.
Anyway, I smell a religiour war comming and I really do not want to get into
that. ;-)
Jose Alberto
> - Alexey.
>
> --
> { http://trelony.cjb.net/ } Alexey N. Solofnenko
> Pleasant Hill, CA (GMT-8 usually)
>
>
>
> -----Original Message-----
> From: Jose Alberto Fernandez [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 17, 2003 3:23 AM
> To: Ant Developers List
> Subject: RE: Import use cases, basedir behavior and target, property
> prefixing
>
> > From: Nick Chalko [mailto:[EMAIL PROTECTED]
> >
> > Claas Thiele wrote:
> >
> > >
> > > For (2) imported functionality would be used in the
> context of the
> > > import (the subproject). The basedir should be set to
> > import context.
> >
> > I do not think (2) is a usecase for import. I think it is better
> > handled by the "ant" task.
> >
>
> I agree with this. There may be certaintly cases where
> buildfiles can be
> just used
> but I fail to see what is this big volume of buildfiles that
> out of the
> sudden will
> be available for reuse.
>
> Can someone post a real example of importing lets say 3
> different buildfiles
> from 3 different jakarta projects being able to do something
> meaningful with
> the
> combine buildfile? No modifictions of the original files allowed :-0
>
>
> >
> > we already have ant.file.<project.name> Which is the
> > complete path to
> > the imported file. The <dirname > task will already strip
> > off the file
> > name part.
> >
>
> Basedir is not necessarily the same as the directory where
> the project file
> is.
> These are different concepts and I thought
> basedir.<project.name> had been
> added
> for just that use.
>
> Jose Alberto
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>