aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Do not cache classloaders for Builds. This wasn't supposed to happen yetChristopher Vogt2016-04-291-10/+10
| |
| * fix test to use repo actually generally availableChristopher Vogt2016-04-291-1/+1
| |
| * fix exit code returnChristopher Vogt2016-04-291-6/+6
| |
* | Merge pull request #115 from cvogt/linux-compatJan Christopher Vogt2016-04-293-13/+24
|\ \ | |/ |/| Linux compat
| * Add cbt's own CBT build and the scalatest plugin compile to testsChristopher Vogt2016-04-291-3/+2
| |
| * remove required gdate dependencyChristopher Vogt2016-04-292-10/+22
|/
* Merge pull request #114 from cvogt/fix-compositionJan Christopher Vogt2016-04-297-34/+39
|\ | | | | Fix reproducible builds and composition
| * Fix and enable test for reproducible buildsChristopher Vogt2016-04-292-3/+4
| |
| * Fix use compatibility interfaces from main cbtChristopher Vogt2016-04-295-29/+33
| |
| * Fix composition. These members had been renamedChristopher Vogt2016-04-291-2/+2
|/
* Merge pull request #113 from cvogt/fix-cbt-buildJan Christopher Vogt2016-04-298-12/+20
|\ | | | | Fix cbt build
| * Fix building cbt as a cbt projectChristopher Vogt2016-04-297-11/+16
| |
| * Add IntelliJ note to developer docsChristopher Vogt2016-04-291-1/+4
|/
* Merge pull request #111 from cvogt/reproducible-buildsJan Christopher Vogt2016-04-2850-682/+1522
|\ | | | | Reproducible builds
| * Support recursively running tasks across all builds in transitive dependenciesChristopher Vogt2016-04-281-0/+48
| |
| * Reproducible builds, composing different CBT version and various improvementsChristopher Vogt2016-04-2842-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 docsChristopher Vogt2016-04-281-2/+13
| |
| * move version numbers to Scala land (to reduce Java code size)Christopher Vogt2016-04-282-6/+3
| |
| * propagate time taken from bash script into loggerChristopher Vogt2016-04-283-4/+6
| |
| * minor improvements to docs, imports, visibilitiesChristopher Vogt2016-04-286-11/+13
| |
| * add caching to CBTUrlClassLoader (so we can eventually wrap the system class ↵Christopher Vogt2016-04-281-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 Vogt2016-04-283-5/+13
| | | | | | | | control flow, but use null instead
| * if compiler crashed, print commands to reproduce it outside of cbtChristopher Vogt2016-04-281-14/+43
| |
| * minor cleanup, better logging for downloadsChristopher Vogt2016-04-281-2/+3
| |
| * print null as root class loader in URLClassLoaderChristopher Vogt2016-04-281-2/+2
| |
| * only run tests if there are actually tests to run (useful for recursively ↵Christopher Vogt2016-04-282-14/+18
| | | | | | | | running tests in nested projects)
| * Build mixin with recommended settingsChristopher Vogt2016-04-281-1/+12
| |
| * make cacheabilty of git dependency depend on cacheability of it's build. ↵Christopher Vogt2016-04-281-13/+16
| | | | | | | | Also separate out regex, so we can use it to detect cbt version urls later
| * from from File to Path directlyChristopher Vogt2016-04-281-2/+3
| |
| * move soure file filterin logic into library for reusabilityChristopher Vogt2016-04-282-8/+11
| |
| * Make sonatype credentials customizable from Build class rather than hard codedChristopher Vogt2016-04-282-11/+23
| |
| * Wrong use of classifierChristopher Vogt2016-04-281-1/+1
| |
| * add commented out test case for resolving maven version rangesChristopher Vogt2016-04-281-0/+3
| |
| * remove dead codeChristopher Vogt2016-04-281-13/+0
| |
| * Speedup transitiveDependencies computation by removing duplicate versions ↵Christopher Vogt2016-04-281-10/+19
| | | | | | | | and doing less string processing
| * add important commentChristopher Vogt2016-04-281-2/+4
| |
| * Do not check javac version (took > 0.1 seconds each time). This will lead to ↵Christopher Vogt2016-04-281-8/+14
| | | | | | | | compile errors with java6, but those should be easy to google.
| * compute logged times during startup as delta from beginningChristopher Vogt2016-04-281-2/+15
| |
| * this seems to fix some bug with nailgun not restarting fast enoughChristopher Vogt2016-04-281-0/+2
|/
* Merge pull request #108 from cvogt/resolver-fixesJan Christopher Vogt2016-04-082-8/+14
|\ | | | | Allow substituting POM variables inside of strings, not only entire e…
| * Allow substituting POM variables inside of strings, not only entire elementsChristopher Vogt2016-04-082-8/+14
|/
* Merge pull request #103 from cvogt/cross-compileJan Christopher Vogt2016-04-078-16/+54
|\ | | | | cross building and automatic snaphot ids
| * cross building and automatic snaphot idsChristopher Vogt2016-04-078-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/chrisJan Christopher Vogt2016-04-0715-81/+84
|\ | | | | More classloading related fixes
| * Fix stage2 classloader not being stored in transient cacheChristopher Vogt2016-04-074-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 filesChristopher Vogt2016-04-062-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 Vogt2016-04-064-7/+9
| | | | | | | | another one. This should improve behavior of transient cache.
| * caching return values parameterized methods seems just wrongChristopher Vogt2016-04-061-14/+3
| |
| * Correctly interact with build in cwd instead of loading it's managed build ↵Christopher Vogt2016-04-069-25/+23
| | | | | | | | in case of a BuildBuild.
| * fix time shown by logger broken in f7b84e735e150578324caa0c4289404a033cd9b2Christopher Vogt2016-04-061-1/+1
|/