And I agree with this sentiment 110%. Its just good software design to
reduce coupling anyway.
But, it still remains that when you are running within Ant your output
should go through Ant's mechanisms. The same will be true for IDE
integration - you'll want your output to go through its mechanisms.
Have a look at Ant's new <input> task at how its implemented - this is a
task that allows pluggable InputHandlers so that Ant could get input from
console, properties files, or from a GUI. Perhaps something like that
should be applied to XDoclet where its got its own internal logging API that
writes to Ant's log when running within Ant and adapts to other mechanisms
when not within Ant.
Erik
----- Original Message -----
From: "Aslak Helles�y" <[EMAIL PROTECTED]>
To: "Mathias Bogaert" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, May 15, 2002 1:21 PM
Subject: RE: [Xdoclet-devel] Verbose
> I think we should try to break the tight coupling with Ant. There will
> always be people who want to use XDoclet, but not Ant. -Simply because
they
> don't have time to learn to write Ant scripts. Believe me, these people
> exist.
>
> Currently the Ant coupling is related to Ant tasks and property
replacement.
> It should be possible to invoke XDoclet via an Antless API too (IDEs
plugins
> would like that I think)
>
> Therefore, I think we should _not_ couple ourself more to Ant than we
> probably are.
>
> My 0.02$
>
> Aslak
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Mathias
> > Bogaert
> > Sent: 16. mai 2002 04:02
> > To: [EMAIL PROTECTED]
> > Subject: [Xdoclet-devel] Verbose
> >
> >
> > Ant has rich capabilities to do logging (-v(erbose), -outputfile, -debug
> > etc). But now that I migrated the entire logging stuff to
> > commons-logging, I
> > feel no need to go logging through Ant.
> > On the other hand, Ant is our 'father' app, so we should output
everything
> > using ant.
> >
> > Migrating, this time to Ant, will be another big task, so maybe
something
> > for the next release.
> >
> > What do you guys think?
> >
> > Mathias
> >
> >
> > _______________________________________________________________
> >
> > Have big pipes? SourceForge.net is looking for download mirrors. We
supply
> > the hardware. You get the recognition. Email Us:
[EMAIL PROTECTED]
> > _______________________________________________
> > Xdoclet-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
>
>
> _______________________________________________________________
>
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
>
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel