{"action":"created","issue":{"url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/499","labels_url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/499/labels{/name}","comments_url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/499/comments","events_url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/499/events","html_url":"https://github.com/sbt/sbt-native-packager/issues/499","id":58076692,"number":499,"title":"UnsupportedOperationException with play 2.3.7, sbt-np 1.0.0-M5 and jdeb on windows 7","user":{"login":"m-sp","id":3969000,"avatar_url":"https://avatars.githubusercontent.com/u/3969000?v=3","gravatar_id":"","url":"https://api.github.com/users/m-sp","html_url":"https://github.com/m-sp","followers_url":"https://api.github.com/users/m-sp/followers","following_url":"https://api.github.com/users/m-sp/following{/other_user}","gists_url":"https://api.github.com/users/m-sp/gists{/gist_id}","starred_url":"https://api.github.com/users/m-sp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-sp/subscriptions","organizations_url":"https://api.github.com/users/m-sp/orgs","repos_url":"https://api.github.com/users/m-sp/repos","events_url":"https://api.github.com/users/m-sp/events{/privacy}","received_events_url":"https://api.github.com/users/m-sp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-18T14:47:35Z","updated_at":"2015-02-18T21:56:21Z","closed_at":null,"body":"Hi,\r\n\r\nI tried to generate a debian package (`debian:packageBin`) for my play application on windows 7 with the newest version of the native packager. Unfortunately it fails with and unsupportedoperationexception while creating the conffile and the controlfile.\r\n\r\ni could also reproduce the exception with a rather simple project: \r\nhttps://gist.github.com/m-sp/cfc12f9082cd006ad491\r\n\r\nand the stacktrace:\r\n\r\n[error] (debian:debianConffilesFile) java.lang.UnsupportedOperationException\r\n[error] (debian:debianControlFile) java.lang.UnsupportedOperationException\r\n[error] Total time: 2 s, completed 18.02.2015 15:38:02\r\n[Debian Example] $ debian:packageBinlas deb\r\n{invalid input}\r\n[Debian Example] $ last debian:debianConffilesFile\r\njava.lang.UnsupportedOperationException\r\n        at java.nio.file.Files.setPosixFilePermissions(Unknown Source)\r\n        at com.typesafe.sbt.packager.chmod$.apply(FileUtil.scala:21)\r\n        at com.typesafe.sbt.packager.debian.DebianPlugin$$anonfun$debianSettings$4.apply(DebianPlugin.scala:163)\r\n        at com.typesafe.sbt.packager.debian.DebianPlugin$$anonfun$debianSettings$4.apply(DebianPlugin.scala:154)\r\n        at scala.Function2$$anonfun$tupled$1.apply(Function2.scala:54)\r\n        at scala.Function2$$anonfun$tupled$1.apply(Function2.scala:53)\r\n        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)\r\n        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)\r\n        at sbt.std.Transform$$anon$4.work(System.scala:63)\r\n        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)\r\n        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)\r\n        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)\r\n        at sbt.Execute.work(Execute.scala:235)\r\n        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)\r\n        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)\r\n        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)\r\n        at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)\r\n        at java.util.concurrent.FutureTask.run(Unknown Source)\r\n        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)\r\n        at java.util.concurrent.FutureTask.run(Unknown Source)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n        at java.lang.Thread.run(Unknown Source)\r\n[error] (debian:debianConffilesFile) java.lang.UnsupportedOperationException"},"comment":{"url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/comments/74956605","html_url":"https://github.com/sbt/sbt-native-packager/issues/499#issuecomment-74956605","issue_url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/499","id":74956605,"user":{"login":"m-sp","id":3969000,"avatar_url":"https://avatars.githubusercontent.com/u/3969000?v=3","gravatar_id":"","url":"https://api.github.com/users/m-sp","html_url":"https://github.com/m-sp","followers_url":"https://api.github.com/users/m-sp/followers","following_url":"https://api.github.com/users/m-sp/following{/other_user}","gists_url":"https://api.github.com/users/m-sp/gists{/gist_id}","starred_url":"https://api.github.com/users/m-sp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-sp/subscriptions","organizations_url":"https://api.github.com/users/m-sp/orgs","repos_url":"https://api.github.com/users/m-sp/repos","events_url":"https://api.github.com/users/m-sp/events{/privacy}","received_events_url":"https://api.github.com/users/m-sp/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T21:56:20Z","updated_at":"2015-02-18T21:56:20Z","body":"Yes i am using the Jdeb extension."}}