I changed IEclipseContext to use annotation described by the JSR 330. As a 
result:

a new bundle "javax.inject" needs to be added to existing workspaces, and
existing launch configurations might get out of synch and will need to be 
cleared


Everybody with E4/UI bundles checked out: 

There is a new Orbit bundle "javax.inject" that needs to be added to 
existing workspaces. The UI psf file has been updated, so this can be done 
by importing "e4.ui.psf". 


If you encounter strange launch problems ("no application ID found", "OSGi 
was unable to resolve constraints"):

On my computer I had to clear launch configurations for both demos. Open 
the launch configuration, switch to the "Configuration" tab, and select 
"Clear the configuration area before launching". 
 

The annotation mapping is (old -> new):


[org.eclipse.e4.core.services.annotations]      ->      [ javax.inject]
@Inject                                         ->      @Inject
@In                                     ->      @Inject
@Named                                  ->      @Named

@Inject#optional(), @In#optional()              -> 
org.eclipse.e4.core.services.annotations.Optional


Few more details are in the 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=293357 .

Be sure to let me know if you encounter any problems.

Sincerely,
Oleg Besedin
_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to