How to remove scaladoc generation from Play 2.2.x Production dist
After a few hours of searching through the Play 2 documentation, the play-framework google group and other blogs or sources, i finally found this piece of code that i decided to share with you. So if, like me, you wanted to remove the Scaladoc generation and packaging inside the ProductionDist that you can create from running the play dist command, then today's your lucky day. If you have a build.sbt file (and you should) in your Play2 app, then all you need to do is add inside your file **sources in doc in Compile := List()**like that : [code language="scala"] import play.Project._ name := "my-web-project" playScalaSettings sources in doc in Compile := List() libraryDependencies ++= Seq(...) [/code]
Newsletter
Stay updated with new articles.
Keep reading
Dagger and Play 2 Java
I recently got the occasion of trying out Play 2 in Java and i must say the Play 2 Framwork looks actually really good in Java too. But, of course... there is a but, one of the few things that strike...
Jul 28, 2014Finding a way to compile OpenOffice.org
The last articles were a helping to getting into this project, but now it's time to find a better way to deal with changed into the code of OOo. When you compile, as the last article describe it, y...
Feb 26, 2009
Going offline with Maven
At [Lateral-Thoughts](http://www.lateral-thoughts.com "LT"), we organize at least once a year, what we call a "Timeoff" where we get together in a nice place and hack on what we want. It can be a lear...
Jan 14, 2013
No comments yet. Be the first to comment!