Hi Alexis,
We made the decision to phase towards Maven for the build lifecycle
therefore Any + Ivy will most certainly be outdated for all modules.
Best
Lewis
On Sun, Jul 8, 2012 at 8:52 PM, Alexis alexis.detregl...@gmail.com wrote:
Hi Kaz,
Currently, in my case, gora-cassandra build fails. Any idea why the
build appears as successful on Hudson?
https://builds.apache.org/job/gora-trunk/337/org.apache.gora$gora-cassandra/
$ svn co http://svn.apache.org/repos/asf/gora/trunk/ gora
$ cd gora/gora-cassandra
$ ant
compile:
[javac] Compiling 10 source files to
/home/alex/java/ext/gora/gora-cassandra/build/classes
[javac]
/home/alex/java/ext/gora/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraColumn.java:23:
package me.prettyprint.cassandra.serializers does not exist
[javac] import me.prettyprint.cassandra.serializers.FloatSerializer;
BUILD FAILED
Now the only required dependencies in gora-cassandra/ivy/ivy.xml are:
dependency org=org.apache.gora name=gora-core
rev=latest.integration changing=true conf=*-@/
dependency org=org.jdom name=jdom rev=1.1/
dependency org=org.hectorclient name=hector-core rev=1.1-0/
compile:
[javac] Compiling 10 source files to
/home/alex/java/ext/gora/gora-cassandra/build/classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
BUILD SUCCESSFUL
I plan to commit patch attached in email and JIRA if you're fine with it:
https://issues.apache.org/jira/browse/GORA-140
Alexis
On Fri, Jun 1, 2012 at 8:51 AM, Kazuomi Kashii kazu...@kashii.net wrote:
I found the following in hector-core-1.1-0.pom of
.m2/repository/org/hectorclient/hector-core/1.1-0.
!--for abstract types? --
dependency
groupIdorg.apache.cassandra/groupId
artifactIdcassandra-all/artifactId
/dependency
Currently, I am not sure that it is really necessary.
Anyway, we should remove cassandra-all from pom.xml of gora and
gora-cassandra.
-Kaz
On 6/1/12 7:44 AM, Kazuomi Kashii wrote:
Regarding dependency,
gora-cassandra is a client library of Cassandra via Hector,
so it depends only apache-cassandra-thrift-1.1.0.jar (or ...-1.0.x.jar),
and cassandra-all is not necessary.
-Kaz
On 6/1/12 6:50 AM, Lewis John Mcgibbney wrote:
Afternoon Everyone (specifically Kazuomi),
In process of upgrading our gora-cassandra deps and wondered if I
could cut a corner and for you to remind me about the changes you made
to the Gora source to accommodate the upgrade?
Hector has been renamed to org.hectorclient, however package naming
has been retained (for the time being). Also I think you mentioned
something about dropping the cassandra-all dependency... is this
correct. If so that would be great as it's a beast with many
transitive deps which we end up fetching as well.
Any hits would be great.
Have a great weekend
Lewis
--
Lewis