passing artifact location to jvm argument [message #129737] |
Wed, 22 April 2009 17:01  |
Eclipse User |
|
|
|
I have a binary artifact which is the standalone native engine of my app.
I have it zipped up. I have a touchpoint that unzips it at install time.
That part is working. I need to set a jvm argument so that the java
plugins portion of the product can find where the engine was installed.
I'd like to do something like I have outlined below where I add a jvmArg
which points to the artifact that I just unzipped. In 3.4, I just end up
with the line:
-Dengine.home=@artifact
in the eclipse.ini. Is there a way I can get the installed location of the
artifact to a jvm arg in 3.4? How about 3.5?
<artifacts size='1'>
<artifact classifier='binary' id='engine.win32.x86'
version='1.0.0' />
</artifacts>
<touchpoint
id='org.eclipse.equinox.p2.osgi'
version='1.0.0' />
<touchpointData size='1'>
<instructions size='3'>
<instruction key='zipped'>
true
</instruction>
<instruction key='configure'>
addJvmArg(jvmArg:-Dengine.home=@artifact);
</instruction>
<instruction key='unconfigure'>
removeJvmArg(jvmArg:-Dengine.home=@artifact);
</instruction>
</instructions>
</touchpointData>
Jon
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03340 seconds