http://stackoverflow.com/questions/12231862/how-to-make-play-framework-dist-command-adding-some-files-folders-to-the-final
play uses , which supports the inclusion of arbitrary files by adding them to the mappings:
mappings in universal = (basedirectory.value / "scripts" * "*" get) map (x => x -> ("scripts/" x.getname))
the syntax assumes play 2.2.x
val jdk8 = new file("d:\\jdk\\jdk8\\jre1_8_0_40")
mappings in universal = (jdk8 ** "*" get) map (x => x -> ("jre8/" jdk8.relativize(x).getorelse(x.getname)))
posted on 2016-02-26 16:46
simone 阅读(920)
评论(0) 编辑 收藏