Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added example to README.

  • Loading branch information...
commit fa0a20a0fc9cafd696f3c194a1c4f6a253e05b33 1 parent 6f9df54
Heiko Seeberger authored
Showing with 23 additions and 2 deletions.
  1. +23 −2 README.textile
View
25 README.textile
@@ -6,9 +6,30 @@ Attention: This is work in progress and so is SBT 0.9. In order to use this plug
h2. Usage
-* Create a SBT project
-* Add the plugin
+* First add the plugin to your global plugins project _~/.sbt/plugins_
+* Then create a SBT project
* Now you can use the command _eclipse_ to create Eclipse project files
+* Finally you can import the project in Eclipse unsing the "Import Wizard"
+
+Example:
+
+<pre><code>~$ mkdir -p .sbt/plugins
+~$ cd .sbt/plugins/
+plugins$ sbt09
+> set libraryDependencies += "com.weiglewilczek.sbteclipse" %% "sbteclipse" % "0.1"
+> set resolvers += ScalaToolsSnapshots
+> session save
+> exit
+
+tmp$ mkdir test
+tmp$ cd test
+test$ sbt09
+> eclipse
+[error] Only for Scala 2.9!
+> set scalaVersion := "2.9.0.RC1"
+> eclipse
+[info] Successfully created an Eclipse project for you. Have fun!
+</code></pre>
h2. License
Please sign in to comment.
Something went wrong with that request. Please try again.