p2.inf within fragment seems to be ignored. [message #123411] |
Mon, 22 December 2008 15:28 |
Alexander NyÃ?en Messages: 38 Registered: July 2009 |
Member |
|
|
Hallo,
I have bundled some linux executables (mast_analysis, mast_xml_convert,
mast_xml_convert_results) within the os/linux/x86/ sub-folder of a linux-x86
specific fragment. Within the META-INF folder of the fragment I have further
provided a p2.inf file with some chmod touchpoint actions to set executable
permissions for the above mentioned executables.
However, when installing the fragment via the p2 director (i.e. its
enclosing feature) all those chmod statements seem to be ignored, i.e. the
resulting files are not executable.
The p2.inf contents is as follows:
instructions.install = \
chmod(targetDir:@artifact,targetFile:os/linux/x86/mast_analy sis,permissions:755);\
chmod(targetDir:@artifact,targetFile:os/linux/x86/mast_xml_c onvert,permissions:755);\
chmod(targetDir:@artifact,targetFile:os/linux/x86/mast_xml_c onvert_results,permissions:755);
The director does not report any exceptions (also not in the .log file). Any
ideas?
Regards,
Alexander
|
|
|
Re: p2.inf within fragment seems to be ignored. [message #123676 is a reply to message #123411] |
Fri, 02 January 2009 21:17 |
Eclipse User |
|
|
|
Originally posted by: eclipseng.arthorne.com
I suggest entering a bug report against RT > Equinox > p2 and someone
will follow-up there with more questions to diagnose the problem.
--
Alexander Nyßen wrote:
> Hallo,
>
> I have bundled some linux executables (mast_analysis, mast_xml_convert,
> mast_xml_convert_results) within the os/linux/x86/ sub-folder of a
> linux-x86 specific fragment. Within the META-INF folder of the fragment
> I have further provided a p2.inf file with some chmod touchpoint actions
> to set executable permissions for the above mentioned executables.
>
> However, when installing the fragment via the p2 director (i.e. its
> enclosing feature) all those chmod statements seem to be ignored, i.e.
> the resulting files are not executable.
>
> The p2.inf contents is as follows:
>
> instructions.install = \
> chmod(targetDir:@artifact,targetFile:os/linux/x86/mast_analy sis,permissions:755);\
>
> chmod(targetDir:@artifact,targetFile:os/linux/x86/mast_xml_c onvert,permissions:755);\
>
> chmod(targetDir:@artifact,targetFile:os/linux/x86/mast_xml_c onvert_results,permissions:755);
>
>
> The director does not report any exceptions (also not in the .log file).
> Any ideas?
>
> Regards,
> Alexander
|
|
|
Powered by
FUDForum. Page generated in 0.04315 seconds