-- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--You received this message because you are subscribed to a topic in the Google Groups "bndtools-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bndtools-users/_xsTCxn-lzw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bndtools-user...@googlegroups.com.
BJ, you imply that Bndtools can not provide value in an m2e environment, which pits them as competitors. I think that's unhelpful. With m2e we are no longer in charge of the build, but we can still run/debug bndrun files, resolve, inspect bundles, provide assisted editing of bnd files, etc.
Neil
Development time I give the project a bndtools nature.
I understand that I can't have both natures because they can conflict. It is not the case with all project natures as I can have a project that combines maven and scala or javascript but both maven and bnd are fighting for what belongs in the classpath. I know I can do the second two bullet points under the bndnature in maven now. From Christians note above I can build a single jar. Using the debugging tips for debugging karaf in bndtools on the enroute site I can create a custom lifecycle in maven and run pax-exams karaf container. A combination of https://books.sonatype.com/mvnref-book/reference/writing-plugins-sect-plugins-lifecycle.html and https://github.com/ops4j/org.ops4j.pax.exam2/tree/master/containers I would prefer to let maven handle the build for the following reasons.
That being said I love the bndtools experience. I want the best of both worlds and would love to get all the error messages, warnings, repository views and other great things in bndtools even with the maven nature turned on. I think in order to do this I would have to have a way to create the bnd workspace from maven. I think I can do this using a custom plugin that parses my parent pom and creates the appropriate x.maven files and updates the build.bnd file. I can hide the warning that shows when there is both a maven nature and bnd nature. The problem I am not sure how to fix is that both m2e will be building and saving jars as well as bnd. I currently have them setup to build and save to the same file but this can cause conflicts. Is there a way to have the bnd nature on a project and have bnd build and check for errors but not persist the jar. Or is there a way to get the repository view and bnd build tips without having a bnd project nature on the individual projects.
Thanks for any help,
David