Copying a build directory preserving cached work

9 views
Skip to first unread message

Michael Armbrust

unread,
Jul 1, 2016, 2:38:27 PM7/1/16
to simple-b...@googlegroups.com
Hello,

I'm trying to set up some cross machine parallel testing infrastructure.  The goal would be to take an SBT project, compile it once and then tar up the whole thing.  Then I could untar it on a couple machines and run tests, skipping the compilation step.

The issue I'm hitting is that when I untar my project, some thing has invalidated all of the work done, and SBT is recompiling everything from scratch.

Any ideas on what I'm doing wrong?  This SBT 0.13.11.

Michael

Jean-Rémi Desjardins

unread,
Jul 1, 2016, 3:42:32 PM7/1/16
to simple-b...@googlegroups.com
Hi Michael,

Distributed test execution on a cluster of computers would be awesome. I hope you can expose this as an sbt plugin. This would hugely benefit the community and I am sure you could find a small community of contributors to help maintain the plugin. If this is what you are aiming for, best of luck and be sure to announce the plugin so that I can have a look at it and potentially contribute to it.

Unfortunately, I don’t know why after decompressing the project, things are being recompiled. My guess is that it screws up with how sbt detects whether or not a file was changed. Perhaps there is another way of sending the required information that does not require compressing the entire project on disk.

Cheers,
Jean-Remi

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at https://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages