enough-analyst-54434
05/12/2016, 10:47 PMmysterious-action-44812
05/13/2016, 4:11 AMwitty-crayon-22786
05/13/2016, 5:01 PMcuddly-garage-87447
05/13/2016, 5:02 PMmodule/src/scala/org/module/Stuff.scala
module/BUILD
If I add a scala_library
with sources=globs('src/scala/org/module/*.scala')
then ./pants export module::
will give me:
"root": [{ "package_prefix": "src.scala.org.module" }]
. Obviously I'd like to have only org.module
as the package prefix. I've seen the source_roots
option which takes a map but I don't understand the syntax, the default says: { '3rdparty/go':'(u'go_remote',)' ...
. What is this '(u'
thing? Also, can I have both the root pattern option and the roots option?witty-crayon-22786
05/13/2016, 5:05 PMmodule/src/$lang
should match the default source rootswitty-crayon-22786
05/13/2016, 5:05 PMwitty-crayon-22786
05/13/2016, 5:06 PMwitty-crayon-22786
05/13/2016, 5:07 PMwitty-crayon-22786
05/13/2016, 5:07 PMmodule:target
witty-crayon-22786
05/13/2016, 5:07 PMwitty-crayon-22786
05/13/2016, 5:08 PMmodule/src/scala/org/module/BUILD
cuddly-garage-87447
05/13/2016, 5:08 PM'module'
instead of 'module/src/scala/org/module'
fancy-queen-20734
05/13/2016, 5:09 PMwitty-crayon-22786
05/13/2016, 5:09 PMwitty-crayon-22786
05/13/2016, 5:10 PMcuddly-garage-87447
05/13/2016, 5:10 PMwitty-crayon-22786
05/13/2016, 5:10 PMcuddly-garage-87447
05/13/2016, 5:11 PMcuddly-garage-87447
05/13/2016, 5:11 PMwitty-crayon-22786
05/13/2016, 5:11 PMwitty-crayon-22786
05/13/2016, 5:11 PMwitty-crayon-22786
05/13/2016, 5:11 PMcuddly-garage-87447
05/13/2016, 5:11 PMcuddly-garage-87447
05/13/2016, 5:12 PMcuddly-garage-87447
05/13/2016, 5:13 PMscala_library
target to configure the package_prefix?witty-crayon-22786
05/13/2016, 5:13 PMcuddly-garage-87447
05/13/2016, 5:14 PMfull-kilobyte-93429
05/13/2016, 5:15 PMfull-kilobyte-93429
05/13/2016, 5:16 PMfull-kilobyte-93429
05/13/2016, 5:17 PM