webjars / webjars-play

MIT License
80 stars 34 forks source link

Handling dependencies which depends on WebJar #38

Open tavlima opened 10 years ago

tavlima commented 10 years ago

I split my app in some modules and, instead of using the nested structure for submodules, I'm deploying them all and using the regular SBT dependency declaration.

The issue is that, as more than one of them depends on WebJar, there's a collision for reverse routing generated class. I thought about creating "wrappers" around WebJarAssets, inside different packages, and pointing the submodules route files to it, but my Scala skills are not that good. Any clue?

jamesward commented 10 years ago

I think you will need to follow the same recommendations for the regular Assets controller as outline in the docs: http://www.playframework.com/documentation/2.2.x/SBTSubProjects

Does that help?