| 
| PDE build don't set execute permission on launcher binary [message #373468] | Wed, 29 July 2009 10:25  |  | 
| Eclipse User  |  |  |  |  | Hello, 
 Since I updated to galileo release, I noticed that the launchers
 created for unix systems (Linux/OSX) has no execute permissions anymore.
 We have to "chmod +x" the launcher to be able to run it.
 
 Is this a p2 director related problem ? how can I put this execute right
 automatically ?
 
 Thanks.
 Laurent Marchal.
 |  |  |  | 
|  | 
|  | 
| 
| Re: PDE build don't set execute permission on launcher binary [message #480769 is a reply to message #433216] | Tue, 18 August 2009 08:49  |  | 
| Eclipse User  |  |  |  |  | Thanks for the information Andrew. I will follow the bug tracker with great interest.
 
 Laurent.
 
 
 Andrew Niefer a écrit :
 > It is somewhat related to using the p2 director.
 > Assuming that the metadata is set up properly, the director should be
 > setting the executable bit, this should happen by default for normal
 > product builds.
 >
 > Generally, the problem is that when using the director, pde.build is no
 > longer directly in control of what files are in the final result.  Ant's
 > zip which is the default archive format does not preserve file
 > permissions and they must be specified explicitly when creating the
 > archive.  We ran out of time in 3.5 and didn't get this part working.
 >
 > In a headless build (on nix systems), you can set the archiveFormat to
 > "zip" or "tar", both of which using the native tools which will preserve
 > permissions.
 >
 > There is bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=282260
 >
 > -Andrew
 > Laurent Marchal wrote:
 >> Hello,
 >>
 >>     Since I updated to galileo release, I noticed that the launchers
 >> created for unix systems (Linux/OSX) has no execute permissions
 >> anymore. We have to "chmod +x" the launcher to be able to run it.
 >>
 >> Is this a p2 director related problem ? how can I put this execute
 >> right automatically ?
 >>
 >> Thanks.
 >> Laurent Marchal.
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.06411 seconds