|
|
|
jvmArg fails during installation of my bundle [message #487847 is a reply to message #134428] |
Thu, 24 September 2009 14:31 |
Helge Böhme Messages: 5 Registered: July 2009 |
Junior Member |
|
|
Hello,
I've added a META-INF/p2.inf to my bundle to alter the eclipse.ini during
installation:
> instructions.configure = \
> addJVMArg(jvmArg:-Djava.system.class.loader=com.wibu.xpm.Too lsSysCl);\
> addJVMArg(jvmArg:-Djava.ext.dirs=plugins/${artifact});
> instructions.unconfigure = \
> removeJVMArg(jvmArg:-Djava.system.class.loader=com.wibu.xpm. ToolsSysCl);\
> removeJVMArg(jvmArg:-Djava.ext.dirs=plugins/${artifact});
During installation of the containing feature into the Eclipse IDE an
error is reported and afterwards the installation is broken (even the
history), see error log below.
The problem is similar to Laurent's but in this case the action is
resolved correctly to the full package path.
Am I missing something, or is this a problem in p2?
Helge
eclipse.buildId=I20090611-1540
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.rcp.product -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product -data C:\Dokumente und Einstellungen\HelgeB\workspace-sdk -product org.eclipse.epp.package.rcp.product -clean
Error
Thu Sep 24 15:11:06 CEST 2009
No action found for: org.eclipse.equinox.p2.touchpoint.eclipse.addJVMArg.
java.lang.IllegalArgumentException: No action found for: org.eclipse.equinox.p2.touchpoint.eclipse.addJVMArg.
at org.eclipse.equinox.internal.provisional.p2.engine.MissingAc tion.execute(MissingAction.java:38)
at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mai nPerform(Phase.java:129)
at org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:72)
at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:44)
at org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:54)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ovisioningUtil.performProvisioningPlan(ProvisioningUtil.java :389)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ofileModificationOperation.doExecute(ProfileModificationOper ation.java:61)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ovisioningOperation.execute(ProvisioningOperation.java:37)
at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningO perationRunner$1.run(ProvisioningOperationRunner.java:94)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Error
Thu Sep 24 15:11:06 CEST 2009
session context was:(profile=epp.package.rcp, phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.Configure, operand=null --> [R]com.symtavision.symtas.licensing 2.1.0.200909241506, action=org.eclipse.equinox.internal.provisional.p2.engine.Mi ssingAction).
|
|
|
|
Powered by
FUDForum. Page generated in 0.04635 seconds