Hey there, I am totaly new to Neo4j and I got it running in Eclipse using Maven and I was very impressed by its speed on traversing my data sets. I am planning to use neo4j as the core technology for the relaunch of my so far mysql based social network which builds the foundation of my PhD thesis.
But for the last hours I tried to get neo4j running in GWT without maven and I failed all the time. I included the neo4j libs in the buildpath. When I want to create an GraphDatabase Service object like this GraphDatabaseService graphDb = new EmbeddedGraphDatabase( "var/graphdb" ); Eclipse tells me to include the proper packages so I added: import org.neo4j.graphdb.GraphDatabaseService; import org.neo4j.kernel.EmbeddedGraphDatabase; now I can compile and run the project. Unfortunatly the function call to the function in which I create graphDB does not work. After some googleing I figured out that I have to include the classes to the MyProjectsName.gwt.xml file which i did by adding: <inherits name='org.neo4j.graphdb.GraphDatabaseService' /> <inherits name='org.neo4j.kernel.EmbeddedGraphDatabase' /> to the xml files. but now the Project won't even compile I receive the following error message: ... de.metalcon.connectneo4j.Connectneo4j Loading inherited module 'org.neo4j.graphdb.GraphDatabaseService' [ERROR] Unable to find 'org/neo4j/graphdb/GraphDatabaseService.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [ERROR] Line 5: Unexpected exception while processing element 'inherits' ... from what i understand this is kind of obvious. neo4j wasn't compiled with GWT in mind. Also i am thinking that it doesn't make sense to compile all the neo4j libs to client side javascript with GWT. The neo4j calls should all be serversided anyway. Has anyone experience with GWT, eclipse and neo4j and knows how this issue can be resolved? the only other way I see is to use neo4j as a standalone server and acess it using the REST api in GWT but I am not to happy about this solution. Thanks a lot! best regards René -- *Das Debütalbum meiner Band IN LEGEND erscheint am 20.5.2010! Video gucken <http://www.youtube.com/watch?v=aLesGMA0-rM> und bei AMAZON vorbestellen <http://goo.gl/3H0Fm> (Danke!) * -- mobile: +49 (0)176 6433 2481 Skype: +49 (0)6131 / 4958926 Skype: rene.pickhardt www.rene-pickhardt.de <http://www.beijing-china-blog.com> _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user