alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Scala example source code file (ScalaBuildProject.scala)

This example Scala source code file (ScalaBuildProject.scala) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Scala tags/keywords

meta-inf, meta-inf, pathlayout, pathlayout, project, project, scalabuildproject, scalabuildproject

The Scala ScalaBuildProject.scala source code

import sbt._
import ScalaBuildProject._


abstract class ScalaBuildProject extends Project {
  lazy val projectRoot = info.projectPath  
  lazy val layerOutput = outputRootPath / name
  lazy val pathLayout = new PathLayout(projectRoot, layerOutput)
  
  lazy val manifestPath = projectRoot/"META-INF"/"MANIFEST.MF"

  lazy val lib = projectRoot / "lib"
  lazy val forkJoinJar = lib / forkjoinJarName
  lazy val jlineJar = lib / jlineJarName
  lazy val antJar = lib / "ant" / "ant.jar"
  lazy val fjbgJar = lib / fjbgJarName
  lazy val msilJar = lib /  msilJarName

}

object ScalaBuildProject {
   // Some path definitions related strings
  val compilerJarName = "scala-compiler.jar"
  val libraryJarName = "scala-library.jar"
  val scalacheckJarName = "scalacheck.jar"
  val scalapJarName = "scalap.jar"
  val dbcJarName = "scala-dbc.jar"
  val swingJarName = "scala-swing.jar"
  val partestJarName = "scala-partest.jar"
  val fjbgJarName = "fjbg.jar"
  val msilJarName = "msil.jar"
  val jlineJarName = "jline.jar"
  val forkjoinJarName = "forkjoin.jar"


}

Other Scala examples (source code examples)

Here is a short list of links related to this Scala ScalaBuildProject.scala source code file:

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

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
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.