| career | drupal | java | mac | mysql | perl | scala | uml | unix  

Scala example source code file (dbuild-meta-json-gen.scala)

This example Scala source code file (dbuild-meta-json-gen.scala) is included in my "Source Code Warehouse" project. The intent of this project is to help you more easily find Scala source code examples by using tags.

All credit for the original source code belongs to; I'm just trying to make examples easier to find. (For my Scala work, see my Scala examples and tutorials.)

Scala tags/keywords

extractedbuildmeta, project, projectref, seq, todo

The dbuild-meta-json-gen.scala Scala example source code

// use this script to generate dbuild-meta.json
// make sure the version is specified correctly,
// update the dependency structure and
// check out distributed-build and run `sbt console`:
// TODO: also generate build.xml and eclipse config from a similar data-structure

import distributed.project.model._

val meta =
  ExtractedBuildMeta("2.11.0", Seq(
    Project("scala-library", "org.scala-lang",
      Seq(ProjectRef("scala-library", "org.scala-lang")),
      Seq.empty), // TODO: forkjoin
    Project("scala-reflect", "org.scala-lang",
      Seq(ProjectRef("scala-reflect", "org.scala-lang")),
      Seq(ProjectRef("scala-library", "org.scala-lang"))),
    Project("scala-compiler", "org.scala-lang",
      Seq(ProjectRef("scala-compiler", "org.scala-lang")),
      Seq(ProjectRef("scala-reflect", "org.scala-lang"),
          ProjectRef("scala-xml", "org.scala-lang.modules"),
          ProjectRef("scala-parser-combinators", "org.scala-lang.modules")
          // asm

    // Project("scala-repl", "org.scala-lang",
    //   Seq(ProjectRef("scala-repl", "org.scala-lang")),
    //   Seq(ProjectRef("scala-compiler", "org.scala-lang"))), // jline

    // Project("scala-interactive", "org.scala-lang",
    //   Seq(ProjectRef("scala-interactive", "org.scala-lang")),
    //   Seq(ProjectRef("scala-compiler", "org.scala-lang"), ProjectRef("scaladoc", "org.scala-lang"))),

    Project("scala-actors", "org.scala-lang",
      Seq(ProjectRef("scala-actors", "org.scala-lang")),
      Seq(ProjectRef("scala-library", "org.scala-lang"))),

    // Project("scaladoc", "org.scala-lang",
    //   Seq(ProjectRef("scaladoc", "org.scala-lang")),
    //   Seq(ProjectRef("scala-compiler", "org.scala-lang"),ProjectRef("scala-partest", "org.scala-lang"), ProjectRef("scala-xml", "org.scala-lang"), ProjectRef("scala-parser-combinators", "org.scala-lang"))),

    Project("scalap", "org.scala-lang",
      Seq(ProjectRef("scalap", "org.scala-lang")),
      Seq(ProjectRef("scala-compiler", "org.scala-lang")))



Other Scala source code examples

Here is a short list of links related to this Scala dbuild-meta-json-gen.scala source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller


new blog posts


Copyright 1998-2021 Alvin Alexander,
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.