Create a GenericDocletTask class which has no dependency to Ant, just
elements/validate/execute/etc there. Then derive a DocletTask (for
compatibility reasons this name) which derives from DocletTask but is
dependent to Ant. You don't have to derive it from Ant's Task class, I
believe Ant can handle this way too. Later we'll add a
CommandListDocletTask maybe. An IDE plugin can instantiate/configure/use
GenericDocletTask directly.

And, don't spend too much time on it, there's some tricky parts to
handle, maybe Ant enumerated types and stuff like that.

Ara.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-devel-
> [EMAIL PROTECTED]] On Behalf Of Aslak Helles�y
> Sent: Thursday, March 14, 2002 3:19 PM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-devel] xdoclet without ant
> 
> Since I'm already in refactoring hell and I have to rewrite the
> DocletTask,
> I thought I might give a shot to decouple xdoclet from ant, so that it
can
> be run without Ant. (I won't remove Ant support of course.)
> 
> Does anybody have any suggestions about how we can specify subtasks
and
> other info we send to xdoclet via ant today in a non-ant environment?
> 
> Aslak
> 
> _________________________________________________________________
> Join the world�s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
> 
> 
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to