William Harvey

Results 9 comments of William Harvey

I should add that quitting and reloading SBT allows the project to compile again, but only a single time before the issue above occurs again.

Thanks! I get ``etlas: unrecognized 'install' option `--classpath'``. I ran `etlas install --help` but couldn't find anything allowing specification of classpath.

Thanks again! I ran it five times, each time obtaining identical output: ``` no user package environment file found at c:\Temp\example\src\main\eta C:\Temp\example\target\eta\dist\build\HSexample-0.1.0.0-HE1kIw7Yuzp8IzZKCddlt2.jar C:\Users\harveyw\AppData\Roaming\etlas\x86_64-windows-eta-0.0.9.1-ghc7_10_3\StateVar-1.1.0.4-qI9GELIXTgF6Ha12HPEMe\HSStateVar-1.1.0.4-qI9GELIXTgF6Ha12HPEMe.jar C:\Users\harveyw\AppData\Roaming\etlas\x86_64-windows-eta-0.0.9.1-ghc7_10_3\adjunctions-4.3-FjRr1y2j2fs8J89MN5tmU6\HSadjunctions-4.3-FjRr1y2j2fs8J89MN5tmU6.jar C:\Users\harveyw\AppData\Roaming\etlas\x86_64-windows-eta-0.0.9.1-ghc7_10_3\aeson-1.2.1.0-Y413FHmlkro4MkW0lk6z\HSaeson-1.2.1.0-Y413FHmlkro4MkW0lk6z.jar C:\Users\harveyw\AppData\Roaming\etlas\x86_64-windows-eta-0.0.9.1-ghc7_10_3\array-0.5.2.0-2RWOOaF5GcW4U6D6pQUKE5\HSarray-0.5.2.0-2RWOOaF5GcW4U6D6pQUKE5.jar C:\Users\harveyw\AppData\Roaming\etlas\x86_64-windows-eta-0.0.9.1-ghc7_10_3\attoparsec-0.13.2.0-7QLASebVVe1IGcxmRczox4\HSattoparsec-0.13.2.0-7QLASebVVe1IGcxmRczox4.jar C:\Users\harveyw\AppData\Roaming\etlas\x86_64-windows-eta-0.0.9.1-ghc7_10_3\base-4.8.2.0-IPFDtZjmEfh5tPXF10v5hF\HSbase-4.8.2.0-IPFDtZjmEfh5tPXF10v5hF.jar C:\Users\harveyw\AppData\Roaming\etlas\x86_64-windows-eta-0.0.9.1-ghc7_10_3\base-compat-0.9.3-EqChIWszWYUJFoVHKmIX61\HSbase-compat-0.9.3-EqChIWszWYUJFoVHKmIX61.jar C:\Users\harveyw\AppData\Roaming\etlas\x86_64-windows-eta-0.0.9.1-ghc7_10_3\base-orphans-0.6-BrDHtfuUyx0EsEBTKmrZqp\HSbase-orphans-0.6-BrDHtfuUyx0EsEBTKmrZqp.jar...

I think I may have an idea. Interestingly, I can't do a `clean` either after editing an eta file: ``` > clean [info] [etlas] cleaning... [info] [etlas] Error while removing...

I think it may have to do with resource management of the created `Process` that runs `etlas` here: https://github.com/typelead/sbt-eta/blob/15e0e005346ff68320cb24711b58def1b5db35d2/src/main/scala/com/typelead/SbtEta.scala#L110 Looking at the [Process API](https://www.scala-lang.org/api/current/scala/sys/process/Process.html), it looks like there is a...

Ok, I think (with the usual caveats) I understand what is going on. It doesn't appear to be a resource leak. Etlas produces a linked jar file that is then...

@rahulmutt Unfortunately, not yet. I have limited experience writing SBT plugins, but based on my assessment I think the changes required to fix the problem may be substantial. I have...

@rahulmutt Wow, that would be cool! So, I could be wrong, but I think that running `etlas`, then adding the etlas-compiled jar to `unmanagedJars` prior to SBT's scala/java compilation phase...

Feel free to work on things. You can probably go a long way with (1) and (2) by piggybacking on Shapeless's extensible records, but I'm not 100% sure. That might...