Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Importing CRUD module in Play! 1.2.3

When I import the CRUD module using the dependencies.yml like so:

require:
    - play
    - play -> crud
    - play -> secure

I get a Compilation error: CRUD can't be resolved to a type.

But when I do it the depreciated way, by adding:

module.crud=${play.path}/modules/crud

To the application.conf it works, but play! says adding the module via the application.conf is depreciated and I should rather do it via the dependencies.yml

Any Ideas as to why I can't import the module the recommended way?

like image 970
Martinffx Avatar asked Sep 06 '11 20:09

Martinffx


1 Answers

You need to run play dependencies on your app. See Dependency management section of Play documentation.

like image 78
Tommi Avatar answered Oct 21 '22 06:10

Tommi