Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
44 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#Generated by sbteclipse | ||
#Mon Oct 15 14:00:41 PDT 2012 | ||
deprecation=true | ||
scala.compiler.useProjectSettings=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
This is a code example of using the Slick database query library for Scala. | ||
|
||
http://slick.typesafe.com | ||
|
||
The example was used at | ||
|
||
http://www.meetup.com/Bay-Area-Scala-Enthusiasts/events/80269142/ | ||
http://www.meetup.com/Bay-Area-Scala-Enthusiasts/events/80268902/ | ||
|
||
To get it running you need | ||
|
||
SBT 0.12 | ||
http://www.scala-sbt.org/release/docs/Getting-Started/Setup.html | ||
|
||
Make sure sbt is in your PATH. | ||
|
||
You then need to clone this project | ||
git clone git://github.com/cvogt/slick-presentation | ||
|
||
Run sbt | ||
# sbt | ||
|
||
Run the code example from within sbt | ||
> run | ||
|
||
You can edit the example using your favorite editor or to get proper code completion you can use | ||
|
||
Eclipse 3.7 | ||
http://www.eclipse.org/downloads/packages/eclipse-classic-372/indigosr2 | ||
|
||
The Scala-IDE plugin | ||
http://download.scala-ide.org/releases-210/milestone/site | ||
|
||
Create a new Eclipse project in the project folder and add the slick jar to the build path. You can find it in the ivy cache. Under Windows it is located in you user directory under .ivy2\cache\com.typesafe\slick_2.10.0-M7\jars\slick_2.10.0-M7-0.11.1.jar |