eclipse-sisu / sisu-project

Sisu Inject
https://www.eclipse.org/sisu
Eclipse Public License 2.0
17 stars 15 forks source link

Named modules not picked up at runtime (Bugzilla Bug 550176) #30

Closed mcculls closed 2 years ago

mcculls commented 2 years ago

This issue was created automatically with bugzilla2github

Bugzilla Bug 550176

Date: 2019-08-18 11:00:31 -0400 From: Jose Montoya <jam01@protonmail.com> To: Project Inbox <sisu-inbox@eclipse.org> CC: mcculls@gmail.com

Last updated: 2019-08-19 09:26:14 -0400

Comment 3061512

Date: 2019-08-18 11:00:31 -0400 From: Jose Montoya <jam01@protonmail.com>

Having an issue where a module annotated with Name is picked up and configured correctly during tests, but at runtime it is not picked up and the bindings missing. I'm not sure what dependencies I need for this to happen automatically. I've tried just adding the sisu plugin as JSR330 documentation states but that's not doing it. Additionally I added dependencies to sisu.inject and sisu.inject.extender as suggested in ticket 393214.

Comment 3061770

Date: 2019-08-19 09:26:14 -0400 From: Stuart McCulloch <mcculls@gmail.com>

Hi Jose,

Thanks for the report - could you provide more details about how you're building and packaging the application?

You could also try running with -Dsisu.debug to get detailed information about what bindings have been found and if there were any potential issues with those bindings.

-- Cheers, Stuart

mcculls commented 2 years ago

Closed as stale