Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] The action chmod faile: linux\gtk\x86\apps\icon.xpm does not exist

One more thing I found is that it had successfully created the icon.xpm in target/extraArtifacts/my.product.executable.gtk.linux.x86.zip. Why was it not copied to the final product?

Thanks,
Xihui


On Thu, Apr 17, 2014 at 8:59 AM, Xihui Chen <xihui@xxxxxxx> wrote:
Hi Jan, 

Thanks for the reply. Yes, I was using relative path. The most weird thing is that if I comment few arbitrary modules out, it can build successfully. It looks like I can not have more than 12 modules in my top pom file. If I use <packaging>eclipse-application</packaging> rather than <packaging>eclipse-repository</packaging>, it can also build if I put icon files in icons/ folder rather than branding/icons/ folder.

One thing I don't understand is that why it can still build even if I commented dependent modules out?

Thanks,
Xihui




On Thu, Apr 17, 2014 at 12:08 AM, Sievers, Jan <jan.sievers@xxxxxxx> wrote:

probably the relative path to the icon is wrong.

Paths are expected relative to the directory of the .product file.

 

see related https://bugs.eclipse.org/bugs/show_bug.cgi?id=424805

 

Jan

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Xihui Chen
Sent: Mittwoch, 16. April 2014 22:23
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] The action chmod faile: linux\gtk\x86\apps\icon.xpm does not exist

 

Hi All,

 

When I added an xpm icon to the linux platform in my rcp product file, such as <linux icon="branding/icons/alt_launcher.xpm"/>, the Tycho build failed with below error:

 

An error occurred while installing the items

 session context was:(profile="" phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]RTI_AdminConsole.product.executable.gtk.linux.x86 5.1.0, action="">

 The action chmod failed - file C:\RTI\ndds_head\modules\adminconsole.1.0\srcJava\com.rti.tools.console.product\target\products\RTI_AdminConsole.product\linux\gtk\x86\apps\icon.xpm does not exist

 

 

I used the same icon in my another RCP project, it can be built successfully and I can see that icon.xpm has been copied to the product. So there must be some reason that the icon.xpm was failed to be copied to the product. I compared the pom and product configuration for the two RCP projects and didn't see any difference. What are the possible reasons that icon.xpm was not copied to the linux product?

 

 

Thanks!

Xihui


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
Xihui Chen
Senior Software Engineer
Tel 865-3606795




--
Xihui Chen
Senior Software Engineer
Tel 865-3606795


Back to the top