4

I am using the latest Eclipse for Java EE & the latest JBoss Tools plugin. Now, I am working on some EJB 2.x code.

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

After some investigations, I begin to ask myself (and you) that is XDoclet still supported by the community: JBoss, Eclipse (WTP), etc. ?

If yes, what is now the good way to use XDoclet to generate my old-style EJB Homes & Interfaces?

Can XDoclet work using Java 5 style code?

Thanks Alban.

Alban Soupper
  • 671
  • 1
  • 5
  • 20

2 Answers2

5

It's no longer supported, so you would have to maintain your build yourself.

thelost
  • 6,638
  • 4
  • 28
  • 44
0

Maybe it's a bit late, but concerning your question about Java 5, I managed to make it work with Maven and xdoclet-maven-plugin.
The problem was in XJavadoc. I downloaded the patched version (xjavadoc-1.1-j5-v4.jar) there, installed it in my local Maven repo, and used it on 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 totally dead, it's still used on legacy J2EE (1.3, 1.4) applications, not yet migrated towards Java EE 5+.

References :

Arjan Tijms
  • 37,782
  • 12
  • 108
  • 140
Guillaume Husta
  • 4,049
  • 33
  • 40