I should also add, if you want to get the root of your bundle's private
area, you should use an empty string per the spec.
-> richard
On 3/17/09 2:34 PM, Richard S. Hall wrote:
On 3/17/09 2:33 PM, Richard S. Hall wrote:
The spec says the path should be relative. Felix returns null for
non-relative paths.
On Windows, you probably get different behavior because it looks for
File.separatorChar, which is "\\" on Windows, not "/", so "/" is
non-relative under Windows.
That should say, "...so "/" is relative under Windows."
-> richard
-> richard
On 3/17/09 2:17 PM, BJBg wrote:
Dear all,
Have you experienced the OSGi command
context.getDataFile("/")
on Linux with Felix ?
The result seems quite different if you are on Windows or Linux.
- On Windows, the beahaviour is OK.
- On Linux, the method returns "null".
Any idea ?
B.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]