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?

We have an ini file as well with some standard vmargs in it. What
think I'm noticing is, if you have vmargs specified on the command
line, the vmargs in the ini file are ignored. Is that correct? Is
launcher.appendVmargs intended to address this by combining command
line and ini vmargs?

Thanks,

Ben

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


Back to the top