/** ____ __ ____ ____ ____/___ ____ __ __ ____
* ( _ \ /__\ (_ )(_ _)( ___) __) ( _ \( )( )( _ \
* ) / /(__)\ / /_ _)(_ )__)\__ \ )___/ )(__)( ) _ <
* (_)\_)(__)(__)(____)(____)(____)___/ (__) (______)(____/
*
* Copyright (c) Razvan Cojocaru, 2007+, Creative Commons Attribution 3.0
*/
These projects are setup as eclipse projects and also have ant build and sbt build files. The sbt and eclipse are actively maintained...
Here's how to use it:
-
Setup sbt and scala
-
In the sbt Project file for your project (project/build/Project.scala), add the dependency:
val scrip = "com.razie" %% "scripster" % "0.8-SNAPSHOT"
Using it in an eclipse project is easy as well.
-
Create the sbt setup for your project, as mentioned above
-
Issue the 'sbt update' command - sbt will go and download all required jars
-
In the eclipse project, add all the jar files from the lib_managed folder
Here's how to build it, if you feel like forking it:
-
Setup sbt 0.7.7 and scala 2.9.1 http://code.google.com/p/simple-build-tool/wiki/Setup
-
Make a workspace directory ${w}
-
checkout the following projects
cd ${w} git clone [email protected]:razie/scripster.git
Note: if you don't have a github ssh key setup, use the anonymous checkout:
git clone http://github.com/razie/scripster.git
-
sbt build
cd ${w}/scripster sbt update publish-local
Create the distribution, with ant. Note that this distribution includes all other code except scala libraries.
-
edit ${w}/razbase/razie.properties and set the w property to the workspace
-
Build razbase, scripster and gremlins with sbt
-
Create the dist
cd ${w}/scripster ant dist
-
Eclipse setup
- install the scala 2.9.1 plugin
Do an sbt build: It's important to note that the eclipse projects depend on the sbt jar files!
8.1. create the projects Create a project for: razbase, scripster
Good luck!