Hi,
the enum approach has the disadvantage that the available relationship types
are static, e.g. they must be known at compile time. In some cases, this may
not be sufficient.
Therefore I have built a DynamicRelationType, which simply looks like this:
public class DynamicRelationshipType
Folks,
that might be a good utility class IMHO, Peter.
/peter
On Mon, May 5, 2008 at 11:20 AM, Peter Haensgen [EMAIL PROTECTED] wrote:
Hi,
the enum approach has the disadvantage that the available relationship
types are static, e.g. they must be known at compile time. In some cases,
this
On 5/5/08, Emil Eifrem [EMAIL PROTECTED] wrote:
It seems weird to me that an attribute named id would be optional,
The system relies heavily on MusicBrainz, but it's possible that some
artists from a Last.fm top list or similar don't have a known MBID
mapping (yet).
How do you get access to
Thanks, I can now connect to my neo running in a tomcat webapp. One
annoyance is that man says that the only available command is
quit, which is obviously untrue.
Philip
On 4/30/08, Mattias Persson [EMAIL PROTECTED] wrote:
Oh btw, sorry I meant that that it's the neo jar file which isn't
Hi I need to deploy the latest neo/shell version to dist.neo4j.org
since those doesn't seem to be the latest... how do I do it, or is
there someone who can do it?
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
No Windows for me, thanks. I'm running Ubuntu and the jars that maven
has collected for me are:
neo-1.0-rc1-SNAPSHOT.jar
jta-1.0.1.jar
shell-1.0-rc1-20080319.221229-7.jar
index-util-0.4-20080430.070359-1.jar
and lucene-core-2.3.1.jar, I suppose I should exclude it if I don't want it.
Philip
On
Oh, good (no windows) :)
It really should work with the latest 1.0-b6 version now, try getting it from:
http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
Yep there's a b0rked dependency on lucene in index-utils, that is on a
todo-list somewhere.
2008/5/5 Philip Jägenstedt [EMAIL
So... which versions should I use together? Currently I have
dependency
groupIdorg.neo4j/groupId
artifactIdneo/artifactId
version1.0-rc1-SNAPSHOT/version
/dependency
dependency
groupIdorg.neo4j/groupId
artifactIdindex-util/artifactId
Allright weird, and you have:
dependency
groupIdorg.neo4j/groupId
artifactIdshell/artifactId
version1.0-rc1-SNAPSHOT/version
/dependency
as well right? I just tried it, and it worked... using Mac OS X Leopard.
(make sure you have the -SNAPSHOT)
2008/5/5 Philip
Yep, all that's in 1.0-b6 is in 1.0-rc1 as well.
2008/5/5 Mattias Persson [EMAIL PROTECTED]:
Allright weird, and you have:
dependency
groupIdorg.neo4j/groupId
artifactIdshell/artifactId
version1.0-rc1-SNAPSHOT/version
/dependency
as well right? I just
The dist site only contains releases. You need to deploy a shell fix
for neo-1.0-b6? If so mail me the jar and I'll put it there.
-Johan
On Mon, May 5, 2008 at 1:54 PM, Mattias Persson
[EMAIL PROTECTED] wrote:
Hi I need to deploy the latest neo/shell version to dist.neo4j.org
since those
Nope, I haven't explicitly included the shell, but doing so I get
shell-1.0-rc1-SNAPSHOT.jar instead. However, quit is still the only
command man knows about. This is hardly critical, but I guess you'd
want to fix it.
Philip
On 5/5/08, Mattias Persson [EMAIL PROTECTED] wrote:
Yep, all that's in
Download the jars at:
http://m2.neo4j.org/org/neo4j/neo/1.0-b6/neo-1.0-b6.jar
http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
Those the site currently refers to arent the latest (as you may know).
2008/5/5 Johan Svensson [EMAIL PROTECTED]:
The dist site only contains releases. You
I'll try to reproduce it, what version of Ubuntu/Java are you using?
2008/5/5 Philip Jägenstedt [EMAIL PROTECTED]:
Nope, I haven't explicitly included the shell, but doing so I get
shell-1.0-rc1-SNAPSHOT.jar instead. However, quit is still the only
command man knows about. This is hardly
Strange, I thought it was an oversight and not a bug as such. Anyway,
Ubuntu Hardy with Java 1.5 (sun-java5-jre 1.5.0-15-0ubuntu1). I can
send you debug printouts or whatever you need if you give me
instructions.
Philip
On 5/5/08, Mattias Persson [EMAIL PROTECTED] wrote:
I'll try to reproduce
Great, actually you could start by sending my the exact commands you
use to start neo/shell (simplified jar-filenames in my examples):
o Are you starting neo separately with neo.enableRemoteShell() and
connecting with it remotely, with something like:
1) $ java -cp
Hi!
Why keep it in a final static map?
why not just:
public final class RelUtil
{
public final static RelationshipType createRelType(final String name)
{
return new RelationshipType()
{
public String name()
{
return name;
First, these are the jars maven give me (complete listing in the
unlikely case there is actually some strange interaction with one of
these and the neo shell).
commons-codec-1.2.jar
commons-el-1.0.jar
commons-httpclient-3.0.1.jar
commons-logging-1.0.3.jar
htmlparser-1.6.jar
OK, if you find you still can't reproduce it I can give you my
complete source tree :)
In the meanwhile, could someone just tell me what the available
commands are? man X works just fine, so if I just know the available
X's that'd help alot in the exploration.
Philip
On 5/5/08, Mattias Persson
Sure, my output gives:
Welcome to NeoShell
Available commands: cd env export gsh help jsh ls man mkrel mv pwd
quit rm rmrel set
Use man command for info about each command.
neo-sh (0)$
I guess 'man command', f.ex. man export woul work even in your case!
2008/5/5 Philip Jägenstedt [EMAIL
Thanks, didn't mean to sound unpatient. man command and the command
itself works for all those, so it seems the problem really is isolated
to just listing them.
Philip
On 5/5/08, Mattias Persson [EMAIL PROTECTED] wrote:
Sure, my output gives:
Welcome to NeoShell
Available commands: cd env
21 matches
Mail list logo