Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Java 5 Generics and XDoclet
Java 5 Generics and XDoclet [message #187572] Tue, 06 February 2007 12:44
Eclipse User
Originally posted by: do-not-spam.s-at-piperoglou.com

I'm developping an EJB project targetted for J2SE 1.5 and J2EE 1.4
(specifically, Weblogic 9.2) using WTP 1.5.2 on Eclipse 3.2.1. I've been
using XDoclet to produce my EJB descriptors and interfaces, but it seems
XDoclet is not in any way J2SE 1.5 compatible, and chokes on generics,
enums and all other new syntax. Does anybody know how I can:

1. automate interface/descriptor generation for my EJBs
2. use Java 5 language features like generics
3. keep using WTP

I can manage any two of the above but not all three at the same time. If I
had to drop one it would be WTP and just roll my own build files using
Ant. As far as I can tell there is no official XDoclet release that
supports this stuff but someone has released a patched version of XDoclet
1.3 that works with them fine [1]. However, WTP 1.5.2 refuses to use it as
it's only compatible with XDoclet 1.2. I am not in any way attached to
XDoclet and if some other way to generate EJB 2.1 "support" files using
annotated bean classes exists that works with WTP, please let me know.

This is my last attempt to keep using WTP, please help.

[1]
http://www.lunatech-research.com/archives/2005/12/05/support -for-generics-in-xdoclet-12-anyone
Previous Topic:using JNI with tomcat
Next Topic:HttpServletRequest cannot be resolved to a type - in jsp
Goto Forum:
  


Current Time: Sun Oct 26 02:10:27 GMT 2014

Powered by FUDForum. Page generated in 0.01472 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software