Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Do not cache classloaders for Builds. This wasn't supposed to happen yet | Christopher Vogt | 2016-04-29 | 1 | -10/+10 | |
| | | ||||||
| * | fix test to use repo actually generally available | Christopher Vogt | 2016-04-29 | 1 | -1/+1 | |
| | | ||||||
| * | fix exit code return | Christopher Vogt | 2016-04-29 | 1 | -6/+6 | |
| | | ||||||
* | | Merge pull request #115 from cvogt/linux-compat | Jan Christopher Vogt | 2016-04-29 | 3 | -13/+24 | |
|\ \ | |/ |/| | Linux compat | |||||
| * | Add cbt's own CBT build and the scalatest plugin compile to tests | Christopher Vogt | 2016-04-29 | 1 | -3/+2 | |
| | | ||||||
| * | remove required gdate dependency | Christopher Vogt | 2016-04-29 | 2 | -10/+22 | |
|/ | ||||||
* | Merge pull request #114 from cvogt/fix-composition | Jan Christopher Vogt | 2016-04-29 | 7 | -34/+39 | |
|\ | | | | | Fix reproducible builds and composition | |||||
| * | Fix and enable test for reproducible builds | Christopher Vogt | 2016-04-29 | 2 | -3/+4 | |
| | | ||||||
| * | Fix use compatibility interfaces from main cbt | Christopher Vogt | 2016-04-29 | 5 | -29/+33 | |
| | | ||||||
| * | Fix composition. These members had been renamed | Christopher Vogt | 2016-04-29 | 1 | -2/+2 | |
|/ | ||||||
* | Merge pull request #113 from cvogt/fix-cbt-build | Jan Christopher Vogt | 2016-04-29 | 8 | -12/+20 | |
|\ | | | | | Fix cbt build | |||||
| * | Fix building cbt as a cbt project | Christopher Vogt | 2016-04-29 | 7 | -11/+16 | |
| | | ||||||
| * | Add IntelliJ note to developer docs | Christopher Vogt | 2016-04-29 | 1 | -1/+4 | |
|/ | ||||||
* | Merge pull request #111 from cvogt/reproducible-builds | Jan Christopher Vogt | 2016-04-28 | 50 | -682/+1522 | |
|\ | | | | | Reproducible builds | |||||
| * | Support recursively running tasks across all builds in transitive dependencies | Christopher Vogt | 2016-04-28 | 1 | -0/+48 | |
| | | ||||||
| * | Reproducible builds, composing different CBT version and various improvements | Christopher Vogt | 2016-04-28 | 42 | -570/+1237 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One large commit, because it is was hard to do these things in isolation or to separate them now. CBT now knows how to load other versions of itself - Support for reproducible builds (!), by providing a CBT git URL and hash to tie build to - Support for composing builds using different CBT versions (!) - introduce (in compatibility/) Java interfaces all CBT versions need to stay compatible with, so they can talk to each other. And put extension methods to these interfaces in cbt package object Class loading - add some sanity checks for class loading - improve class loader invalidation to fix bugs - implement caching in Java land class loaders. In particular to prevent the system class loader to repeatedly generate ClassNotFound exceptions in each sink of the class loader DAG for non JDK classes (meaning major speed up for projects with many classes). - getting rid of transient class loader cache unifying into "persistent" one instead (which is still wrong as invalidation eventually needs to invalidate entire sub graphs of the class loading DAG, not single class loaders. Seems like we'll have to abandon the hashmap based approach and tie caching to dependency objects) Other Caching - cache dependencies extracted from xml files, which was one major time killer, but invalidate cache when cbt changed (maven dependency user facing api needs simplification now!) - memorize last successful compile time in the file system rather than memory, to guard against unnecessary recompiling even across launches (or when using cbt direct) Structural improvements - Factor out ClassLoaderCache on Java land into its own class. - Port MultiClassLoader to Java land, to better compose classloaders in NailgunLauncher. - Remove many global constants and variables (in object paths and in NailgunLauncher) and pass them through instead. Needed for composing of builds. - move more code from resolver into Lib for less entanglement with classes (needed to compatibility interfaces) and better re-usability - remove canBeCached. Everything can be cached now, but we need to be careful about correct invalidation. - remove build announcing produced jars. We can add if ever needed. - change callNullary to return exit code instead of Unit as preparation for next commit introducing "recursive" ScalaTest - Makes ScalaTest support work (still a bit too inflexible, but mostly works well) | |||||
| * | Add debugging tips to the dev docs | Christopher Vogt | 2016-04-28 | 1 | -2/+13 | |
| | | ||||||
| * | move version numbers to Scala land (to reduce Java code size) | Christopher Vogt | 2016-04-28 | 2 | -6/+3 | |
| | | ||||||
| * | propagate time taken from bash script into logger | Christopher Vogt | 2016-04-28 | 3 | -4/+6 | |
| | | ||||||
| * | minor improvements to docs, imports, visibilities | Christopher Vogt | 2016-04-28 | 6 | -11/+13 | |
| | | ||||||
| * | add caching to CBTUrlClassLoader (so we can eventually wrap the system class ↵ | Christopher Vogt | 2016-04-28 | 1 | -1/+20 | |
| | | | | | | | | loader into it to not produce multiple exceptions in a classloader tree, where a class is not in the systemclassloader) | |||||
| * | for better performance do not generate exceptions during class loading for ↵ | Christopher Vogt | 2016-04-28 | 3 | -5/+13 | |
| | | | | | | | | control flow, but use null instead | |||||
| * | if compiler crashed, print commands to reproduce it outside of cbt | Christopher Vogt | 2016-04-28 | 1 | -14/+43 | |
| | | ||||||
| * | minor cleanup, better logging for downloads | Christopher Vogt | 2016-04-28 | 1 | -2/+3 | |
| | | ||||||
| * | print null as root class loader in URLClassLoader | Christopher Vogt | 2016-04-28 | 1 | -2/+2 | |
| | | ||||||
| * | only run tests if there are actually tests to run (useful for recursively ↵ | Christopher Vogt | 2016-04-28 | 2 | -14/+18 | |
| | | | | | | | | running tests in nested projects) | |||||
| * | Build mixin with recommended settings | Christopher Vogt | 2016-04-28 | 1 | -1/+12 | |
| | | ||||||
| * | make cacheabilty of git dependency depend on cacheability of it's build. ↵ | Christopher Vogt | 2016-04-28 | 1 | -13/+16 | |
| | | | | | | | | Also separate out regex, so we can use it to detect cbt version urls later | |||||
| * | from from File to Path directly | Christopher Vogt | 2016-04-28 | 1 | -2/+3 | |
| | | ||||||
| * | move soure file filterin logic into library for reusability | Christopher Vogt | 2016-04-28 | 2 | -8/+11 | |
| | | ||||||
| * | Make sonatype credentials customizable from Build class rather than hard coded | Christopher Vogt | 2016-04-28 | 2 | -11/+23 | |
| | | ||||||
| * | Wrong use of classifier | Christopher Vogt | 2016-04-28 | 1 | -1/+1 | |
| | | ||||||
| * | add commented out test case for resolving maven version ranges | Christopher Vogt | 2016-04-28 | 1 | -0/+3 | |
| | | ||||||
| * | remove dead code | Christopher Vogt | 2016-04-28 | 1 | -13/+0 | |
| | | ||||||
| * | Speedup transitiveDependencies computation by removing duplicate versions ↵ | Christopher Vogt | 2016-04-28 | 1 | -10/+19 | |
| | | | | | | | | and doing less string processing | |||||
| * | add important comment | Christopher Vogt | 2016-04-28 | 1 | -2/+4 | |
| | | ||||||
| * | Do not check javac version (took > 0.1 seconds each time). This will lead to ↵ | Christopher Vogt | 2016-04-28 | 1 | -8/+14 | |
| | | | | | | | | compile errors with java6, but those should be easy to google. | |||||
| * | compute logged times during startup as delta from beginning | Christopher Vogt | 2016-04-28 | 1 | -2/+15 | |
| | | ||||||
| * | this seems to fix some bug with nailgun not restarting fast enough | Christopher Vogt | 2016-04-28 | 1 | -0/+2 | |
|/ | ||||||
* | Merge pull request #108 from cvogt/resolver-fixes | Jan Christopher Vogt | 2016-04-08 | 2 | -8/+14 | |
|\ | | | | | Allow substituting POM variables inside of strings, not only entire e… | |||||
| * | Allow substituting POM variables inside of strings, not only entire elements | Christopher Vogt | 2016-04-08 | 2 | -8/+14 | |
|/ | ||||||
* | Merge pull request #103 from cvogt/cross-compile | Jan Christopher Vogt | 2016-04-07 | 8 | -16/+54 | |
|\ | | | | | cross building and automatic snaphot ids | |||||
| * | cross building and automatic snaphot ids | Christopher Vogt | 2016-04-07 | 8 | -16/+54 | |
|/ | | | | | Adds support for cross building for multiple scala versions And for automatically appending -SNAPSHOT to the id, when publishing a snapshot. | |||||
* | Merge pull request #102 from cvogt/chris | Jan Christopher Vogt | 2016-04-07 | 15 | -81/+84 | |
|\ | | | | | More classloading related fixes | |||||
| * | Fix stage2 classloader not being stored in transient cache | Christopher Vogt | 2016-04-07 | 4 | -11/+23 | |
| | | | | | | | | | | and thus being re-created on second and subsequent runs. Also use classloader from cache for Builds rather than new one, which should properly make Build dependencies work. | |||||
| * | Temporarily cache classloaders for potentially changing files | Christopher Vogt | 2016-04-06 | 2 | -24/+26 | |
| | | | | | | | | to avoid creating classloaders for the same files more than once, which leads to conflicts. | |||||
| * | Pass ClassLoaderCache from stage1 to stage2 instead of wrongly creating ↵ | Christopher Vogt | 2016-04-06 | 4 | -7/+9 | |
| | | | | | | | | another one. This should improve behavior of transient cache. | |||||
| * | caching return values parameterized methods seems just wrong | Christopher Vogt | 2016-04-06 | 1 | -14/+3 | |
| | | ||||||
| * | Correctly interact with build in cwd instead of loading it's managed build ↵ | Christopher Vogt | 2016-04-06 | 9 | -25/+23 | |
| | | | | | | | | in case of a BuildBuild. | |||||
| * | fix time shown by logger broken in f7b84e735e150578324caa0c4289404a033cd9b2 | Christopher Vogt | 2016-04-06 | 1 | -1/+1 | |
|/ |