Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:28 Go to next message
Alexander NyÃ?en is currently offline Alexander NyÃ?enFriend
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 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: Thu Apr 25 05:10:26 GMT 2024

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

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

Back to the top