Establish a source_root for pants scala code.

Review Request #2189 - Created May 8, 2015 and submitted

Information
John Sirois
pants
jsirois/scala/establish_source_roots
1514
ffc0551...
Reviewers
pants-reviews
benjyw, nhoward_tw, zundel
This fixes source jar publication for org.pantsbuild#zinc.

 BUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Noticed this while hand checking the recent zinc publication artifacts:
http://search.maven.org/#artifactdetails%7Corg.pantsbuild%7Czinc%7C1.0.0%7Cjar

Before:

$ yes | pants.dev publish.jar --local=/tmp/before --no-dryrun --force src/scala/::
$ zipinfo -1 /tmp/before/org/pantsbuild/zinc/1.0.1-SNAPSHOT/zinc-1.0.1-SNAPSHOT-sources.jar
META-INF/
META-INF/MANIFEST.MF
Main.scala
Util.scala
ZincClient.scala
FileFPrint.scala
Nailgun.scala
Compiler.scala
Options.scala
Setup.scala
Settings.scala
SbtAnalysis.scala
Cache.scala
Inputs.scala

After:

$ yes | pants.dev publish.jar --local=/tmp/after --no-dryrun --force src/scala/::
$ zipinfo -1 /tmp/after/org/pantsbuild/zinc/1.0.1-SNAPSHOT/zinc-1.0.1-SNAPSHOT-sources.jar
META-INF/
META-INF/MANIFEST.MF
org/
org/pantsbuild/
org/pantsbuild/zinc/
org/pantsbuild/zinc/Main.scala
org/pantsbuild/zinc/Util.scala
org/pantsbuild/zinc/ZincClient.scala
org/pantsbuild/zinc/FileFPrint.scala
org/pantsbuild/zinc/Nailgun.scala
org/pantsbuild/zinc/Compiler.scala
org/pantsbuild/zinc/Options.scala
org/pantsbuild/zinc/Setup.scala
org/pantsbuild/zinc/Settings.scala
org/pantsbuild/zinc/SbtAnalysis.scala
org/pantsbuild/zinc/Cache.scala
org/pantsbuild/zinc/Inputs.scala

CI went green here:
https://travis-ci.org/pantsbuild/pants/builds/61858470

John Sirois
John Sirois
Eric Ayers
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...