neo4j 1.1.4-java → 1.2.0-java

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == 1.2.0 / 2011-08-16
2
+ * Upgrade to java library neo4j 1.4.1, see http://neo4j.rubyforge.org/guides/configuration.html
3
+
1
4
  == 1.1.4 / 2011-08-10
2
5
  * Fixed dependency to will_paginate, locked to 3.0.pre4 (newly released 3.0.0 does not work yet with neo4j.rb)
3
6
 
@@ -19,11 +19,11 @@ require 'neo4j/core_ext/class/inheritable_attributes'
19
19
  # Jars
20
20
 
21
21
  require 'neo4j/jars/core/geronimo-jta_1.1_spec-1.1.1.jar'
22
- require 'neo4j/jars/core/lucene-core-3.0.3.jar'
23
- require 'neo4j/jars/core/neo4j-lucene-index-1.3.jar'
24
- require 'neo4j/jars/core/neo4j-kernel-1.3.jar'
25
- require 'neo4j/jars/ha/neo4j-management-1.3.jar'
26
- require 'neo4j/jars/ha/neo4j-jmx-1.3.jar'
22
+ require 'neo4j/jars/core/lucene-core-3.1.0.jar'
23
+ require 'neo4j/jars/core/neo4j-lucene-index-1.4.1.jar'
24
+ require 'neo4j/jars/core/neo4j-kernel-1.4.1.jar'
25
+ require 'neo4j/jars/ha/neo4j-management-1.4.1.jar'
26
+ require 'neo4j/jars/ha/neo4j-jmx-1.4.1.jar'
27
27
 
28
28
  module Neo4j
29
29
 
@@ -39,24 +39,24 @@ module Neo4j
39
39
  end
40
40
 
41
41
  def self.load_shell_jars
42
- require 'neo4j/jars/ha/neo4j-shell-1.3.jar'
42
+ require 'neo4j/jars/ha/neo4j-shell-1.4.1.jar'
43
43
  end
44
44
 
45
45
  def self.load_online_backup
46
- require 'neo4j/jars/ha/neo4j-com-1.3.jar'
47
- require 'neo4j/jars/core/neo4j-backup-1.3.jar'
46
+ require 'neo4j/jars/ha/neo4j-com-1.4.1.jar'
47
+ require 'neo4j/jars/core/neo4j-backup-1.4.1.jar'
48
48
  require 'neo4j/jars/ha/netty-3.2.1.Final.jar'
49
49
  Neo4j.send(:const_set, :OnlineBackup, org.neo4j.backup.OnlineBackup)
50
50
  end
51
51
 
52
52
  def self.load_ha_jars
53
- require 'neo4j/jars/core/neo4j-backup-1.3.jar'
53
+ require 'neo4j/jars/core/neo4j-backup-1.4.1.jar'
54
54
  require 'neo4j/jars/ha/log4j-1.2.16.jar'
55
- require 'neo4j/jars/ha/neo4j-ha-1.3.jar'
56
- require 'neo4j/jars/ha/neo4j-com-1.3.jar'
55
+ require 'neo4j/jars/ha/neo4j-ha-1.4.1.jar'
56
+ require 'neo4j/jars/ha/neo4j-com-1.4.1.jar'
57
57
  require 'neo4j/jars/ha/netty-3.2.1.Final.jar'
58
58
  require 'neo4j/jars/ha/org.apache.servicemix.bundles.jline-0.9.94_1.jar'
59
- require 'neo4j/jars/ha/org.apache.servicemix.bundles.lucene-3.0.1_2.jar'
59
+ # require 'neo4j/jars/ha/org.apache.servicemix.bundles.lucene-3.0.1_2.jar' # TODO IS THIS NEEDED ?
60
60
  require 'neo4j/jars/ha/zookeeper-3.3.2.jar'
61
61
  end
62
62
  end
@@ -1,6 +1,6 @@
1
1
  # external neo4j dependencies
