Download logstash:
wget https://logstash.objects.dreamhost.com/release/logstash-1.1.5-monolithic.jar
#!/bin/sh | |
# Current as working as of 2012/4/17 | |
# Xcode 4.3.2 | |
PROJECT_ROOT="$HOME/SomeDirWhereYourProjectLives/XXXXXXXX" | |
WORKSPACE="$PROJECT_ROOT/XXXXXXXX.xcodeproj/project.xcworkspace" | |
CONFIG="AdHoc" | |
SCHEME="XXXXXXXX" |
Edit your $GROOVY_HOME/conf/groovy-start.conf and add the following line: | |
load !{user.home}/.groovy/grapes/**.jar | |
After that your @Grab will work as advertised: | |
#!/usr/bin/env groovy | |
@Grab(group='mysql', module='mysql-connector-java', version='5.1.12') | |
import groovy.sql.Sql |