Difference between
version 5
and
version 4:
At line 1 changed 1 line. |
XDoclet (currently) only supports generating ActionForms using the the EjbDocletTask. This means that the <strutsform> task must be nexted in an ejbdoclet task. This is easy enough to configure, but when you do not use any EJBs in your project (or j2ee.jar), it can be a pain to include j2ee.jar in your classpath. ''Why?'' Because j2ee.jar (for 1.3.1) is over 6 MB!! That's a big .jar file that's required only at build time - especially when you're storing your jars in CVS. |
XDoclet (currently) only supports generating ActionForms using the the EjbDocletTask. This means that the <strutsform> task must be nested in an <ejbdoclet> task. This is easy enough to configure, but when you do not use any EJBs in your project (or j2ee.jar), it can be a pain to include j2ee.jar in your classpath. ''Why?'' Because j2ee.jar (for 1.3.1) is over 6 MB!! That's a big .jar file that's required only at build time - especially when you're storing your jars in CVS. |
At line 4 changed 1 line. |
Trim down the j2ee.jar to only contain those classes in javax.ejb package, then put it in your xdoclet classpath - at 41 KB, it's much more rational to check it into CVS. |
Trim down the j2ee.jar to only contain those classes in javax.ejb package, then put it in your xdoclet classpath - at 41 KB, it's much more rational to check it into CVS. |
|
Using this, I can hide the fact that XDoclet depends on EJBs for generating Struts' ActionForms. |
Back to XDocletStruts,
or to the Page History.
|