rough-minister-58256
02/16/2016, 10:24 PMmammoth-pharmacist-54215
02/16/2016, 10:25 PMhappy-kitchen-89482
02/16/2016, 11:10 PMhappy-kitchen-89482
02/16/2016, 11:11 PMbored-art-40741
02/17/2016, 12:16 AMbored-art-40741
02/17/2016, 12:16 AMwitty-crayon-22786
02/17/2016, 12:24 AMcurved-manchester-66006
02/17/2016, 6:26 PMjolly-chef-92794
02/17/2016, 6:30 PMjar_publish.py
, and noticed this issue mentioned in comments: https://github.com/pantsbuild/pants/issues/65jolly-chef-92794
02/17/2016, 6:30 PMjolly-chef-92794
02/17/2016, 6:31 PMjolly-chef-92794
02/17/2016, 6:31 PMsource_library
could easily combine these togetherjolly-chef-92794
02/17/2016, 6:33 PMjolly-chef-92794
02/17/2016, 6:42 PMHow to make sure, there is 1:1 correspondence between source_libraries and libraries?
This only affects publishing.
Is it pants which should not allow same sources to be part of different libs or the consumers to write good/clean build files?
I think we (a) don’t want a 1:1 correspondence, eg for things like protobuf libraries it’s valid to use the same .proto sources for both Wire and Protobuf libraries, and potentially for different kinds of proto libraries (java vs python vs ruby etc).
(b) This may not affect publishing exclusively, as use-case 2. mentions abovewitty-crayon-22786
02/17/2016, 6:46 PMwitty-crayon-22786
02/17/2016, 6:46 PM-sources
classifierwitty-crayon-22786
02/17/2016, 6:47 PMwitty-crayon-22786
02/17/2016, 6:53 PM-idl
classifierjolly-chef-92794
02/17/2016, 7:08 PMjolly-chef-92794
02/17/2016, 7:08 PMwitty-crayon-22786
02/17/2016, 7:09 PMjolly-chef-92794
02/17/2016, 7:09 PM.java
files too, wouldn’t it?jolly-chef-92794
02/17/2016, 7:09 PM.proto
and .class
fileswitty-crayon-22786
02/17/2016, 7:10 PMwitty-crayon-22786
02/17/2016, 7:10 PM-idl
classifierwitty-crayon-22786
02/17/2016, 7:11 PMlimited-terabyte-34878
02/17/2016, 7:11 PMjolly-chef-92794
02/17/2016, 7:17 PMjar_publish.py
publishes sources/javadocs/etc? I don’t see an option for it. I see that it pulls something out of the context products, but I don’t know where that is set by the userwitty-crayon-22786
02/17/2016, 7:18 PMwitty-crayon-22786
02/17/2016, 7:18 PM--skip
the tasks that create those products, they're not published