Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | support flatClassLoader and run at Dependency level | Christopher Vogt | 2017-02-14 | 1 | -28/+2 | |
| | ||||||
* | implicitly pass classloader, might make code easier | Christopher Vogt | 2017-02-14 | 10 | -37/+34 | |
| | | | | | and prepares for allowing `run` and `runFlat` at Dependency instead of Build level | |||||
* | use target directory rather than projectDirectory as caching key | Christopher Vogt | 2017-02-13 | 1 | -1/+1 | |
| | | | | | | makes more sense as multiple projects with the same projectDirectory but different sources and targets can make sense e.g. for sbt directory structure, etc | |||||
* | add support for compiling .java files to Dotty plugin | Christopher Vogt | 2017-02-13 | 1 | -3/+28 | |
| | ||||||
* | fix dotty runtime dependency and expose some more config statically | Christopher Vogt | 2017-02-13 | 1 | -10/+11 | |
| | ||||||
* | easier setting of projectDirectory in sub-builds | Christopher Vogt | 2017-02-13 | 5 | -11/+11 | |
| | | | | | by replacing context.projectDirectory by workingDirectory and using it as the default but allowing it to being overridden | |||||
* | multi-project build example using a single build file | Christopher Vogt | 2017-02-13 | 1 | -1/+1 | |
| | ||||||
* | Add support for nested builds and use it to replace cross compilation | Christopher Vogt | 2017-02-13 | 3 | -14/+19 | |
| | | | | | | | | command which was previously hard-coded This will allow multi-project builds, too but we should first fix caching across instances and GitDependencies on sub-builds within other repositories. | |||||
* | make sure jar, tests and main classes use the right directories | Christopher Vogt | 2017-02-13 | 3 | -7/+8 | |
| | ||||||
* | support for flat classloader and enhanced resources example | Christopher Vogt | 2017-02-13 | 1 | -3/+22 | |
| | ||||||
* | omit classpath when classpath is empty (= no dependencies, only jdk) | Christopher Vogt | 2017-02-11 | 2 | -15/+14 | |
| | ||||||
* | upgrade dotty and detach logic from inheritance | Christopher Vogt | 2017-02-11 | 1 | -19/+24 | |
| | ||||||
* | fix merge-conflict in Frege plugin | Christopher Vogt | 2017-02-10 | 1 | -26/+27 | |
| | ||||||
* | Merge pull request #333 from cvogt/custom-dotty | Jan Christopher Vogt | 2017-02-10 | 1 | -6/+7 | |
|\ | | | | | Support custom Dotty compiler | |||||
| * | Support custom Dotty compiler | Christopher Vogt | 2017-02-09 | 1 | -6/+7 | |
| | | ||||||
* | | Merge pull request #314 from cvogt/fix-update-bugs | Jan Christopher Vogt | 2017-02-10 | 10 | -107/+89 | |
|\| | | | | | better caching and change propagation fixing link-time errors | |||||
| * | let Stage1 handle Stage2 exit code | Christopher Vogt | 2017-02-09 | 2 | -3/+7 | |
| | | ||||||
| * | idempotent change propagation | Christopher Vogt | 2017-02-09 | 9 | -55/+56 | |
| | | | | | | | | | | | | 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 | 9 | -45/+23 | |
| | | ||||||
| * | make full dependencies available to compile instead of only classpath | Christopher Vogt | 2017-02-01 | 1 | -6/+5 | |
| | | | | | | | | | | this will make it possible to access lastModified times and cache them in the following commits | |||||
| * | replace flawed concurrent hashmap cache with consistent replacement | Christopher Vogt | 2017-02-01 | 1 | -2/+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 | 3 | -4/+3 | |
| | | | | | | | | | | | | | | 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. | |||||
| * | Update early dependencies to new zinc | Christopher Vogt | 2016-11-29 | 1 | -1/+1 | |
| | | ||||||
* | | Frege support. | mchav | 2016-12-23 | 1 | -0/+136 | |
| | | ||||||
* | | Moved source file filter to build. | mchav | 2016-12-23 | 2 | -6/+6 | |
|/ | ||||||
* | Remove classifier from pom files. | mchav | 2016-11-25 | 1 | -3/+3 | |
| | ||||||
* | Merge pull request #313 from cvogt/chris3 | Jan Christopher Vogt | 2016-11-13 | 1 | -2/+5 | |
|\ | | | | | minor cleanups regarding Context | |||||
| * | minor cleanups regarding Context | Christopher Vogt | 2016-11-13 | 1 | -2/+5 | |
| | | ||||||
* | | Remove dead code. It does not look like the elses are needed. | Christopher Vogt | 2016-11-13 | 1 | -15/+5 | |
| | | | | | | | | Because BuildBuild is only created if there is a build folder. | |||||
* | | fixes interacting with BuildBuilds from the cli and cleans up. | Christopher Vogt | 2016-11-13 | 2 | -17/+11 | |
| | | | | | | | | | | Before this when doing `build/$ cbt dependencies` cbt would not show up because cbt would be using a BaseBuild, not a BuildBuild. Not it does. | |||||
* | | small refactoring simplifying Stage2 | Christopher Vogt | 2016-11-13 | 1 | -7/+2 | |
| | | ||||||
* | | minor refactoring using shorter names | Christopher Vogt | 2016-11-13 | 3 | -11/+14 | |
|/ | ||||||
* | Merge pull request #311 from cvogt/remove-dot-copy | Jan Christopher Vogt | 2016-11-13 | 3 | -9/+10 | |
|\ | | | | | reduce usage of .copy as preparation to replace it with newBuild | |||||
| * | reduce usage of .copy as preparation to replace it with newBuild | Christopher Vogt | 2016-11-13 | 3 | -9/+10 | |
| | | ||||||
* | | Assert right build class. Fixes #174 | Christopher Vogt | 2016-11-13 | 2 | -1/+15 | |
|/ | ||||||
* | Remove version from context, we can now use dynamic overrides | Christopher Vogt | 2016-11-09 | 3 | -6/+1 | |
| | ||||||
* | Upgrade zinc to 0.3.12 | Christopher Vogt | 2016-11-09 | 1 | -1/+1 | |
| | ||||||
* | Add support for dynamic re-configuration. | Christopher Vogt | 2016-11-08 | 3 | -4/+31 | |
| | | | | | The exact precedence rule of override code vs original code may still need to be tweaked as we go along. | |||||
* | this doesn't need managedContext | Christopher Vogt | 2016-11-08 | 1 | -8/+9 | |
| | ||||||
* | add context based task result cache | Christopher Vogt | 2016-11-08 | 2 | -0/+18 | |
| | ||||||
* | filter out 'direct' meta task earlier from the args | Christopher Vogt | 2016-11-08 | 1 | -2/+1 | |
| | ||||||
* | Add support for resources (still limited by CBT's classloader visibility) | Christopher Vogt | 2016-11-03 | 1 | -1/+5 | |
| | ||||||
* | web ui | tim-zh | 2016-10-28 | 1 | -0/+7 | |
| | ||||||
* | Fix: non-existing git ref will now be tried to be fetched next time | Christopher Vogt | 2016-10-14 | 1 | -18/+30 | |
| | | | | | | | We had a problem where cbt cloned a repository, then tried to checkout the desired ref, but if it didn't exist would get stuck with that ref and never try again to fetch the correct one. This would lead to wrong versions of libraries and cbt being loaded for particular referenced refs | |||||
* | add repl task to BaseBuild | rockjam | 2016-10-05 | 2 | -9/+25 | |
| | ||||||
* | Merge pull request #264 from cvogt/chris3 | Jan Christopher Vogt | 2016-10-04 | 1 | -1/+1 | |
|\ | | | | | Chris3 | |||||
| * | make BuildInterfaces an abstract class so it can have default values | Christopher Vogt | 2016-10-03 | 1 | -1/+1 | |
| | | | | | | | | | | and it becomes slightly easier to maintain source compatibility between cbt versions | |||||
* | | Merge pull request #261 from cvogt/simple-example | Jan Christopher Vogt | 2016-10-04 | 1 | -0/+4 | |
|\ \ | |/ |/| | Simple example | |||||
| * | readmes explaining plugin folder roles | Christopher Vogt | 2016-09-29 | 1 | -0/+4 | |
| | | ||||||
* | | Sonatype release plugin (#247) | Nikolay Tatarinov | 2016-10-03 | 4 | -34/+13 | |
| | |