Skip to main content



      Home
Home » Eclipse Projects » Equinox » p2.inf within fragment seems to be ignored.
p2.inf within fragment seems to be ignored. [message #123411] Mon, 22 December 2008 10:28 Go to next message
Eclipse UserFriend
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 16:17 Go to previous message
Eclipse UserFriend
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
Previous Topic:Re: 3.4 installation as a target platform
Next Topic:equinox on glassfish?
Goto Forum:
  


Current Time: Sat Jun 07 21:45:05 EDT 2025

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

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

Back to the top