Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Platform specific tasks(Is it feasible to configure tasks which are only executed on a specific target platform)
Platform specific tasks [message #1708261] Tue, 15 September 2015 05:58 Go to next message
Peter Kirschner is currently offline Peter KirschnerFriend
Messages: 28
Registered: July 2009
Junior Member

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 #1708264 is a reply to message #1708261] Tue, 15 September 2015 06:10 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6693
Registered: July 2009
Senior Member
Am 15.09.2015 um 07:58 schrieb Peter Kirschner:
> 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?
Sorry, you left out the context of your question. Maybe you explain what you'd do without Oomph to achieve what you want
to achieve...

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: Platform specific tasks [message #1708288 is a reply to message #1708264] Tue, 15 September 2015 08:01 Go to previous messageGo to next message
Peter Kirschner is currently offline Peter KirschnerFriend
Messages: 28
Registered: July 2009
Junior Member

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 #1708296 is a reply to message #1708288] Tue, 15 September 2015 08:52 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6693
Registered: July 2009
Senior Member
Am 15.09.2015 um 10:01 schrieb Peter Kirschner:
> 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?
Still trying to figure out what you're asking. Is this "custom product" a .product file (and your question is about the
target platform) or an Oomph product in a custom .setup file (and your question is about authoring that setup file)?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: Platform specific tasks [message #1708303 is a reply to message #1708296] Tue, 15 September 2015 10:37 Go to previous messageGo to next message
Stephan Hildebrandt is currently offline Stephan HildebrandtFriend
Messages: 25
Registered: July 2015
Junior Member
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.


Best regards,

Stephan
Re: Platform specific tasks [message #1708306 is a reply to message #1708303] Tue, 15 September 2015 10:46 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6693
Registered: July 2009
Senior Member
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


Previous Topic:Start Installer in Advanced Mode
Next Topic:New Installer Use
Goto Forum:
  


Current Time: Thu Dec 26 21:48:03 GMT 2024

Powered by FUDForum. Page generated in 0.04293 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top