XDoclet, a dead tool?

I use the latest Eclipse for Java EE and the latest JBoss Tools plugin. Now I am working on EJB 2.x code.

I cannot find a way to generate the xdoclet-build.xml file as before.

After some research, I start asking myself (and you) that the XDoclet is still community supported: JBoss, Eclipse (WTP), etc.?

If so, what is now a good way to use XDoclet to generate my old EJBs and interfaces?

Can XDoclet work using Java 5 style code?

Thanks Alban.

+4
source share
2 answers

It is no longer supported, so you will need to maintain your assembly yourself.

+5
source

It may be a little late, but regarding your question about Java 5, I managed to get it to work with Maven and xdoclet-maven-plugin .
The problem was in XJavadoc . I downloaded the fixed version (xjavadoc-1.1-j5-v4.jar) there , installed it in my local Maven repository and used it on the xdoclet plugin:

<!-- PLUGIN XDOCLET --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>xdoclet-maven-plugin</artifactId> <version>1.0</version> <dependencies> <dependency> <groupId>xdoclet</groupId> <artifactId>xjavadoc</artifactId> <version>1.1-j5-v4</version> </dependency> </dependencies> </plugin> 

XDoclet is not completely dead, it is still used in older J2EE applications (1.3, 1.4) that have not yet been ported to Java EE 5+.

References:

0
source

Source: https://habr.com/ru/post/1305758/


All Articles