Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling dependencies which depends on WebJar #38

Open
tavlima opened this issue Mar 4, 2014 · 1 comment
Open

Handling dependencies which depends on WebJar #38

tavlima opened this issue Mar 4, 2014 · 1 comment

Comments

@tavlima
Copy link

tavlima commented Mar 4, 2014

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
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants