Hello all,

I have a bundle with  myresource.xml resource file inside the
src/main/resources/configuration directory.

When trying to get this resource using
bundle.getEntry("/configuration/myresource.xml") I'm getting a null value
(running an eclipse OSGi debug).

Then I tried to search for this resource using bundle.findEntries("/",
"myresource.xml", true);

and surprisingly this was the result:

[src/main/resources/configuration/myresource.xml,
target/classes/configuration/myresource.xml]

could someone explain me this behaviour and help me to configure such a way
I can use getEntry properly ?

many thanks,

Cristiano

Reply via email to