At line 2 changed 1 line. |
get XDoclet's <actionform> task to play nicely with Ant. Below are my findings. |
get XDoclet's <actionform> task to play nicely with Ant in [AppFuse]. Below are my findings. |
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 <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 2 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]. |
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 |
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]. |
At line 45 changed 4 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 50 removed 3 lines. |
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. |
|
}}} |