I'm currently using XDoclet to generate EJB interfaces for entity and session beans. I have an Ant task that generates the interface source on the fly, compiles all of the source, and then JARs everything together. Everything is working great.
My question comes when editing the project in an IDE. I'm using Eclipse to create my source code. Since all of the EJB interfaces are generated on the fly, Eclipse pops up lots of errors in any classes that try to reference those interfaces. Everything still builds fine in Ant, but this makes it impossible to debug anything in Eclipse. My solution to this problem has been to create a separate JAR that contains only the XDoclet-generated classes. I include this JAR in the Eclipse project's classpath and then everything compiles fine. Is this the best way to handle this problem? I wasn't sure if anyone else had come up with a better solution. Thanks, Adam ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
