{{props.SNAPSHOT_BLURB}}

SBT Example

  1. Add core or file dependency to your build.sbt or project settings
    libraryDependencies += "{{props.groupId}}" %% "scala-io-core" % "{{props.version}}"
    libraryDependencies += "{{props.groupId}}" %% "scala-io-file" % "{{props.version}}"
              
  2. build project if you are ready
    sbt compile
There is an example SBT project prepackaged at example-sbt-project.zip.
> curl -L http://jesseeichar.github.com/scala-io-doc/{{props.version}}/example_projects/example-sbt-project.zip > \
    tmp.zip && unzip tmp.zip && rm tmp.zip
> cd example-sbt-project
> sbt run

Maven Example

Add core or file dependency to you project definition

<!-- Core -->
<dependency>
 <groupId>{{props.groupId}}</groupId>
 <artifactId>scala-io-core_{{props.scalaVersion}}</artifactId>
 <version>{{props.version}}</version>
</dependency>

<!-- File -->
<dependency>
 <groupId>{{props.groupId}}</groupId>
 <artifactId>scala-io-file_{{props.scalaVersion}}</artifactId>
 <version>{{props.version}}</version>
</dependency>
Note that the scala version (_{{props.scalaVersion}}) needs to be kept up to date manually unlike the sbt version

There is an example maven project prepackaged at example-maven-project.zip.
> curl -L http://jesseeichar.github.com/scala-io-doc/{{props.version}}/example_projects/example-maven-project.zip > \
    tmp.zip && unzip tmp.zip && rm tmp.zip
> cd example-maven-project
# if a SNAPSHOT version edit pom.xml and uncomment the snapshot repository section
> mvn compile exec:java -Dexec.mainClass="Main"
    

Any questions you may have can be asked on the mailing list: http://groups.google.com/group/scala-incubator

Manual Download Example

Naturally a manual download option is also available. The dependencies are fairly simple: