average-vr-56795
12/13/2018, 12:21 PMstocky-account-81383
12/13/2018, 2:35 PMhundreds-father-404
12/13/2018, 5:48 PMfierce-park-88503
12/14/2018, 3:21 PM./pants test lint ::
(roughly) it tried to import both versions of the library and failed.fancy-queen-20734
12/14/2018, 10:18 PMaverage-vr-56795
12/17/2018, 9:41 AMred-balloon-89377
12/18/2018, 2:26 PMpolite-vase-75369
12/18/2018, 7:50 PMaloof-angle-91616
12/18/2018, 7:52 PMfancy-queen-20734
12/18/2018, 9:53 PMeager-librarian-15922
12/19/2018, 12:34 PMfierce-park-88503
12/20/2018, 12:52 AMbrief-engineer-67497
12/20/2018, 1:48 PMwhite-island-59741
12/21/2018, 11:54 AMmodern-daybreak-51953
12/27/2018, 3:00 PMsbt
with scalajs-bundler
plugin which offers a bundling mode https://scalacenter.github.io/scalajs-bundler/reference.html#bundling-mode-library-only that would not make webpack choke on the large JS output from scala.js. I am wondering if there is something similar in pants?curved-vase-73456
12/28/2018, 3:44 AMpants
.
Details
- unit and integration tests are collecting coverage via ./pants test
with --test-junit-coverage-processor=jacoco --test-junit-coverage
options
- for blackbox I couldn’t figure out how to use pants natively, so it’s done using JaCoCo
agent to create foo.exec
and bar.exec
files with java -javaagent:jacocoagent.jar -jar dist/<path to foo.jar>
for bundles that are created by ./pants bundle
and then combined report can be generated via java -jar jacococli.jar report foo.exec bar.exec --classfiles dist/bar.jar --classfiles dist/baz.jar --html <dir to output report to>
Questions
- Is there a way to run bundles using pants and collect coverage data and merge reports for multiple different bundles?
- if not, where one can find classfiles that pants
is using to produce report so that one can specify them when creating a combined report? jacoco.exec
can be found in .pants.d/junit/_runs/..
folder but I don’t see any classfiles there, tmp*.jar
don’t seem to contain the info needed as well, and .pants.d/compile folder contains too many classes I don’t care about and even with filters it seems like some deduplication might be neededaloof-angle-91616
01/01/2019, 8:47 PMbrief-engineer-67497
01/02/2019, 1:02 PMa minimal covering set of targets
means ? I'm trying to understand what minimize
does but I'm not sure.brief-engineer-67497
01/02/2019, 1:03 PMbrief-engineer-67497
01/02/2019, 1:11 PMwitty-crayon-22786
01/03/2019, 12:07 AMrich-dress-55227
01/03/2019, 7:53 AMrich-dress-55227
01/03/2019, 7:53 AMfierce-park-88503
01/03/2019, 4:41 PMbrief-engineer-67497
01/07/2019, 5:23 PMbrief-engineer-67497
01/07/2019, 5:24 PMaverage-vr-56795
01/07/2019, 5:37 PMresources
target into a directory
2. Make a zip file of a resources
target
?fierce-park-88503
01/07/2019, 8:38 PMpython_library
targets?witty-crayon-22786
01/07/2019, 8:52 PMwitty-crayon-22786
01/07/2019, 8:52 PM