Hi Nicolas, We should be using the maven-bundle-plugin on the individual components, but I'll have to check to make sure that they look right. The org.neo4j:neo4j artifact is just a dependency jar, so it doesn't itself have anything to export. That's why Tobias suggested grabbing the individual dependencies.
I'll go try out a fresh pax-create-project to see what's up. Cheers, Andreas On Mar 12, 2011, at 9:21 AM, Nicolas Jouanin wrote: > Hi, > > I'll try this later on and I'll keep you informed. > Also, you could use the maven-bundle-plugin which helps in managing bundle > creation and dependencies stuffs. > > Nicolas. > > Le 12 mars 2011 à 09:13, Tobias Ivarsson a écrit : > >> Oh, right. >> >> Only the bundles that org.neo4j:neo4j depends on exports packages. I >> guess org.neo4j:neo4j >> would have to re-export the packages it depends on, so that your application >> can depend on org.neo4j:neo4j and use those packages. Is that the >> appropriate way? I have little OSGi experience (other than cursing over it >> when it fails the build process because you need to very explicitly declare >> which packages to include). >> >> If that would solve things for you we will make sure to make those changes >> for the next milestone. In the meantime you can directly depend on the >> bundles org.neo4j:neo4j depends on, you are probably interested in at least: >> org.neo4j:neo4j-kernel >> org.neo4j:neo4j-lucene-index >> But perhaps these as well: >> org.neo4j:neo4j-management - JMX support >> org.neo4j:neo4j-graph-algo - Graph algorithms, such as shortest path >> org.neo4j:neo4j-com - Communication support, this includes the online-backup >> server, and the bases that HA depends on >> org.neo4j:neo4j-ha - High availability support for Neo4j >> You might also want to be nice to us and have Neo4j send a ping to us every >> day, letting us know how many people use Neo4j: >> org.neo4j:neo4j-udc >> >> Please let us know how this works out for you, and if there are any >> problems. We have only done casual testing with OSGi, so any feedback is >> much appreciated. >> >> Cheers, >> Tobias >> >> On Fri, Mar 11, 2011 at 10:40 PM, Nicolas Jouanin <nicolas.joua...@gmail.com >>> wrote: >> >>> Hi, >>> >>> I'm planning to use Neo4j under OSGi framework. Because org.neo4j:neo4j >>> defines the needed headers (in MANIFEST.MF), it can be deployed as a bundle >>> on equinox or felix. >>> Unfortunatelly, the bundle doesn't export any package so it's quite >>> unuseful for me as my own bundle can't import them. >>> I guess, at least neo4j bundle should have Export-Package directive in >>> MANIFEST.MF file. >>> Do you think these headers could be added in the next snapshot ? >>> >>> Thanks. >>> >>> _______________________________________________ >>> Neo4j mailing list >>> User@lists.neo4j.org >>> https://lists.neo4j.org/mailman/listinfo/user >>> >> >> >> >> -- >> Tobias Ivarsson <tobias.ivars...@neotechnology.com> >> Hacker, Neo Technology >> www.neotechnology.com >> Cellphone: +46 706 534857 >> _______________________________________________ >> Neo4j mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user > > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user