I'm having a bit of a problem with a bundle i'm trying to build.
Because of some external tooling, all the class files need to be located
in ./WEB-INF/classes/com/... instead of ./com/ (with respect to the
bundle root). No matter what i put in the pom.xml i don't seem to be
able to place the output from the compile into ./WEB-INF/classes/com .
Using <Include-Resource> instruction to move the target/classes/com
branch to ./WEB-INF/classes/com but it also gets put in ./com .
<!-- OSGi Felix bundle plugin -->
<!-- use latest release of plugin
<!-- load felix extensions -->
The following along with
the maven-dependency-plugin configured below
the bundle within eclipse.
I'm getting lots of errors along the lines of:
[ERROR] Error building bundle
com.nick.test.ui:gui:bundle:1.0.0.DEV-SNAPSHOT : Class in different
directory than declared. Path from class name is
com/nick/test/ui/gui/LogInstantiator.class but the path in the jar is
/com/nick/test/ui/gui/LogInstantiator.class from Jar:dot
The only difference being the leading '/'. I'm only making a hypothesis
that this is caused because the class files are being put in /com as
well as /WEB-INF/classes/com. if i put in <_failok> the produced bundle
is virtually what i want (minus having the com directory also in the root)
Anyone have any ideas?
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]