Summary: it works if you set "\lucene-index\src\main\resources" as source
folder  (no need to set it as class folder)
----------
yes, if I add it as source folder instead of add it as class folder
let's see, reproducing...
wow, it is working now, how odd... (so adding it as source folder works)
well as I remember it, as soon as I added it as a source folder, tried to
run the org.neo4j.examples.CalculateShortestPath and I would get an eclipse
message saying something about Java Exception (nothing specific) pressed ok,
and in console I would get exceptions related to no class def found error (I
don't remember the exact stuff, since I didn't bother), but after removing
the folder from source folder and running the example again worked (with the
lucene error though)... I would be really curious as to why that happened
but looks like slim chances for me to be able to reproduce that

In all regards, since then I have updated from github, and as I see it,
removing the source folder still causes this to work, ie. not getting that
error anymore, ok this is odder but maybe something got fixed on github :)

hmm, looks like the folder contents (starting with META-INF) were already in
bin, hence why it works
I don't yet know how it got there...
Ok, deleted it and cleaned project, got rebuilt, and it wasn't auto-created,
so far so good, the error is there
Trying to add the folder as source folder, that works, it auto-created its
contents in bin
now cleaning the project will auto create that folder's contents in bin, so
no more lucene error

So in other words, it works as Peter and you said, adding
.\lucene-index\src\main\resources as source folder works, fixes that error.
So there is no need to add it as class folder as I did, though I do wish I
know why it didn't work then (with those eclipse errors)
Either way, I am using:
Eclipse SDK
Version: 4.1.0
Build id: M20110713-2200

Thanks Michael and Peter!

Hmm, considering the above, and looking in the big .bak_0.log on the
workspace the reason why I got the eclipse exception and no class def found
errors was most likely because I already had the bin\META-INF folder and its
contents (manually added by me from before)  before I set that folder as
source folder, so since build wants to copy/create it there, it failed,
hence it didn't compile anything or so... great now we know (or if it wasn't
clear enough for you, then it's "now *I* know" ) :)
!MESSAGE JavaBuilder handling ImageBuilderInternalException while building:
neo4j-community
!MESSAGE Resource already exists on disk:
'/neo4j-community/bin/META-INF/services/org.neo4j.graphdb.index.IndexProvider'


On Thu, Jul 21, 2011 at 6:04 AM, Michael Hunger <
[email protected]> wrote:

> Anyway as Peter said it should work to add the
> > .\lucene-index\src\main\resources
>
> as source path to your eclipse project. You said you were getting
> exceptions with eclipse.
>
> What kind of exceptions are those?
>
> Michael
>
>
> Am 20.07.2011 um 20:25 schrieb Peter Neubauer:
>
> > Hehe,
> >
> > On Wed, Jul 20, 2011 at 8:22 PM, cyuczi eekc <[email protected]>
> wrote:
> >> PS: you mispelled "programmatic" =)) (I'm actually laughing with you,
> not at
> >> you xD)
> > As I am a Gmail fanboy, I blame Google for not introducing a "Do not
> > send if misspelled" button. The "Undo send" I use in around 60% of my
> > mails. So deem for yourself would this mail _could_ have been like ;)
> >
> > /peter
> > _______________________________________________
> > Neo4j mailing list
> > [email protected]
> > https://lists.neo4j.org/mailman/listinfo/user
>
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to