This is a Maven repository for SKETCH and related projects.
These instructions should work on any platform (windows, os x, linux). If not, please contact the author. I (gatoatigrado) recommend Windows or Linux since Apple chose to roll their own JVM, and it's not as good as Sun's.
1 Install Java 1.6 or later, and Maven. Add Maven's bin directory to your PATH. Check the versions as below.
> mvn -version Apache Maven 2.2.0 (r788681; 2009-06-26 06:04:01-0700) Java version: 1.6.0_14 Java home: /usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux" version: "22.214.171.124-0.1-default" arch: "amd64" Family: "unix"
2 Use the following command to create a new project, which has dependencies automatically linked to Skalch. Customize the command line below to your liking. The groupId is your institution, e.g. edu.berkeley.cs, the artifactId is your project, e.g. skalch-test, the version should be 0.01-SNAPSHOT, and package (the base Java package name) should be something similar to the artifact, but without hyphens. Press "y" to confirm, and your project has been created!
mvn archetype:generate -DarchetypeGroupId=edu.berkeley.cs.sketch -DarchetypeArtifactId=skalch-archetype \ -DarchetypeVersion=0.2 -DarchetypeRepository=http://cobol.cs.berkeley.edu/mvn \ -DgroupId=edu.berkeley.cs -DartifactId=skalch-test -Dversion=0.01-SNAPSHOT, -Dpackage=skalch_test
3 cd into the project directory (the same as the artifact id), and execute the command in the README file (it's simple, but depends on project variables).
contact: gatoatigrado (nicholas tung) [ntung at ntung]
Research done through UC Berkeley's ParLab, supported by Intel and Microsoft.