Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | more concise runMain in more places | Christopher Vogt | 2017-03-09 | 2 | -5/+4 |
| | |||||
* | comment about cleanup TODO | Christopher Vogt | 2017-03-07 | 1 | -1/+1 |
| | |||||
* | make sure binary dependencies exist | Christopher Vogt | 2017-03-07 | 2 | -1/+4 |
| | |||||
* | support publishing to basic-auth protected maven repositories | Christopher Vogt | 2017-03-06 | 2 | -4/+12 |
| | |||||
* | support resolving unsigned dependencies | Christopher Vogt | 2017-03-06 | 2 | -8/+8 |
| | |||||
* | separate type-safe proguard wrapper into self-contained library | Christopher Vogt | 2017-03-04 | 1 | -0/+3 |
| | | | | also make logic to maintain auto-generated sections re-usable | ||||
* | add comprehensive, type-safe proguard plugin | Christopher Vogt | 2017-03-01 | 1 | -2/+2 |
| | | | | | this also demonstrates how to programmatically generate an extensive, type-safe api for a stringly-typed interface | ||||
* | add / helper also for Path anticipating migration to nio | Christopher Vogt | 2017-03-01 | 1 | -0/+10 |
| | |||||
* | simplify uberJar plugin and activate recursiveDelete lib function | Christopher Vogt | 2017-02-28 | 1 | -3/+2 |
| | |||||
* | equality for BoundMavenDependency | Christopher Vogt | 2017-02-27 | 1 | -0/+5 |
| | |||||
* | remove dead code | Christopher Vogt | 2017-02-27 | 1 | -7/+0 |
| | |||||
* | minor logging improvements | Christopher Vogt | 2017-02-27 | 3 | -3/+8 |
| | |||||
* | minor style enhancement | Christopher Vogt | 2017-02-27 | 1 | -1/+1 |
| | |||||
* | important fixme message for usability issue | Christopher Vogt | 2017-02-27 | 1 | -0/+4 |
| | |||||
* | minor syntax fix | Christopher Vogt | 2017-02-27 | 1 | -1/+1 |
| | |||||
* | sh-like exit code combination operators | Christopher Vogt | 2017-02-27 | 1 | -1/+4 |
| | |||||
* | disabled prototype code for deleteRecursive | Christopher Vogt | 2017-02-27 | 1 | -1/+17 |
| | |||||
* | make listRecursive a File extension method for brevity | Christopher Vogt | 2017-02-26 | 2 | -7/+8 |
| | |||||
* | canLoad method (not used right now, but may come in handy) | Christopher Vogt | 2017-02-22 | 1 | -0/+10 |
| | |||||
* | colors for resolving logging | Christopher Vogt | 2017-02-22 | 1 | -1/+1 |
| | |||||
* | logging loaded classes (some of it at least) | Christopher Vogt | 2017-02-22 | 1 | -0/+4 |
| | |||||
* | a few hopefully simplifying rewirings in the implicits | Christopher Vogt | 2017-02-22 | 2 | -11/+8 |
| | |||||
* | simplify and add features to reflective task lookup code | Christopher Vogt | 2017-02-18 | 1 | -2/+1 |
| | | | | | | | | | | | | | Code is much simpler now. Now cbt sub-tasks are separated by . instead of spaces to unify the syntax with method calls Scala. Also the reflective code now works not only on builds but any kind of values, so zero argument members of any types of return values can simply be called. This is also a large step towards detangling the reflective lookup from cbt and turning it into a fully fletched shell to Scala "native" call solution. | ||||
* | fix / to not turn paths absolute. Checked this doesn’t affect anything! | Christopher Vogt | 2017-02-15 | 1 | -1/+1 |
| | |||||
* | add package to generated Build in build.scala and in-package discovery | Christopher Vogt | 2017-02-15 | 1 | -23/+31 |
| | | | | | | | | | | | This should allow for build to add other builds to their dependencies and interact with them in a type-safe way. And ever regardless it seems like good practice to never have the same class existing in the same package or the top-level package even if they don’t end up on the same classpath. This might also help make stack traces easier to understand. Also improve error messages for mistakes with the build class, e.g. constructor, super classes, etc. | ||||
* | now really cache classloaders for builds | Christopher Vogt | 2017-02-14 | 1 | -7/+3 |
| | | | | should be safe now that we rebuild based on lastModified | ||||
* | more debugging info for a bug observed with compiling dotty | Christopher Vogt | 2017-02-14 | 1 | -1/+5 |
| | |||||
* | ignore classes in randomly nested subdirectories | Christopher Vogt | 2017-02-14 | 1 | -8/+13 |
| | | | | useful for `dotty run <file>` | ||||
* | support flatClassLoader and run at Dependency level | Christopher Vogt | 2017-02-14 | 1 | -0/+13 |
| | |||||
* | implicitly pass classloader, might make code easier | Christopher Vogt | 2017-02-14 | 5 | -59/+62 |
| | | | | | and prepares for allowing `run` and `runFlat` at Dependency instead of Build level | ||||
* | easier setting of projectDirectory in sub-builds | Christopher Vogt | 2017-02-13 | 2 | -3/+5 |
| | | | | | by replacing context.projectDirectory by workingDirectory and using it as the default but allowing it to being overridden | ||||
* | remove some unnecessary Context fields while we are modifying context | Christopher Vogt | 2017-02-13 | 3 | -5/+8 |
| | |||||
* | Add support for nested builds and use it to replace cross compilation | Christopher Vogt | 2017-02-13 | 1 | -1/+0 |
| | | | | | | | | 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. | ||||
* | Merge pull request #337 from cvogt/minor-dotty-plugin-improvements | Jan Christopher Vogt | 2017-02-12 | 1 | -19/+16 |
|\ | | | | | Minor dotty plugin improvements | ||||
| * | omit classpath when classpath is empty (= no dependencies, only jdk) | Christopher Vogt | 2017-02-11 | 1 | -19/+16 |
| | | |||||
* | | Urlencode owner | Trevor SIbanda | 2017-02-12 | 1 | -1/+1 |
|/ | |||||
* | upgrade zinc to 0.3.13 | Christopher Vogt | 2017-02-10 | 1 | -1/+1 |
| | |||||
* | let Stage1 handle Stage2 exit code | Christopher Vogt | 2017-02-09 | 1 | -1/+1 |
| | |||||
* | various smaller changes | Christopher Vogt | 2017-02-09 | 3 | -5/+13 |
| | |||||
* | idempotent change propagation | Christopher Vogt | 2017-02-09 | 8 | -195/+183 |
| | | | | | | 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 | 8 | -90/+114 |
| | |||||
* | make full dependencies available to compile instead of only classpath | Christopher Vogt | 2017-02-01 | 3 | -4/+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 | 8 | -16/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | 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 | 7 | -73/+57 |
| | | | | | | | 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. | ||||
* | Remove classifier from pom files. | mchav | 2016-11-25 | 1 | -12/+11 |
| | |||||
* | Merge pull request #313 from cvogt/chris3 | Jan Christopher Vogt | 2016-11-13 | 1 | -2/+1 |
|\ | | | | | minor cleanups regarding Context | ||||
| * | minor cleanups regarding Context | Christopher Vogt | 2016-11-13 | 1 | -2/+1 |
| | | |||||
* | | small refactoring simplifying Stage2 | Christopher Vogt | 2016-11-13 | 1 | -2/+7 |
|/ | |||||
* | Assert right build class. Fixes #174 | Christopher Vogt | 2016-11-13 | 1 | -0/+1 |
| | |||||
* | comment regarding trigger files | Christopher Vogt | 2016-11-10 | 1 | -0/+3 |
| |