Taro L. Saito

Results 287 comments of Taro L. Saito

This part simply invoking Scalate. https://github.com/xerial/sbt-pack/blob/develop/src/main/scala/xerial/sbt/Pack.scala#L223 And Scalate engine is created in a normal way: https://github.com/xerial/sbt-pack/blob/develop/src/main/scala/xerial/sbt/Pack.scala#L223 I guess it's a classloder issue if the resource can be found in a...

Thanks. So copying the script resource to some tempolary file, then let Scalate load it. 2014/04/04 19:51 "thomasschoeftner" [email protected]: > using a canonical file to load the Template - rather...

I think the example in https://github.com/xerial/sbt-pack/blob/develop/src/sbt-test/sbt-pack/multi-module/ is exactly what you mentioned. And its project settings are here: https://github.com/xerial/sbt-pack/blob/develop/src/sbt-test/sbt-pack/multi-module/project/Build.scala Please append `packSettings` only to the root project. Does that work for...

@sslavic Thanks for the detailed project example. I misunderstood the difference of `aggregate` and `dependsOn`. Aggregated projects never involve classpath dependencies but current sbt-pack implementation does not distinguish them. This...

I think it's been removed since #70 because some test cases were unstable. An idea is only disabling the test case and adding the feature again. Yes. Having such a...

sbt-pack itself is just running `update` task of sbt to get the list of dependencies. This task might be creating such files.

For bin folder files, sbt-pack adds +x, but for the other resource files, I think sbt-pack should preserve the file permission. Which version of sbt are you using? sbt 0.13...

If this might be related https://github.com/sbt/io/pull/76, using sbt 1.1 will resolve the problem.

It looks like a bug of sbt-io, which calls setExecutable(true), which only sets x (executable) to the file owner. I'll file a bug ticket.

At least sbt-pack 0.7.9 was using IO.copyDirectory (same with sbt-pack 0.10.1): https://github.com/xerial/sbt-pack/blob/28c8b6fc89a6ec9bb853753bc3b66efd6c0c4538/src/main/scala/xerial/sbt/Pack.scala#L351