Raible's Wiki
Raible Designs AppFuseHomepage- Korean - Chinese - Italian - Japanese QuickStart Guide User Guide Tutorials Other ApplicationsStruts ResumeSecurity Example Struts Menu
Set your name in
UserPreferences
Referenced by
JSPWiki v2.2.33
Hide Menu |
This post is meant to simply document the struggles I went through trying to
get XDoclet's 1. Even after creating this <actionform> task, I found that Hibernate doclet still seemed to need XDoclet's ejb module in the classpath. This is because the apache module has references to a bunch of tasks that depend on EjbDoclet. Removing these tasks when building is a workaround, but adding the xdoclet-ejb module to the classpath is the easiest solution.
2. If using Ant 1.5.x, and you're using Struts, you will get the following error when you run "ant compile" with 1.5.
3. If I define the "xdoclet" task inside the "compile-web" target, it will work, but only when I call that target explicitly. When I make another target depend on it, I get the following error with Ant 1.5.x.
4. If I put the xdoclet <taskdef> outside of any targets it seems work fine, however the error "destDir attribute must be present" shows
up every so often. More information in XDoclet's JIRA.
5. My final solution: Move the xdoclet/actionform task into it's own target and prevent it from executing if it doesn't need to.
Below is a list I created while comping up with a solution.
|