Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
Thanks, didn't mean to sound unpatient. man 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 ex

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread 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 for info about each command. neo-sh (0)$ I guess 'man ', f.ex. man export woul work even in your case! 2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>: > OK, if

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
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

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
Allright thanks for the digging, I've tried with Ubuntu Hardy and java 1.5 just like you and I can't reproduce it... However! Now it hits me that it just must be the fact that it's run inside a webapp. 'man' searches for available commands (classes extending org.neo4j.util.shell.App) by looking at

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
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 index-util-0.4-20080430

Re: [Neo] Does RelationshipType enum need to be unique?

2008-05-05 Thread Viktor Klang
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;

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
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 target/classes:neo.jar:jta.

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
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

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
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 hard

Re: [Neo] Deploy to dist.neo4j.org

2008-05-05 Thread Mattias Persson
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. Yo

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
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'

Re: [Neo] Deploy to dist.neo4j.org

2008-05-05 Thread Johan Svensson
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 d

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
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: > > > >org.neo4j >shell > >1.0-rc1-SNAPSHOT > > > as well right? I just tried it, and it worked... using Mac OS X Leopard. > (make su

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
Allright weird, and you have: org.neo4j shell 1.0-rc1-SNAPSHOT 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 Jägenstedt <[EMAIL PROTECTED]>: > So... which versions should I use together

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
So... which versions should I use together? Currently I have org.neo4j neo 1.0-rc1-SNAPSHOT org.neo4j index-util 0.4-SNAPSHOT Shouldn't rc1 include everything that b6 does? I moved to rc1 because I got some ClassNotFoundException with neo-b

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
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 PRO

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
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

[Neo] Deploy to dist.neo4j.org

2008-05-05 Thread Mattias Persson
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

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
Oh, you're using Windows right? I guess that fix came in after shell 1.0-b6. Should work just fine in neo/shell 1.0-rc1. I figure I could patch the b6 version with that fix as well... 2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>: > Thanks, I can now connect to my neo running in a tomcat webapp.

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
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 is

Re: [Neo] Mapping UUID to Neo node

2008-05-05 Thread Philip Jägenstedt
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 acces

Re: [Neo] Does RelationshipType enum need to be unique?

2008-05-05 Thread Peter Neubauer
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,

RE: [Neo] Does RelationshipType enum need to be unique?

2008-05-05 Thread Peter Haensgen
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 i