Skip to content

Commit

Permalink
create initial project setup with sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
derabbink committed Oct 19, 2012
0 parents commit 1e59522
Show file tree
Hide file tree
Showing 18 changed files with 160 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<classpath>
<classpathentry output="target\scala-2.9.2\classes" path="src\main\scala" kind="src"></classpathentry>
<classpathentry output="target\scala-2.9.2\test-classes" path="src\test\scala" kind="src"></classpathentry>
<classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"></classpathentry>
<classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"></classpathentry>
<classpathentry path="bin" kind="output"></classpathentry>
</classpath>
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
*.class
*.log

# sbt specific
dist/*
target/
lib_managed/
src_managed/
project/boot/
project/plugins/project/

# Scala-IDE specific
.scala_dependencies

# eclipse specific
bin/*
10 changes: 10 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>langpop</name>
<comment></comment>
<projects>
</projects>
<natures>
<nature>org.scala-ide.sdt.core.scalanature</nature>
</natures>
</projectDescription>
4 changes: 4 additions & 0 deletions .settings/org.eclipse.m2e.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name := "langpop"

scalaVersion := "2.9.2"
10 changes: 10 additions & 0 deletions langpop-query-github/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<classpath>
<classpathentry output="target\scala-2.9.2\classes" path="src\main\scala" kind="src"></classpathentry>
<classpathentry output="target\scala-2.9.2\classes" path="src\main\java" kind="src"></classpathentry>
<classpathentry output="target\scala-2.9.2\test-classes" path="src\test\scala" kind="src"></classpathentry>
<classpathentry output="target\scala-2.9.2\test-classes" path="src\test\java" kind="src"></classpathentry>
<classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"></classpathentry>
<classpathentry exported="true" path="/langpop-query" kind="src" combineaccessrules="false"></classpathentry>
<classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"></classpathentry>
<classpathentry path="bin" kind="output"></classpathentry>
</classpath>
12 changes: 12 additions & 0 deletions langpop-query-github/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<projectDescription>
<name>langpop-query-github</name>
<buildSpec>
<buildCommand>
<name>org.scala-ide.sdt.core.scalabuilder</name>
</buildCommand>
</buildSpec>
<natures>
<nature>org.scala-ide.sdt.core.scalanature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
3 changes: 3 additions & 0 deletions langpop-query-github/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name := "langpop-query-github"

scalaVersion := "2.9.2"
10 changes: 10 additions & 0 deletions langpop-query-stackoverflow/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<classpath>
<classpathentry output="target\scala-2.9.2\classes" path="src\main\scala" kind="src"></classpathentry>
<classpathentry output="target\scala-2.9.2\classes" path="src\main\java" kind="src"></classpathentry>
<classpathentry output="target\scala-2.9.2\test-classes" path="src\test\scala" kind="src"></classpathentry>
<classpathentry output="target\scala-2.9.2\test-classes" path="src\test\java" kind="src"></classpathentry>
<classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"></classpathentry>
<classpathentry exported="true" path="/langpop-query" kind="src" combineaccessrules="false"></classpathentry>
<classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"></classpathentry>
<classpathentry path="bin" kind="output"></classpathentry>
</classpath>
12 changes: 12 additions & 0 deletions langpop-query-stackoverflow/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<projectDescription>
<name>langpop-query-stackoverflow</name>
<buildSpec>
<buildCommand>
<name>org.scala-ide.sdt.core.scalabuilder</name>
</buildCommand>
</buildSpec>
<natures>
<nature>org.scala-ide.sdt.core.scalanature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
3 changes: 3 additions & 0 deletions langpop-query-stackoverflow/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name := "langpop-query-stackoverflow"

scalaVersion := "2.9.2"
9 changes: 9 additions & 0 deletions langpop-query/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<classpath>
<classpathentry output="target\scala-2.9.2\classes" path="src\main\scala" kind="src"></classpathentry>
<classpathentry output="target\scala-2.9.2\classes" path="src\main\java" kind="src"></classpathentry>
<classpathentry output="target\scala-2.9.2\test-classes" path="src\test\scala" kind="src"></classpathentry>
<classpathentry output="target\scala-2.9.2\test-classes" path="src\test\java" kind="src"></classpathentry>
<classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"></classpathentry>
<classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"></classpathentry>
<classpathentry path="bin" kind="output"></classpathentry>
</classpath>
12 changes: 12 additions & 0 deletions langpop-query/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<projectDescription>
<name>langpop-query</name>
<buildSpec>
<buildCommand>
<name>org.scala-ide.sdt.core.scalabuilder</name>
</buildCommand>
</buildSpec>
<natures>
<nature>org.scala-ide.sdt.core.scalanature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
3 changes: 3 additions & 0 deletions langpop-query/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name := "langpop-query"

scalaVersion := "2.9.2"
12 changes: 12 additions & 0 deletions langpop-web/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<classpath>
<classpathentry output="target\scala-2.9.2\classes" path="src\main\scala" kind="src"></classpathentry>
<classpathentry output="target\scala-2.9.2\classes" path="src\main\java" kind="src"></classpathentry>
<classpathentry output="target\scala-2.9.2\test-classes" path="src\test\scala" kind="src"></classpathentry>
<classpathentry output="target\scala-2.9.2\test-classes" path="src\test\java" kind="src"></classpathentry>
<classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"></classpathentry>
<classpathentry exported="true" path="/langpop-query" kind="src" combineaccessrules="false"></classpathentry>
<classpathentry exported="true" path="/langpop-query-github" kind="src" combineaccessrules="false"></classpathentry>
<classpathentry exported="true" path="/langpop-query-stackoverflow" kind="src" combineaccessrules="false"></classpathentry>
<classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"></classpathentry>
<classpathentry path="bin" kind="output"></classpathentry>
</classpath>
12 changes: 12 additions & 0 deletions langpop-web/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<projectDescription>
<name>langpop-web</name>
<buildSpec>
<buildCommand>
<name>org.scala-ide.sdt.core.scalabuilder</name>
</buildCommand>
</buildSpec>
<natures>
<nature>org.scala-ide.sdt.core.scalanature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
3 changes: 3 additions & 0 deletions langpop-web/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name := "langpop-web"

scalaVersion := "2.9.2"
19 changes: 19 additions & 0 deletions project/Build.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import sbt._
import Keys._

object LangpopBuild extends Build {
lazy val root = Project(id = "langpop",
base = file(".")) aggregate(langpopWeb, langpopQuery, langpopQueryGithub, langpopQueryStackoverflow)

lazy val langpopQuery = Project(id = "langpop-query",
base = file("langpop-query"))

lazy val langpopQueryGithub = Project(id = "langpop-query-github",
base = file("langpop-query-github")) dependsOn(langpopQuery)

lazy val langpopQueryStackoverflow = Project(id = "langpop-query-stackoverflow",
base = file("langpop-query-stackoverflow")) dependsOn(langpopQuery)

lazy val langpopWeb = Project(id = "langpop-web",
base = file("langpop-web")) dependsOn(langpopQuery, langpopQueryGithub, langpopQueryStackoverflow)
}

0 comments on commit 1e59522

Please sign in to comment.