Setting up xdoclet 2
It's really not that difficult to set up XDoclet2, but some of the dependencies (like Jelly) can give some very unhelpful error messages if they are not properly fed with a healthy lunch of the proper dependencies.
- First, add dependencies to your project.xml. The best place to look for the current dependencies is in the project.xml from XDoclet Plugins. You only need dependencies down to the line that reads "<!-- Build/Test time only -->". If you are using Ant, include each of the JARs listed in this document in the build classpath.
- Now, set up the instructions in your build for Maven:
XDoclet2 Invocation with Maven
- ...or Ant:
XDoclet2 Invocation with Ant
- Launch your build and see what happens!
If you have questions about these instructions, please join the user mailing list and ask them there.
Labels
1 Comment
Hide/Show CommentsSep 23, 2008
Timothy Twelves
I could not find any good examples with EjbDoclet, Maven2 and the Weblogic plugin.
Customise accordingly.
When migrating new projects to XDoclet two it may be important to get XDoclet 1 working. Seen below is what is required to get XDoclet 1 going. Note the different task structure. The following link may be critical in showing how its done http://www.mail-archive.com/xdoclet-user@lists.sourceforge.net/msg11262.html and the following two examples are extracts.
To get this working working cleanly with Artifactory may be slightly difficult since it only supports Maven 2 repositories. Various Maven 1 resources are not available and may have to be added to your local repository. You will need to configure the following in Artifactory: