How to ignore p2.inf for linux builds / replace myproduct.exe with renamed eclipsec.exe [message #1777320] |
Tue, 28 November 2017 13:09 |
Martin Schemel Messages: 6 Registered: November 2013 Location: Berlin |
Junior Member |
|
|
I have an Eclipse RCP product.
I am (ab?)using the p2.inf file, located in the directory the .product file is located in, to remove the <product name>.exe file and rename the eclipsec.exe file to the <product name>.exe file. The content looks as follows:
instructions.configure = \
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/eclipsec.exe, target:${installFolder}/myproductname.exe, overwrite:true);\
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/eclipsec.exe);
I need to build this product for windows and linux. For windows the p2.inf file instructions work fine. For linux this fails, which I am not surprised about (there is no .exe file).
Is there a way to execute those instructions for windows only / ignore the p2.inf file for linux builds when the product is built with tycho (for linux just 1 executable is generated anyway)?
Thanks in advance.
Tycho version: 1.0.0
Eclipse SDK version: 4.7.0
[Updated on: Wed, 29 November 2017 09:46] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03292 seconds