Hi,
Now we have a bootstrapper (i just love this name) could we add to it
_default- parameters for all ejbdoclet referenced in one build.xml
Example
<xdoclet-bootstrapper
destdir="${src.dir}"
classpathref="ejbdoclet.class.path"
excludedtags="@version,@author,@created"
ejbspec="2.0"
mergedir="${resources.dir}/xdoclet/ejb"
force="${xdoclet.force}" />
<ejbdoclet>
<fileset>
...
</fileset>
...
<entitycmp/>
...
</ejbdoclet>
A next step could be to define default subtasks to run but I don't like the
idea to force all subtasks from a common entry : for example I do some -
class subtasks- on some abstract EJB and on all the rest I add -xml
subtasks- to actually create an ejb-jar.
But maybe have default parameter is OK. So something like:
<xdoclet-bootstrapper
destdir="${src.dir}"
classpathref="ejbdoclet.class.path"
excludedtags="@version,@author,@created"
ejbspec="2.0"
mergedir="${resources.dir}/xdoclet/ejb"
force="${xdoclet.force}">
<jboss
version="2.4"
destdir="${etc.dir}/dd/general"
xmlencoding="UTF-8"
typemapping="${sql.typemapping}"
datasource="${sql.datasource}"
mergedir="${etc.dir}/merge"/>
</xdoclet-bootstrapper>
and
<ejbdoclet>
<fileset>...</fileset>
...
<jboss/>
...
</ejbdoclet>
What do you think ?
Vincent
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel