Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CHanged the clean cache command to use the mill api again | Alexandra Dima | 2019-10-12 | 1 | -18/+28 |
| | |||||
* | Fixed bugs: If a module has no resource directory don't just throw error, ↵ | Alexandra Dima | 2019-10-12 | 2 | -3/+6 |
| | | | | just return empty list of resources. Include the name of the compile task in the segments that get converted tothe scalac options class directory. | ||||
* | Fixed the classpath for the scalac option request, so now main classes can ↵ | Alexandra Dima | 2019-10-12 | 1 | -1/+1 |
| | | | | be ran from intellij. | ||||
* | Fixed the compile request, if the root target is in the compile params, then ↵ | Alexandra Dima | 2019-10-12 | 1 | -55/+61 |
| | | | | don't include it in the compile task. Fixed some style issues suggested by intellij. Now, targets are recomputed at the beginning of each server request. | ||||
* | Fixed bugs in passing the bsp specified run and test parameters to mill. | Alexandra Dima | 2019-10-12 | 1 | -27/+47 |
| | |||||
* | Changed the clean cache method back to a subprocess because this way it can ↵ | Alexandra Dima | 2019-10-12 | 4 | -32/+52 |
| | | | | wait for the output directories to actually be removed. Use IO instead of NIO for converting os.Path to URIs. Don't display the stack trace in the start method in case of CancelationException, which just means the server stopped. Also added support for tracing bsp messages inside a bsp.log file in the working directory of the project being built. | ||||
* | Added docstrigs and comments. Also cleaned unused imports. Changd the ↵ | Alexandra Dima | 2019-10-12 | 7 | -88/+233 |
| | | | | printStream connected to the compilation logger sent to the mill evaluator from Bsp from System.out (might interfere with the lsp communication ) to the outputstream of the evaluator's logger. | ||||
* | Changed the clean cache method to usethe clean command form mill's ↵ | Alexandra Dima | 2019-10-12 | 2 | -24/+33 |
| | | | | MainModule rather than start the clean command as a separate subprocess. Removed dead code comment and added show message notifications to the MillBspLogger. | ||||
* | Removed unnecessary directories and reverted the scratch folder to how it ↵ | Alexandra Dima | 2019-10-12 | 1 | -12/+0 |
| | | | | was in the original mill repo. | ||||
* | Addressed code review feedback. | Alexandra Dima | 2019-10-12 | 6 | -214/+130 |
| | |||||
* | Updated the clean cache method of the mill build server to use system ↵ | Alexandra Dima | 2019-10-12 | 1 | -1/+8 |
| | | | | properties in order to assemble the correct, OS-independent, mill clean command. | ||||
* | Renamed the main class as well as the method that starts the bsp server. | Alexandra Dima | 2019-10-12 | 1 | -26/+5 |
| | |||||
* | Modified the construction of the string ids for each BuildTargetIdentifier ↵ | Alexandra Dima | 2019-10-12 | 2 | -7/+9 |
| | | | | as there were collisions in case of cross modules. Also fixed bug in the clean cache method. Now, the command is using the rendering of millModuleSegments rather than the module name function. | ||||
* | Made the variables that count erros and warnings in the compilation reporter ↵ | Alexandra Dima | 2019-10-12 | 1 | -11/+12 |
| | | | | atomic, such that their incrementation will be thread safe. | ||||
* | Modified the compilation diagnostics reporter to send not only the currently ↵ | Alexandra Dima | 2019-10-12 | 4 | -71/+94 |
| | | | | generated diagnostic, but also all of the past diagnostics discovered for a certain source file. This will be compatible with the idea that each set of diagnostics for a certain file invalidates all other diagnostics received in the past. | ||||
* | Added a root target for the mill base module of each project so that ↵ | Alexandra Dima | 2019-10-12 | 2 | -11/+59 |
| | | | | intellij can display the project correctly. | ||||
* | Modified the sources and inversed sources requests to be compatible with ↵ | Alexandra Dima | 2019-10-12 | 1 | -5/+10 |
| | | | | returing directories of source files rather than individual source files. | ||||
* | Fixed bug in computing the compilation output directory for the ↵ | Alexandra Dima | 2019-10-12 | 1 | -3/+2 |
| | | | | buildtTargetScalacOptions method. | ||||
* | Fixed bug in building the data field of a BuildTarget which represents a ↵ | Alexandra Dima | 2019-10-12 | 1 | -4/+10 |
| | | | | mill JavaModule. Until bsp updates specification on what to do with java modules, each mill JavaModule will translate into a bsp ScalaBuildTarget. | ||||
* | Fixed bug in computing the classDirectory for the scalac options request. ↵ | Alexandra Dima | 2019-10-12 | 1 | -1/+1 |
| | | | | Also changed the startServer command from the json connection file. | ||||
* | Added support for sending start/finish compilation notifications even when ↵ | Alexandra Dima | 2019-10-12 | 4 | -21/+42 |
| | | | | all targets are sent to the mill evaluator together. | ||||
* | Improved compilation by sending all requested targets to the mill evaluator ↵ | Alexandra Dima | 2019-10-12 | 3 | -80/+60 |
| | | | | to be compiled together rather than in different evaluation sessions. This avoids duplicated compilation results and side effects like diagnostics and task progress notifications. | ||||
* | Imporved the way a target's display name is computed. | Alexandra Dima | 2019-10-12 | 1 | -3/+11 |
| | |||||
* | Added progress notifications during run and test tasks too. | Alexandra Dima | 2019-10-12 | 1 | -3/+6 |
| | |||||
* | Added progress notifications during compilation | Alexandra Dima | 2019-10-12 | 2 | -13/+4 |
| | |||||
* | Adding the scratch folder to git. | Alexandra Dima | 2019-10-12 | 1 | -0/+33 |
| | |||||
* | Fixed bug in computing the testing arguments from bsp in buildTargetTest. | Alexandra Dima | 2019-10-12 | 3 | -3/+11 |
| | |||||
* | Added notification from server to client to show a message that either no ↵ | Alexandra Dima | 2019-10-12 | 1 | -1/+5 |
| | | | | main class was found or there are multiple and none was specified. | ||||
* | Fixed bug in computing the scala library dependencies of a ScalaBuildTarget. | Alexandra Dima | 2019-10-12 | 1 | -0/+1 |
| | |||||
* | Removed commented code and fixed bug in assigned target ids. Now the uri of ↵ | Alexandra Dima | 2019-10-12 | 2 | -46/+2 |
| | | | | each BuildTarget will be the intelliJModulePath of the corresponsing mill module. | ||||
* | Refactored MillBuildServer by putting the future completion at the end of ↵ | Alexandra Dima | 2019-10-12 | 3 | -73/+83 |
| | | | | each method in a separate function which now also throws exceptions if a request is made before initialize. Also gave all JavaModules the run capability. | ||||
* | Partially fixed test request by implementing a test reporter, adding it to ↵ | Alexandra Dima | 2019-10-12 | 4 | -105/+155 |
| | | | | each task context and sending it to the test task. Implemented BspContext to hold information about the test reporter and the additional bsp compiler arguments. Made a common data structure for different bsp parameters - TaskParameters. | ||||
* | Added support for merging compile parameters from the mill build file with ↵ | Alexandra Dima | 2019-10-12 | 4 | -34/+150 |
| | | | | the compile parameters specified through bsp | ||||
* | Fixed bugs in getting target capabilities and dependencies. | Alexandra Dima | 2019-10-12 | 2 | -5/+5 |
| | |||||
* | Added the custom bsp reporter to the evaluation of the run task in ↵ | Alexandra Dima | 2019-10-12 | 1 | -1/+5 |
| | | | | buildTargetRun. | ||||
* | Fixed issue with retrieving line and offset of errors found during compilation. | Alexandra Dima | 2019-10-12 | 2 | -13/+9 |
| | |||||
* | Fixed compilation error, removed print statements and unnecessary code. | Alexandra Dima | 2019-10-12 | 2 | -112/+1 |
| | |||||
* | Implemented support for publishing compilation diagnostics through the ↵ | Alexandra Dima | 2019-10-12 | 4 | -13/+254 |
| | | | | custom BspLoggedReporter reporter. Patched the mill.api.Ctx data structure as well as the evaluate() method on mill's Evaluator in order to accept a potential reporter from the outside, or use a default value if none is given. | ||||
* | Implemented simple support for cleaning cache | Alexandra Dima | 2019-10-12 | 2 | -15/+30 |
| | |||||
* | Fixed bugs in ModuleUtils by converting every java path with toUri and using ↵ | Alexandra Dima | 2019-10-12 | 3 | -90/+158 |
| | | | | millSourcesPath. Chnaged mill task evaluation to account for cases when the result of an informative task is actually Failure. | ||||
* | Made install from MainMillBuildServer a mill command. Started simple ↵ | Alexandra Dima | 2019-10-12 | 2 | -52/+127 |
| | | | | implementation of buildTargetTest. Made sure targets are retrieved again everytime the workspaceBuildTargets request is sent | ||||
* | Changed the mill bsp server installation command to put the .bsp folder in ↵ | Alexandra Dima | 2019-10-12 | 1 | -1/+1 |
| | | | | the working directory | ||||
* | Implemented MillBuildServer methods for retrieving the scala main classes ↵ | Alexandra Dima | 2019-10-12 | 3 | -47/+159 |
| | | | | and scala tets classes in a project. Also fixed bug in computing the target capabilities from modules. Started a simple implementation of buildTargetRun. | ||||
* | Started integrating mill with Build Server Protocol | Alexandra Dima | 2019-10-12 | 3 | -0/+648 |