Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | upgrade test project cbt versions parts 2 of 2 | Christopher Vogt | 2017-02-09 | 4 | -4/+4 |
| | |||||
* | upgrade test project cbt versions | Christopher Vogt | 2017-02-09 | 4 | -4/+4 |
| | | | | | | because this cbt version has become incompatible with the ones references there and would lead to Context related errors part 1 of 2 | ||||
* | idempotent change propagation | Christopher Vogt | 2017-02-09 | 1 | -2/+2 |
| | | | | | | using lastModified instead of a non-idempotent needsUpdate flag this fixes a bug where dependees would not be rebuilt if cbt exited or was killed after dependencies were already rebuilt. | ||||
* | memoize task results across classes within a single run | Christopher Vogt | 2017-02-09 | 1 | -2/+3 |
| | |||||
* | replace flawed concurrent hashmap cache with consistent replacement | Christopher Vogt | 2017-02-01 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | The concurrent hashmap approach to classloader caching was flawed. Assume you have two concurrently running builds A and B and projects P2 and P3 depending on project P1. And assume a time sequence where A compiles P1, then compiles P2, then P1’s sources change, then B compiles P1, then A compiles P3. At the end P2 and P3 will have different versions of P1 as their parent classloaders. This is inconsistent. The easiest way to work around this is making sure only one thread is changing the classloader cache during it’s entire run. This would mean either no concurrency or what we have done here, which is letting threads work on a copy of the cache and replace the original cache in the end using an atomic operation. This means the thread that finishes last wins, but for caching that’s fine. Worst case some things aren’t cached in a concurrent execution. This change also means that we don’t need concurrent hashmaps for the classloader cache anymore since no two theads will access the same hashmap. We still need a concurrent hashmap for the class caches inside of the classloaders as multiple threads can access the same classloaders. | ||||
* | Merge separate hashmaps for persistent cache into one | Christopher Vogt | 2017-02-01 | 1 | -2/+1 |
| | | | | | | | This isn’t type-safe, but re-using that same hashmap for both keys and classloaders allows to reduce the number of members in Context. Also we can re-use the same hashMap for other things as well in the coming commits, e.g. timestamps. | ||||
* | fix wrong assumption: stderr contains compiler info output | Christopher Vogt | 2016-11-09 | 1 | -20/+10 |
| | | | | also improve failure output | ||||
* | Upgrade references cbt versions after binary incompatible Context change | Christopher Vogt | 2016-11-09 | 4 | -4/+4 |
| | | | | part 2 | ||||
* | Upgrade references cbt versions after binary incompatible Context change | Christopher Vogt | 2016-11-09 | 4 | -4/+4 |
| | |||||
* | Remove version from context, we can now use dynamic overrides | Christopher Vogt | 2016-11-09 | 3 | -3/+2 |
| | |||||
* | Add support for dynamic re-configuration. | Christopher Vogt | 2016-11-08 | 1 | -2/+73 |
| | | | | | The exact precedence rule of override code vs original code may still need to be tweaked as we go along. | ||||
* | upgrade hard-coded git hash dependencies after tests pass | Christopher Vogt | 2016-11-08 | 4 | -4/+4 |
| | |||||
* | upgrade hard-coded git hash dependencies | Christopher Vogt | 2016-11-08 | 4 | -4/+4 |
| | |||||
* | add context based task result cache | Christopher Vogt | 2016-11-08 | 1 | -0/+1 |
| | |||||
* | Fix bug in tests that could block infinitely | Christopher Vogt | 2016-11-07 | 1 | -10/+15 |
| | |||||
* | Make Eval tests pass and add them to cbt tests | Christopher Vogt | 2016-11-07 | 1 | -0/+6 |
| | |||||
* | add tests for cross-cbt-version exit code and err/out directing | Christopher Vogt | 2016-10-14 | 4 | -6/+36 |
| | | | | also adds example for propagating build-time information into run time | ||||
* | tests for stderr and out behaving correctly for example of docJar | Christopher Vogt | 2016-10-13 | 1 | -0/+8 |
| | |||||
* | change git dependencies to be easier manageable when cbt becomes source ↵ | Christopher Vogt | 2016-10-03 | 4 | -7/+6 |
| | | | | incompatible | ||||
* | add sample library to test git dependencies | Christopher Vogt | 2016-10-03 | 2 | -0/+25 |
| | |||||
* | clean up main class discovery mechanism and offer interactive choice | Christopher Vogt | 2016-10-02 | 1 | -1/+2 |
| | | | | if multiple main classes are found | ||||
* | another test fix for an artifact that apparently disappeared on sonatype | Christopher Vogt | 2016-09-28 | 1 | -3/+3 |
| | |||||
* | disable test sporadically failing on circleci from circleci | Christopher Vogt | 2016-09-28 | 3 | -8/+11 |
| | |||||
* | set circle back to java7 to make sure cbt works there | Christopher Vogt | 2016-09-28 | 1 | -3/+7 |
| | | | | and disable dotty tests for java7, but run them otherwise, e.g. locally | ||||
* | prototype dotty doc generation, but that class does not exist | Christopher Vogt | 2016-09-28 | 1 | -0/+1 |
| | |||||
* | Dotty plugin and example project. | Christopher Vogt | 2016-09-26 | 1 | -0/+2 |
| | |||||
* | fix checksum check for downloaded jars by ignoring case | Christopher Vogt | 2016-09-15 | 1 | -0/+4 |
| | |||||
* | make tests check for wart-remover example expected compile failure (not success) | Christopher Vogt | 2016-09-14 | 1 | -1/+7 |
| | |||||
* | WartRemover plugin implementation (#167) | Mario Pastorelli | 2016-09-14 | 1 | -0/+2 |
| | |||||
* | fix task name appearing in args (#132) | Christopher Vogt | 2016-09-13 | 2 | -0/+8 |
| | |||||
* | better error message for missing build.scala and missing class Build | Christopher Vogt | 2016-09-12 | 5 | -0/+22 |
| | |||||
* | work correctly in the presence of empty build folders | Christopher Vogt | 2016-09-12 | 2 | -0/+5 |
| | |||||
* | test for good error message when Build did not extend BaseBuild | Christopher Vogt | 2016-09-12 | 2 | -0/+7 |
| | |||||
* | fix tests when nailgun started from different cwd | Christopher Vogt | 2016-09-12 | 1 | -3/+3 |
| | |||||
* | Add a bunch of options to try to allow safe usage of clean | Christopher Vogt | 2016-08-28 | 1 | -4/+17 |
| | | | | | | | try to make tests safer (fixed tests don't have clean yet, nothing has nothing to delete, so current test code would fail) | ||||
* | Add clean task | ChavXO | 2016-08-28 | 1 | -0/+11 |
| | |||||
* | uber-jar plugin implementation | rockjam | 2016-06-24 | 1 | -1/+3 |
| | |||||
* | add multi-project example (#158) | Jan Christopher Vogt | 2016-06-24 | 1 | -0/+1 |
| | | | | | | * add multi-project example * add shared build | ||||
* | Scalafmt plugin implementation (#156) | Nikolay Tatarinov | 2016-06-23 | 1 | -0/+4 |
| | | | | | | | | | | | | | | * scalariform: improve logging, declare tasks final * scalafmt plugin implementation * add scalafmt and scalariform plugins and examples to tests * fix logging guarded logging behaviour * add notes about formatting check to README * fix compilation error in examples | ||||
* | add scalajs example to tests | Christopher Vogt | 2016-06-19 | 1 | -3/+8 |
| | |||||
* | better name for DirectoryDependency | Christopher Vogt | 2016-06-19 | 1 | -2/+2 |
| | | | | | seems to be more precise than BuildDependency, hence hopefully more readable also cleaned up Scaffolding and added DirectoryDependency example | ||||
* | add plugin builds and scalatest example build to being compiled in tests | Christopher Vogt | 2016-06-19 | 2 | -1/+6 |
| | |||||
* | Get rid of Build default imports to reduce noise in build files. This also ↵ | Christopher Vogt | 2016-06-15 | 5 | -9/+0 |
| | | | | changes builds from using immutable.Seq to using Predef.Seq in favor of simplicity over purity. This has been discussed on gitter. | ||||
* | turn Build base classes into traits for less verbosity and uniform usage ↵ | Christopher Vogt | 2016-06-15 | 3 | -3/+3 |
| | | | | with any other plugin | ||||
* | scalajs cross project support as plugin | Katrin Shechtman | 2016-06-13 | 3 | -3/+3 |
| | |||||
* | Fix the tests, by adapting to recent CBT changes. (This was easier than I ↵ | Christopher Vogt | 2016-06-01 | 3 | -22/+23 |
| | | | | expected) | ||||
* | Update fixed dependency hash to latest | Christopher Vogt | 2016-06-01 | 1 | -1/+1 |
| | |||||
* | add dependency to tests which currently fails | Christopher Vogt | 2016-05-03 | 1 | -0/+2 |
| | |||||
* | Convenience factory methods for Resolvers | Christopher Vogt | 2016-05-03 | 2 | -47/+47 |
| | |||||
* | add test info for currently failing dependency | Christopher Vogt | 2016-05-02 | 1 | -0/+2 |
| |