{"action":"created","issue":{"url":"https://api.github.com/repos/scala/scala/issues/4855","labels_url":"https://api.github.com/repos/scala/scala/issues/4855/labels{/name}","comments_url":"https://api.github.com/repos/scala/scala/issues/4855/comments","events_url":"https://api.github.com/repos/scala/scala/issues/4855/events","html_url":"https://github.com/scala/scala/pull/4855","id":118073155,"number":4855,"title":"Create a full Scala distribution from sbt","user":{"login":"szeiger","id":54262,"avatar_url":"https://avatars.githubusercontent.com/u/54262?v=3","gravatar_id":"","url":"https://api.github.com/users/szeiger","html_url":"https://github.com/szeiger","followers_url":"https://api.github.com/users/szeiger/followers","following_url":"https://api.github.com/users/szeiger/following{/other_user}","gists_url":"https://api.github.com/users/szeiger/gists{/gist_id}","starred_url":"https://api.github.com/users/szeiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szeiger/subscriptions","organizations_url":"https://api.github.com/users/szeiger/orgs","repos_url":"https://api.github.com/users/szeiger/repos","events_url":"https://api.github.com/users/szeiger/events{/privacy}","received_events_url":"https://api.github.com/users/szeiger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scala/scala/milestones/49","html_url":"https://github.com/scala/scala/milestones/2.11.8","labels_url":"https://api.github.com/repos/scala/scala/milestones/49/labels","id":1169165,"number":49,"title":"2.11.8","description":"Merge to 2.11.x.\r\n","creator":{"login":"SethTisue","id":161079,"avatar_url":"https://avatars.githubusercontent.com/u/161079?v=3","gravatar_id":"","url":"https://api.github.com/users/SethTisue","html_url":"https://github.com/SethTisue","followers_url":"https://api.github.com/users/SethTisue/followers","following_url":"https://api.github.com/users/SethTisue/following{/other_user}","gists_url":"https://api.github.com/users/SethTisue/gists{/gist_id}","starred_url":"https://api.github.com/users/SethTisue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SethTisue/subscriptions","organizations_url":"https://api.github.com/users/SethTisue/orgs","repos_url":"https://api.github.com/users/SethTisue/repos","events_url":"https://api.github.com/users/SethTisue/events{/privacy}","received_events_url":"https://api.github.com/users/SethTisue/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":151,"state":"open","created_at":"2015-06-17T19:08:28Z","updated_at":"2015-11-20T16:12:53Z","due_on":"2015-11-30T08:00:00Z","closed_at":null},"comments":1,"created_at":"2015-11-20T16:12:51Z","updated_at":"2015-11-20T22:40:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scala/scala/pulls/4855","html_url":"https://github.com/scala/scala/pull/4855","diff_url":"https://github.com/scala/scala/pull/4855.diff","patch_url":"https://github.com/scala/scala/pull/4855.patch"},"body":"This replicates the results of `ant -Dlocker.skip=1 distpack` with the following differences:\r\n\r\n- The POM files produced by the ant build under dists/maven still contain unresolved variables like `@VERSION@`. The ant build resolves them in the actual publishing process. The sbt build generates the correct version numbers directly.\r\n\r\n- Scaladoc sets in the ant build are created with the scaladoc tool from “quick”. The sbt build uses the STARR scaladoc.\r\n\r\n- The scaladoc sets for scala-actors, scala-compiler, scala-reflect and scalap from the ant build contain documentation for the classes `Null`, `Nothing`, `Any` and `AnyRef`. The sbt build omits those\r\n  classes from all doc sets (except for scala-library, of course) under the assumption that this is a bug in the ant build.\r\n\r\nOther idiosyncracies of the ant build like declaring a packaging type of `jar` (instead of `bundle`) for OSGi bundles, or using slightly different module names and descriptions in scaladocs, OSGi bundles and\r\nPOMs, are reproduced faithfully for now.\r\n\r\nPublishing from the sbt build is done in the usual sbt way. No actual publishing targets are currently defined in the build. In order to test stability of the publishing process, the `publishDists` task can be used\r\nto publish to dists/maven-sbt with the same directory layout and naming conventions employed by the ant build for publishing to dists/maven.\r\n\r\nSource and binary JARs are OSGi-enabled. For the source JARs this is done by hand-crafting the appropriate MANIFEST.MF entries (like the ant build does). Binary JARs are packaged with BND, using the same outdated BND version as the ant build for now to get identical results. We do not use sbt-osgi because it depends on a newer version of BND (probably OK to upgrade in the future) and does not allow a crucial bit of configuration that we need: Setting the classpath for BND. In sbt-osgi this is always `fullClasspath in Compile` whereas we really want `products in Compile in packageBin` to keep things simple."},"comment":{"url":"https://api.github.com/repos/scala/scala/issues/comments/158545991","html_url":"https://github.com/scala/scala/pull/4855#issuecomment-158545991","issue_url":"https://api.github.com/repos/scala/scala/issues/4855","id":158545991,"user":{"login":"soc","id":42493,"avatar_url":"https://avatars.githubusercontent.com/u/42493?v=3","gravatar_id":"","url":"https://api.github.com/users/soc","html_url":"https://github.com/soc","followers_url":"https://api.github.com/users/soc/followers","following_url":"https://api.github.com/users/soc/following{/other_user}","gists_url":"https://api.github.com/users/soc/gists{/gist_id}","starred_url":"https://api.github.com/users/soc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soc/subscriptions","organizations_url":"https://api.github.com/users/soc/orgs","repos_url":"https://api.github.com/users/soc/repos","events_url":"https://api.github.com/users/soc/events{/privacy}","received_events_url":"https://api.github.com/users/soc/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T22:40:35Z","updated_at":"2015-11-20T22:40:35Z","body":"Amazing! Thanks @szeiger!"}}