witty-crayon-22786
02/16/2017, 1:13 AM.pants.d/test/junit
somewhere. not sure if controlled by an option.)purple-oil-45048
02/16/2017, 1:20 AMpurple-oil-45048
02/16/2017, 1:22 AMfast-megabyte-33579
02/16/2017, 10:23 AMfast-megabyte-33579
02/16/2017, 10:23 AMvictorious-potato-60449
02/16/2017, 11:43 AMdetect-duplicates
goal, if a duplicate is detected, how do you then fix that duplicate?straight-waiter-86090
02/16/2017, 3:42 PMstraight-waiter-86090
02/16/2017, 3:42 PM10:40:19 00:13 [compile]
10:40:19 00:13 [compile-jvm-prep-command]
10:40:19 00:13 [jvm_prep_command]
10:40:19 00:13 [scalafmt]
10:40:19 00:13 [compile-prep-command]
10:40:19 00:13 [compile]
10:40:19 00:13 [zinc]
10:40:50 00:44 [jvm-dep-check]
10:40:50 00:44 [complete]
fast-megabyte-33579
02/16/2017, 3:43 PM./pants server
server show any output for that step?straight-waiter-86090
02/16/2017, 3:48 PMScreen Shot 2017-02-16 at 10.47.40 AM.png▾
straight-waiter-86090
02/16/2017, 3:48 PMfast-megabyte-33579
02/16/2017, 3:48 PMstraight-waiter-86090
02/16/2017, 3:49 PMmessagegen
which is a custom task I have, also doing nothing in this case. both use rglobs to references all sources in those project directories.straight-waiter-86090
02/16/2017, 3:50 PM[Self timings]
30.923 main:compile:zinc
11.212 main:gen:messagegen
0.917 main:gen:messagegen:execute
0.331 main:resolve:ivy
0.185 main:setup
0.064 main:jvm-platform-validate:jvm-platform-validate
0.028 main:gen
...
straight-waiter-86090
02/16/2017, 4:35 PMfileset.py:117(_do_rglob)
takes 27 cumulative seconds of the 39 total. payload.py:109(_compute_fingerprint)
takes 22 cumulative seconds.high-advantage-47550
02/16/2017, 5:28 PMscala-platform-strict-deps
flag?rough-minister-58256
02/16/2017, 5:34 PM./pants -ldebug …
might be helpfulstraight-waiter-86090
02/16/2017, 7:00 PMrglob(‘java/*.java’)
in most BUILD files. From what I can tell, rglob will traverse all directories, then match them against the pattern. If there are many other unrelated files (outside of java/
) this is very slow. For example, if I run it in the root of my source tree, which has no java/
directories at that level, it takes 1 minute 23 seconds and finds nothing.witty-crayon-22786
02/16/2017, 7:08 PMhigh-advantage-47550
02/16/2017, 8:51 PM"""When True, limits compile time deps to those that are directly declared by a target.
ahhigh-advantage-47550
02/16/2017, 8:51 PMwitty-crayon-22786
02/16/2017, 8:55 PMwitty-crayon-22786
02/16/2017, 9:23 PMwitty-crayon-22786
02/16/2017, 9:25 PMrglobs
aren't a great idea anyway. more granular targets: http://www.pantsbuild.org/build_files.html#target-granularitywitty-crayon-22786
02/16/2017, 9:25 PMwitty-crayon-22786
02/16/2017, 9:26 PMwitty-crayon-22786
02/16/2017, 9:26 PMstraight-waiter-86090
02/16/2017, 9:26 PMstraight-waiter-86090
02/16/2017, 9:28 PM*/BUILD
they’re now in */java/BUILD
. this way the rglobs
can be written as rglobs(’*.java’)
instead of rglobs(’java/*.java’)
.straight-waiter-86090
02/16/2017, 9:29 PM