I am doing more extended tests for Play Subproject feature as described here: http://www.playframework.com/documentation/2.0/SBTSubProjects. But I am getting the error:
It is a known bug: https://groups.google.com/forum/#!msg/play-framework/2Zk5wjAlIng/Jcec1lt7AzQJ
My workaround for an own admin module:
package controllers.admin;
import controllers.AssetsBuilder;
import play.api.mvc.AnyContent;
import play.api.mvc.Action;
import play.mvc.*;
public class Application extends Controller {
private static AssetsBuilder delegate = new AssetsBuilder();
public static Action asset(String path, String file) {
return delegate.at(path, file);
}
}
//routes file
GET /assets/*file controllers.admin.Application.asset(path="/public", file)