Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Changing permissions or root files
Changing permissions or root files [message #551220] Thu, 05 August 2010 16:00 Go to next message
Andreas Pakulat is currently offline Andreas PakulatFriend
Messages: 127
Registered: July 2009
Senior Member
Hi,

I'm adding a jre to my product build using a feature the the root-files
feature. That part works fine, what doesn't work is preserving at least some
of the permissions on the copied jre. This is apparently essential to keep
the jre working on linux/x64 as without executable bits set on some of the
files java won't start.

So I've tried to use the root-files feature for that too, but it doesn't
seem to work:

root.linux.x86.gtk.folder.jre=absolute:/opt/JREs/1.5.0-linux -x86
root.linux.x86.gtk.permissions.755=jre/bin/**

Setting permissions for files that the PDE-build generates itself works just
fine:

root.linux.x86.gtk.permissions.755=myide

Anybody with an idea what might be going wrong there? Or is this simply not
possible currently?

Andreas
Re: Changing permissions or root files [message #552816 is a reply to message #551220] Fri, 13 August 2010 15:54 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
For reference, this is the bug raised by Andreas
https://bugs.eclipse.org/bugs/show_bug.cgi?id=322340


Andreas Pakulat wrote:

> Hi,
>
> I'm adding a jre to my product build using a feature the the root-files
> feature. That part works fine, what doesn't work is preserving at least
> some of the permissions on the copied jre. This is apparently essential to
> keep the jre working on linux/x64 as without executable bits set on some
> of the files java won't start.
>
> So I've tried to use the root-files feature for that too, but it doesn't
> seem to work:
>
> root.linux.x86.gtk.folder.jre=absolute:/opt/JREs/1.5.0-linux -x86
> root.linux.x86.gtk.permissions.755=jre/bin/**
>
> Setting permissions for files that the PDE-build generates itself works
> just fine:
>
> root.linux.x86.gtk.permissions.755=myide
>
> Anybody with an idea what might be going wrong there? Or is this simply
> not possible currently?
>
> Andreas
Re: Changing permissions or root files [message #606467 is a reply to message #551220] Fri, 13 August 2010 15:54 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
For reference, this is the bug raised by Andreas
https://bugs.eclipse.org/bugs/show_bug.cgi?id=322340


Andreas Pakulat wrote:

> Hi,
>
> I'm adding a jre to my product build using a feature the the root-files
> feature. That part works fine, what doesn't work is preserving at least
> some of the permissions on the copied jre. This is apparently essential to
> keep the jre working on linux/x64 as without executable bits set on some
> of the files java won't start.
>
> So I've tried to use the root-files feature for that too, but it doesn't
> seem to work:
>
> root.linux.x86.gtk.folder.jre=absolute:/opt/JREs/1.5.0-linux -x86
> root.linux.x86.gtk.permissions.755=jre/bin/**
>
> Setting permissions for files that the PDE-build generates itself works
> just fine:
>
> root.linux.x86.gtk.permissions.755=myide
>
> Anybody with an idea what might be going wrong there? Or is this simply
> not possible currently?
>
> Andreas
Previous Topic:Plugin Deployment Failed
Next Topic:Export-Package
Goto Forum:
  


Current Time: Thu Apr 25 04:43:11 GMT 2024

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

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

Back to the top