[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: file permissions (QNX, MacOs and other)

We're just trying to avoid more natives creeping into core. Currently, we're 99% pure java, with only a small, optional native for getting and setting file timestamps. This was done as an optimization, on Windows and Linux only. It's a lot of work to create and support libraries on all platforms that Eclipse ships on, so we'd like to avoid it if possible. What we'd really be doing is patching the weaknesses of the java class libraries, which could become a slippery slope.
-



Grant Gayed wrote:

Wouldn't something like this be better owned by core?  There are other
scenarios beyond Update that require the setting of permission bits on
libraries, retrieving from cvs being a big one that comes to mind.

Grant

Christophe Elek wrote:

John Arthorne <john_arthorne@xxxxxxxx> wrote in news:3D7E6B7C.5030705
@o_ti.com:


All we have is what java provides us on java.io.File. In other words, there is no support for changing file permissions in Eclipse.

Christophe Elek wrote:

Beside Windows and Unix flavors, is there any other system we support we file permisison ?
Any API to manage them ?




Hi John,
Sorry I misexplained myself,
The Update manager will install plugins and files. Some will need permissions (namely some .so and batch on Linux) I will need to develop some kind of native to callthe apropriate chmod code.
I was wondering if QNX and Mac/OS have the same issue, some file cannot 'execute' without setting permissions



--
Christophe Elek
Eclipse Project
http://www.eclipse.org