Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
...nobody




JSPWiki v2.2.33

[RSS]


Hide Menu

XDocletActionForms


Difference between version 2 and version 1:

At line 5 changed 5 lines.
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.
1. Even after creating this &lt;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.
At line 11 changed 3 lines.
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.
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.
{{{
At line 27 added 1 line.
}}}
At line 33 changed 4 lines.
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.
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.
{{{
At line 34 added 5 lines.
}}}
NOTE: The original reference e-mail for the above issues is on the [XDoclet Developers mailing list|http://article.gmane.org/gmane.comp.java.xdoclet.devel/15319].
4. If I put the xdoclet &lt;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|http://opensource.atlassian.com/projects/xdoclet/browse/XDT-879].
At line 41 changed 3 lines.
NOTE: The original reference e-mail for the above issues is on the XDoclet
Developers mailing list at:
http://article.gmane.org/gmane.comp.java.xdoclet.devel/15319
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.
At line 45 removed 8 lines.
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:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-879
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.
At line 55 changed 1 line.
---------------------------------
-----
{{{
At line 81 changed 1 line.
}}}

Back to XDocletActionForms, or to the Page History.