Skip to content

Instantly share code, notes, and snippets.

View akollegger's full-sized avatar

Andreas Kollegger akollegger

View GitHub Profile
// import for MongoDB Scala Driver
import com.osinka.mongodb.{MongoObject}
import com.osinka.mongodb.shape._
import com.osinka.mongodb.wrapper.DBO
import com.osinka.mongodb.Preamble._
import com.mongodb.{Mongo,DBObject}
case class User extends MongoObject {
diff --git a/pom.xml b/pom.xml
index d699b0a..b76e082 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
<groupId>com.osinka</groupId>
<artifactId>mongo-scala-driver</artifactId>
<version>0.7.4</version>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
diff --git a/src/main/java/com/example/models/Predicates.java b/src/main/java/com/example/models/Predicates.java
index e9e9d35..06ad491 100644
--- a/src/main/java/com/example/models/Predicates.java
+++ b/src/main/java/com/example/models/Predicates.java
@@ -1,6 +1,6 @@
package com.example.models;
-import org.neo4j.api.core.RelationshipType;
+import org.neo4j.graphdb.RelationshipType;
@akollegger
akollegger / gist:156760
Created July 27, 2009 21:52
bin/textmate diff
diff --git a/bin/textmate b/bin/textmate
index 56d6231..2fda421 100755
--- a/bin/textmate
+++ b/bin/textmate
@@ -130,8 +130,8 @@ class TextmateInstaller < Thor
private
def remote_bundle_locations
- { :'Macromates Trunk' => {:scm => :svn, :url => 'http://macromates.com/svn/Bundles/trunk/Bundles'},
- :'Macromates Review' => {:scm => :svn, :url => 'http://macromates.com/svn/Bundles/trunk/Review/Bundles'},
#!/usr/bin/env bash
# Gather Features - checkout and build all
mkdir features
cd features
# gather-common: checkout, build and install into local maven repository
git clone git://github.com/akollegger/gather-common.git
cd gather-common
mvn clean install -DperformRelease=true