2
2
  require 'neo4j/to_java'
3
- require 'neo4j/jars/core/neo4j-graph-algo-1.3.jar'
3
+ require 'neo4j/jars/core/neo4j-graph-algo-1.4.1.jar'
4
4
 
5
5
  module Neo4j
6
6
 
@@ -56,7 +56,12 @@ module Neo4j
56
56
  tx = Neo4j::Transaction.new
57
57
  ret = yield tx
58
58
  tx.success
59
- rescue Exception
59
+ rescue Exception => e
60
+ if Neo4j::Config[:debug_java] && e.respond_to?(:cause)
61
+ puts "Java Exception in a transaction, cause: #{e.cause}"
62
+ e.cause.print_stack_trace
63
+ end
64
+
60
65
  tx.failure unless tx.nil?
61
66
  raise
62
67
  ensure
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = "1.1.4"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: neo4j
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.4
5
+ version: 1.2.0
6
6
  platform: java
7
7
  authors:
8
8
  - Andreas Ronge
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-10 00:00:00 +02:00
13
+ date: 2011-08-16 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -143,22 +143,21 @@ files:
143
143
  - lib/neo4j/rails/validations/associated.rb
144
144
  - lib/neo4j/rails/validations/uniqueness.rb
145
145
  - lib/neo4j/rails/validations/non_nil.rb
146
- - lib/neo4j/jars/core/lucene-core-3.0.3.jar
147
- - lib/neo4j/jars/core/neo4j-backup-1.3.jar
146
+ - lib/neo4j/jars/core/neo4j-backup-1.4.1.jar
148
147
  - lib/neo4j/jars/core/geronimo-jta_1.1_spec-1.1.1.jar
149
- - lib/neo4j/jars/core/neo4j-lucene-index-1.3.jar
150
- - lib/neo4j/jars/core/neo4j-graph-algo-1.3.jar
151
- - lib/neo4j/jars/core/neo4j-kernel-1.3.jar
148
+ - lib/neo4j/jars/core/neo4j-lucene-index-1.4.1.jar
149
+ - lib/neo4j/jars/core/lucene-core-3.1.0.jar
150
+ - lib/neo4j/jars/core/neo4j-graph-algo-1.4.1.jar
152
151
  - lib/neo4j/jars/core/neo4j-index-1.3-1.3.M01.jar
153
- - lib/neo4j/jars/ha/org.apache.servicemix.bundles.lucene-3.0.1_2.jar
152
+ - lib/neo4j/jars/core/neo4j-kernel-1.4.1.jar
153
+ - lib/neo4j/jars/ha/neo4j-management-1.4.1.jar
154
154
  - lib/neo4j/jars/ha/zookeeper-3.3.2.jar
155
155
  - lib/neo4j/jars/ha/netty-3.2.1.Final.jar
156
+ - lib/neo4j/jars/ha/neo4j-ha-1.4.1.jar
156
157
  - lib/neo4j/jars/ha/log4j-1.2.16.jar
157
- - lib/neo4j/jars/ha/neo4j-ha-1.3.jar
158
- - lib/neo4j/jars/ha/neo4j-com-1.3.jar
159
- - lib/neo4j/jars/ha/neo4j-management-1.3.jar
160
- - lib/neo4j/jars/ha/neo4j-shell-1.3.jar
161
- - lib/neo4j/jars/ha/neo4j-jmx-1.3.jar
158
+ - lib/neo4j/jars/ha/neo4j-shell-1.4.1.jar
159
+ - lib/neo4j/jars/ha/neo4j-com-1.4.1.jar
160
+ - lib/neo4j/jars/ha/neo4j-jmx-1.4.1.jar
162
161
  - lib/neo4j/jars/ha/org.apache.servicemix.bundles.jline-0.9.94_1.jar
163
162
  - lib/neo4j/index/indexer.rb
164
163
  - lib/neo4j/index/lucene_query.rb