Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] -startup - p2.inf

Hi,
This issue is not related to Tycho itself.. Please ask this question about p2 touchpoints on p2 support channels, like the p2-dev@xxxxxxxxxxx mailing-list.
Cheers

On Wed, Nov 25, 2020 at 3:50 PM Hoelting, Frank <fhoelting_extern@xxxxxxxxxx> wrote:

Hallo,

 

For a client I developed an Eclipse Launcher that replaces the original one. To use the customer launcher I set the new launcher in the p2.inf as follows

 

instructions.unconfigure=\

org.eclipse.equinox.p2.touchpoint.eclipse.removeProgramArg(programArg:-startup);\

org.eclipse.equinox.p2.touchpoint.eclipse.removeProgramArg(programArg:plugins${#47}org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar);

instructions.configure=\

org.eclipse.equinox.p2.touchpoint.eclipse.addProgramArg(programArg:-startup);\

org.eclipse.equinox.p2.touchpoint.eclipse.addProgramArg(programArg:plugins${#47}com.project.launcher_1.0.0.jar);

 

the result surprises me after all:

config.ini

 

-startup

plugins/com.product.launcher_1.0.0.jar

-startup

C:\com.customer\products\com.product\target\products\com.initka.nui.development.product\win32\win32\x86_64\plugins\org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1300.v20200819-0940

 

Instead of deleting the old launcher org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar it is now generated with an absolute path. Without p2.inf the old launcher is generated correctly.

 

-startup

plugins\org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar

 

How can I replace the old launcher with the new one?

 

Many thanks and greetings

Frank

 

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user


--
Mickael Istria
Eclipse IDE developer, for Red Hat Developers

Back to the top