Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » .ejb file extension
.ejb file extension [message #182758] Fri, 15 October 2004 18:38 Go to next message
Eclipse UserFriend
Originally posted by: Michael.Hanes.qwest.com

I'm developing EJB components using WebLogic and would like to exploit a
feature of the WebLogic wlcompile Ant task to generate EJB classes and
deployment descriptors from meta-data tags in the implementation class
using the EJBGen utility.

One of the prereqs of using this feature is that your EJB components
implementation class have a file extension of .ejb(not .java). However
when I give my implementation class a .ejb extension I seem to lose many
of the features of the eclipse java editor.

I've created a file association for .ejb files to the java editor under
the preferences menu. This does in fact allow the java editor to be used
on .ejb files, however the only java editor feature that seems to work is
the color syntax highlighting. I don't get any code complete, automatic
import statements or context sensitive help.

Does anyone know of a way to configure eclipse to treat a .ejb file
exactly the same way it does a .java file.

Thanks for your help...
Re: .ejb file extension [message #182766 is a reply to message #182758] Fri, 15 October 2004 18:46 Go to previous message
Eclipse UserFriend
This ability does not currently exist
https://bugs.eclipse.org/bugs/show_bug.cgi?id=71460
Darins

"Michael Hanes" <Michael.Hanes@qwest.com> wrote in message
news:ckpjhj$afj$1@eclipse.org...
> I'm developing EJB components using WebLogic and would like to exploit a
> feature of the WebLogic wlcompile Ant task to generate EJB classes and
> deployment descriptors from meta-data tags in the implementation class
> using the EJBGen utility.
>
> One of the prereqs of using this feature is that your EJB components
> implementation class have a file extension of .ejb(not .java). However
> when I give my implementation class a .ejb extension I seem to lose many
> of the features of the eclipse java editor.
>
> I've created a file association for .ejb files to the java editor under
> the preferences menu. This does in fact allow the java editor to be used
> on .ejb files, however the only java editor feature that seems to work is
> the color syntax highlighting. I don't get any code complete, automatic
> import statements or context sensitive help.
>
> Does anyone know of a way to configure eclipse to treat a .ejb file
> exactly the same way it does a .java file.
>
> Thanks for your help...
>
>
>
Previous Topic:Problems View errors don't go away.
Next Topic:Eclipse+ClearCase freezes for long periods
Goto Forum:
  


Current Time: Tue Sep 23 07:28:27 EDT 2025

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

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

Back to the top