Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Eclipse 3.4.2 problem on 64 bit machines(ResourceAttribute problem in Eclipse 3.4.2 on 64 bit machines)
Eclipse 3.4.2 problem on 64 bit machines [message #651962] Wed, 02 February 2011 09:53
sridhar is currently offline sridhar
Messages: 20
Registered: July 2009
Junior Member
Environment:
==========
eclipse-SDK-3.4.2-win32-x86_64.zip
Java : 1.6
windows 2k3 64 bit

Using ResourceAttributes, we are not able to make a file writable.

Following is the code:
ResourceAttributes resAttrs = resource.getResourceAttributes();
resAttrs.setReadOnly(false);
resource.setResourceAttributes(resAttrs);

Still the resource is read-only.

Note: The problem is not observed in eclipse 3.5 and eclipse 3.6 on 64 bit binaries.
Previous Topic:Help starting plugin development using GEF
Next Topic:Problem with GEF/Zest 3.6 libraries
Goto Forum:
  


Current Time: Mon Oct 20 23:02:23 GMT 2014

Powered by FUDForum. Page generated in 0.01529 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software