Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] JVM arguments passed through launcher command line?

Stephan,

Thank you for the reply. I also found this doc related issue[1].

Unfortunately, I am still not able to get the property added to the
VM. When I execute the launcher by:

application.exe -console --launcher.appendVmargs -Daprop=avalue

The original vmargs in the ini are there, but the additional property
is not being appended.

Ben


[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=352235

On Tue, May 8, 2012 at 10:37 AM, Stephan Herrmann
<stephan@xxxxxxxxxxxxxxx> wrote:
> On 05/08/2012 06:25 PM, Ben Abernathy wrote:
>>
>> Is launcher.appendVmargs intended to address this by combining command
>> line and ini vmargs?
>
>
> Exactly. See the bug for details.
> It seems the documentation for this feature fell through the cracks.
> I just filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=378868
>
> best,
> Stephan
>
>
>> On Tue, May 8, 2012 at 10:18 AM, Stephan Herrmann
>> <stephan@xxxxxxxxxxxxxxx>  wrote:
>>>
>>> I was going to suggest --launcher.appendVmargs to avoid surprises [1],
>>> but I can't find it in the docs. What happened?
>>>
>>> best,
>>> Stephan
>>>
>>> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=149994
>>>
>>>
>>> On 05/08/2012 06:04 PM, Pascal Rapicault wrote:
>>>>
>>>>
>>>> See -vmargs on
>>>>
>>>>  http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html
>>>>
>>>> HTH
>>>>
>>>> Pascal
>>>>
>>>> On 2012-05-08, at 9:01 AM, Ben Abernathy wrote:
>>>>
>>>>> I'm not sure if this is the right list to ask, but here it goes. We
>>>>> have an OSGi application built that uses the equinox launcher. I would
>>>>> like to be able to pass -D properties via the command line in order to
>>>>> aid automated integration testing of our application.
>>>>>
>>>>> For example, I'm trying to accomplish this:
>>>>> application.exe -Dsomeprop=somevalue
>>>>>
>>>>> However, this doesn't appear to work. Is this not possible or am I
>>>>> missing something else? I realize I can declare these properties in
>>>>> the launcher ini, but I'd prefer not to do that as I'd have to create
>>>>> a new ini for each integration test.
>>>>>
>>>>> Any help would be greatly appreciated.
>>>>>
>>>>> Ben
>>>>> _______________________________________________
>>>>> equinox-dev mailing list
>>>>> equinox-dev@xxxxxxxxxxx
>>>>> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> equinox-dev mailing list
>>>> equinox-dev@xxxxxxxxxxx
>>>> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>>>
>>>
>>> _______________________________________________
>>> equinox-dev mailing list
>>> equinox-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>>
>> _______________________________________________
>> equinox-dev mailing list
>> equinox-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top