Platform specific tasks [message #1708261] |
Tue, 15 September 2015 05:58 |
|
VMarguments configuration is different on target platforms
(os=win32,ws=win32,arch=x86_64)
-Xmx2048m
(os=win32,ws=win32,arch=x86)
-Xmx768m
What would be the best way to configure such things?
|
|
|
|
Re: Platform specific tasks [message #1708288 is a reply to message #1708264] |
Tue, 15 September 2015 08:01 |
|
You are right.
I have a custom product which is installed on different architectures (x86 and x86_64).
How do I specify different vmargs for those different target architectures?
Is that feasible and if yes how?
|
|
|
|
|
Re: Platform specific tasks [message #1708306 is a reply to message #1708303] |
Tue, 15 September 2015 10:46 |
|
Am 15.09.2015 um 12:37 schrieb Stephan Hildebrandt:
> Hi Eike,
>
> I suppose Peter is referring to the EclipseIni nodes one can specify in a setup model. I am facing exactly that
> problem: How can I specify an enhancement of the eclipse.ini in the setup model depending on the processor
> architecture? If the Oomph installer installs my product on a 32 bit architecture, I want to set the maxmimum heap
> size to 1.5G, if it is a 64 bit architecture, I want to set it to 4G. I would need to attach a condition to the
> EclipseIni elements in the setup model.
Okay, I see now ;-)
Unfortunately we have no solution in place already. We've discussed a few possible approaches, though:
1) Add environment filter attributes (in whatever exact form) to SetupTask.
2) Add a new string filter (probably more an integer filter) that reduces an ideal (for 64 bit) value to the maximum
value on the current system.
3) Add special logic to EclipseIniTask that detects and fixes possible problems for any of the memory-related args.
Except for https://bugs.eclipse.org/bugs/show_bug.cgi?id=429245 (conditional task execution, which is the most complex
approach) we have no enhancement request, yet, for this topic. Please submit one, so that we can continue the discussion
there...
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.04293 seconds