pk11/play-guice-module — Issue #4: Guice Module doesn't work with Play 1.2.3 with IntelliJ
Author: ripper234
Created: 2011-11-21 16:45:03+00:00
State: open

The Guice module was "only tested with Play 1.2". I'm trying to use it with 1.2.3, and it doesn't seem to be working:

- play install guice
- Add `module.guice=${play.path}/modules/guice` to application.conf
- Add `play -> guice-1.2` to dependencies.yml
- play idealize
- Got error `Module not found: C:\utils\play\play-1.2.3\modules\guice`
- Changed application.conf to `module.guice=${play.path}/modules/guice-1.2`
- play idealize - it added a guice module to the IPR.
- However, the 'guice-1.2/src' folder isn't marked as source file, so IntelliJ can't find the files.
- Right click on 'src', "Mark Directory As --> Source Root"

Still, after all this, the Guice dependencies themselves e.g. `guice-3.0.jar` are not found by IntelliJ. They don't seem to be in `C:\utils\play\play-1.2.3\framework\lib`, where the rest of the dependencies are.