Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » -XX: Eclipse Ini issues
-XX: Eclipse Ini issues [message #1785846] Fri, 20 April 2018 14:56 Go to next message
David Coley is currently offline David ColeyFriend
Messages: 37
Registered: July 2012
Member
Ed,

I noticed today that if I put multiple -XX: VMARG options, only the first is accepted.
I agree that using a lot of -XX are not good practice for launching the Eclipse platform, but are curious if this is considered a bug?

I don't have access to Bugizzla due to posting rules sorry.
Re: -XX: Eclipse Ini issues [message #1785851 is a reply to message #1785846] Fri, 20 April 2018 15:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Note that you can arbitrarily split the overall argument string between the Option feature and the Value feature. The option part is used to do merging. So if you special -XX as the option and have two of them with different values they will merge into one. If you won't want them to merge, specify everything (the whole argument) as part of the Option with no Value. E.g., these three tasks will be merged into only two tasks:
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0">
  <setup:EclipseIniTask
      option="-XXabc"
      value="xyz"
      vm="true"/>
  <setup:EclipseIniTask
      option="-XXabc"
      value="def"
      vm="true"/>
  <setup:EclipseIniTask
      option="-XXfoo"
      value="xyz"
      vm="true"/>
</xmi:XMI>

So I think with this approach you can achieve what you need, i.e., multiple different -XX arguments.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: -XX: Eclipse Ini issues [message #1786045 is a reply to message #1785851] Tue, 24 April 2018 17:50 Go to previous message
David Coley is currently offline David ColeyFriend
Messages: 37
Registered: July 2012
Member
Brilliant thanks
Previous Topic:How prevent Eclipse from overwriting its settings with the Oomph user.setup settings?
Next Topic:Secure Cache - For Automatic secure proxy access
Goto Forum:
  


Current Time: Thu Apr 18 04:20:42 GMT 2024

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

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

Back to the top