Community
Participate
Working Groups
Build Identifier: Version: 3.6.2 Build id: M20110210-1200 The IResource.setResourceAtrributes method no-ops because the libunixfile_1_0_0.so is not included in the Eclipse distribution on this platform. My understanding is that the code should be falling back to use java.io interfaces on platforms where the native library is not available. But it does not appear to be using java.io and rather is simply returning without performing any function. Reproducible: Always Steps to Reproduce: 1. Using code like: IFile file = .... // Get an existing file from a project ResourceAttributes attrs = file.getResourceAttributes(); attrs.setReadOnly(true); file.setResourceAttributes(attrs); This always fails on the Linux ppc64 platform.
To what Java 1.5 API we should fall back for setting readonly attribute? I remember there was a guy who offered help in compiling natives on linux.ppc64, but he disappeared. Is there someone on your side who could compile the source on this platform?
*** This bug has been marked as a duplicate of bug 350860 ***