posts - 495,comments - 227,trackbacks - 0
          <2016年2月>
          31123456
          78910111213
          14151617181920
          21222324252627
          282912345
          6789101112

          常用鏈接

          留言簿(46)

          隨筆分類(476)

          隨筆檔案(495)

          最新隨筆

          搜索

          •  

          積分與排名

          • 積分 - 1397609
          • 排名 - 16

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          http://stackoverflow.com/questions/12231862/how-to-make-play-framework-dist-command-adding-some-files-folders-to-the-final

          Play uses sbt-native-packager, 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 閱讀(993) 評(píng)論(0)  編輯  收藏

          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 榆中县| 柳林县| 鹤峰县| 吉木乃县| 阿拉善右旗| 静安区| 平利县| 喜德县| 政和县| 彭山县| 故城县| 昆山市| 肇源县| 噶尔县| 色达县| 孝义市| 台中市| 伊金霍洛旗| 奉化市| 乌拉特中旗| 岱山县| 依兰县| 西和县| 彝良县| 宜春市| 彩票| 锦屏县| 竹溪县| 任丘市| 信阳市| 长宁区| 清远市| 长泰县| 墨竹工卡县| 荥阳市| 潼南县| 寻甸| 牙克石市| 安塞县| 本溪| 和龙市|