What osgi framework do you use? I believe this works with equinox. Can you provide a small standalone example and steps to reproduce the problem?
On December 10, 2014 12:46:59 PM EST, "Cristiano Gavião" <[email protected]> wrote: >Hello, > >I'm facing a problem with a bundle created by maven-bundle-plugin that >contains the myresource.xml resource file inside the >src/main/resources/configuration directory. > >When running an eclipse OSGi debug, trying to get this resource using >bundle.getEntry("/configuration/myresource.xml") returns me a null >value. > >Investigating, I searched for this resource using >bundle.findEntries("/", >"myresource.xml", true) and it returned me: > >[src/main/resources/configuration/myresource.xml, >target/classes/configuration/myresource.xml] > >is this behaviour being caused by m2e or maven-bundle-plugin or PDE? > >anything I can do so bundle.getEntry("/configuration/myresource.xml") >gives >me the right value ? > >many thanks, > >Cristiano > > >------------------------------------------------------------------------ > >_______________________________________________ >m2e-users mailing list >[email protected] >To change your delivery options, retrieve your password, or unsubscribe >from this list, visit >https://dev.eclipse.org/mailman/listinfo/m2e-users -- Sent from my Android device with K-9 Mail. Please excuse my brevity. _______________________________________________ m2e-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users
