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. 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.
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