I thought it was a bit overkill but as you open the door :)
> I haven't come up with a good solution to this problem.
>
> We should have <subtask/> elements for each template file, so
> that user is capable of playing with templateFile/destDir/etc
> options of a regular subtask for all subsubtasks of a
> subtask! It's not possible currently and it means
> inconsistency.
In fact, well yes, this fetaure becomes a must.
> So we need something like: <jboss>
> <jaws/>
> <blabla/>
> </jboss>
>
> In runtime <jaws/> for example should be marked the
> activeSubTask and <jboss/> should simply pass common jboss
> parameters on to its subsubtasks and shouldn't drive any
> subtask itself (maybe run a default subsubtask, say <jaws/>
> for ejb1.1 even if <jaws/> is not specified).
>
> So we can define a "SubTaskContainer extends SubTask" class
> which simply delegates to inner subsubtasks. JBossSubTask can
> derive from this class.
It Looks really nice.
It will also be nice that EjbDocletTask itself would be/have a container
of subtasks, etc...
This will avoid to change it when adding new vendors ;)
EjbDocletTask extends DocletTask extends Task (the Ant one)
EjbDocletTask has ONE SubTaskContainer called
EjbDocletSubTask that
has many SubTaskContainer (extends SubTask) : jboss,
orion, ...
and many SubTask : session, entitycmp, ...
JBossSubTask extends SubTaskContainer
JawsSubTask extends SubTask
JBossSubTask has many SubTask : jaws, jbosscmp, jboss
The EjbDocletSubTask would the one to call out of Ant.
SubTask is finally not a good name : it is too related to Ant "Task"
Engine and EngineContainer or something like that would be more clear.
Vincent
>
> What do you think?
>
> Ara.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> [mailto:xdoclet-devel-
> > [EMAIL PROTECTED]] On
> Behalf Of Vincent Harcq
> > Sent: Friday, March 15, 2002 12:34 AM
> > To: [EMAIL PROTECTED]
> > Subject: [Xdoclet-devel] SubSubTask, nooo you're kidding
> >
> > The problems are
> > Jboss / Dain's CMP generate jaws.xml
> > WebLogic / Dan's CMP generate weblogic-...-cmp.xml
> > etc...
> >
> > I don't think we need a subsubtask as the subject mention but maybe
> > break, for example, jboss task into jboss and jbosscmp, same for
> > weblogic, ... What do you think.
> > With the Persistence Manager role that will grow up in future we
> should
> > take care of that.
> >
> > Maybe the simplest is a parameter in fact
> > <jboss cmp="cmp">
> > or
> > <jboss cmp="jaws">
> > or
> > <jboss cmp="none">
> > <mvcsoft>
> >
> > This is simpler in fact no ?
> >
> > Vincent
> >
> >
> > _______________________________________________
> > 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