Adam,

> 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

Run ant, and generate your "gen-src" directory.  In Eclipse, make sure
that you correctly reference your "gen-src" directory as one of the "src"
directories.  It is possible to run into the chicken and the egg problem
using this approach (can't reference what you don't have) which might
happen if have an "clean" target which removes the "gen-src" directory.

Also, keep in mind that each time you regenerate your classes, you might
need to refresh the Eclipse workspace.

Finally, make sure that your "gen-src" directory is on the same level as
your "src" directory.

> 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

That's nice, but debugging can be tedious.

Regards,

Marc Chung
[EMAIL PROTECTED]

> 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 http://www.vasoftware.com
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
>



-------------------------------------------------------
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

Reply via email to