Mmh, thanks for the feedback! This sounds like a note in the docs, or some example project setup to make sure this is documented somewhere. Care to set up a maven project with a testcase that we could pull into the main build system to avoid further problems? I would like to have a WAR based project anyway in order to demonstrate servlet-based use of Neo4j wich I could add in there ...
Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer brew install neo4j && neo4j start heroku addons:add neo4j On Thu, Dec 8, 2011 at 6:57 PM, Ian Forsey <for...@gmail.com> wrote: > It's ok, I figured a work around for this. > > Maven was creating a WAR with the web admin JARs in WEB-INF/lib. If I > instead extracted the web admin static JAR so the contents were directly in > the WAR, it worked. > > I had to first tell maven not to package the JAR by specifying provided as > the scope. > > <dependency> > <groupId>org.neo4j.app</groupId> > <artifactId>neo4j-server</artifactId> > <version>1.5</version> > <classifier>static-web</classifier> > <scope>provided</scope> > </dependency> > > Then used the maven unpack dependencies plugin to unpack the JAR into the > WAR: > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-dependency-plugin</artifactId> > <version>2.4</version> > <executions> > <execution> > <goals> > <goal>unpack-dependencies</goal> > </goals> > <phase>process-resources</phase> > </execution> > </executions> > <configuration> > <includeGroupIds>org.neo4j.app</includeGroupIds> > <includeArtifactIds>neo4j-server</includeArtifactIds> > <includeClassifiers>static-web</includeClassifiers> > <includes>webadmin-html/**</includes> > > <outputDirectory>target/graphdemo-1.0/WEB-INF/classes</outputDirectory> > </configuration> > </plugin> _______________________________________________ NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register and consider posting at https://groups.google.com/forum/#!forum/neo4j Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user