witty-crayon-22786
03/17/2017, 6:32 PMwitty-crayon-22786
03/17/2017, 7:33 PMNode
out into a separate module, but will definitely wait on that one.witty-crayon-22786
03/17/2017, 7:50 PMNode
into its own module is the thing that would actually beneficial... can't do that now.witty-crayon-22786
03/17/2017, 7:50 PMwitty-crayon-22786
03/17/2017, 9:32 PMfull-kilobyte-93429
03/17/2017, 9:38 PMstore_list
, i am just adding println! on master just to get a better sensewitty-crayon-22786
03/17/2017, 9:38 PMwitty-crayon-22786
03/17/2017, 9:38 PMfull-kilobyte-93429
03/17/2017, 9:38 PMrough-minister-58256
03/17/2017, 11:01 PM[omerta pants (kwlzn/default_v2_engine)]$ ./pants --enable-v2-engine test contrib/findbugs/tests/java/org/pantsbuild/contrib/findbugs:no_sources
...
15:59:36 00:02 [findbugs]
Invalidated 1 target.
[1/1] contrib/findbugs/tests/java/org/pantsbuild/contrib/findbugs:no_sources
15:59:36 00:02 [findbugs]
Warnings generated: 2
Bug[high]: EC_UNRELATED_TYPES Call to String.equals(Integer) in org.pantsbuild.contrib.findbugs.AllWarnings.main(String[]) At AllWarnings.java:[lines 6-17]
Bug[high]: EC_UNRELATED_TYPES Call to String.equals(Integer) in org.pantsbuild.contrib.findbugs.HighWarning.main(String[]) At HighWarning.java:[lines 6-11]
Bugs: 2 (High: 2, Normal: 0, Low: 0)
FAILURE: failed with 2 bugs and 0 errors
15:59:36 00:02 [complete]
FAILURE
rough-minister-58256
03/17/2017, 11:01 PM16:01:00 00:04 [findbugs]
Invalidated 1 target.
[1/1] contrib/findbugs/tests/java/org/pantsbuild/contrib/findbugs:no_sources
No jars to be analyzed
…
SUCCESS
witty-crayon-22786
03/17/2017, 11:02 PMrough-minister-58256
03/17/2017, 11:02 PMwitty-crayon-22786
03/17/2017, 11:03 PMwitty-crayon-22786
03/17/2017, 11:03 PMNone
witty-crayon-22786
03/17/2017, 11:03 PMrough-minister-58256
03/17/2017, 11:03 PMwitty-crayon-22786
03/17/2017, 11:05 PM$ git diff
diff --git a/src/python/pants/engine/legacy/structs.py b/src/python/pants/engine/legacy/structs.py
index 0ee7f14..24e5e98 100644
--- a/src/python/pants/engine/legacy/structs.py
+++ b/src/python/pants/engine/legacy/structs.py
@@ -39,7 +39,7 @@ class TargetAdaptor(StructWithDeps):
see: <https://github.com/pantsbuild/pants/issues/2997>
"""
sources = getattr(self, 'sources', None)
- if not sources:
+ if sources is None:
if self.default_sources_globs:
return Globs(*self.default_sources_globs,
spec_path=self.address.spec_path,
witty-crayon-22786
03/17/2017, 11:06 PM./pants filedeps contrib/findbugs/tests/java/org/pantsbuild/contrib/findbugs:no_sources
matches afterward (...although it doesn't make sense with/without v2 anyway)witty-crayon-22786
03/17/2017, 11:06 PMrough-minister-58256
03/17/2017, 11:06 PMwitty-crayon-22786
03/17/2017, 11:07 PMrough-minister-58256
03/17/2017, 11:07 PMwitty-crayon-22786
03/17/2017, 11:08 PMNone
vs []
distinctionrough-minister-58256
03/17/2017, 11:10 PMrough-minister-58256
03/18/2017, 12:44 AMrough-minister-58256
03/18/2017, 1:05 AMdefault=True
& ./pants test tests/python/pants_test/build_graph:: -- -k test_subproject_integration.py -vvs
witty-crayon-22786
03/18/2017, 1:05 AMrough-minister-58256
03/18/2017, 1:05 AMwitty-crayon-22786
03/18/2017, 6:52 PMsetup_legacy_graph
pass different amounts of settings... intentional? one in src/python/pants//bin/goal_runner.py
and one in src/python/pants//pantsd/subsystem/pants_daemon_launcher.py