Skip to main content



      Home
Home » Eclipse Projects » Oomph » Skipping Oomph setup
Skipping Oomph setup [message #1612863] Thu, 12 February 2015 03:54 Go to next message
Eclipse UserFriend
Hi,

We have some automated test that unzip some IDE package in a new directory and that perform some installation steps on top of it. Those use SWTBot to mimic installation scenario as we expect users to perform it.
The Oomph setup dialog pops-up early and messes up our SWTBot tests. Is there a way to skip this setup page?

Cheers,
Re: Skipping Oomph setup [message #1613775 is a reply to message #1612863] Thu, 12 February 2015 17:15 Go to previous messageGo to next message
Eclipse UserFriend
Mickael,

These options give you control:

public static final String PROP_SETUP_SKIP = "oomph.setup.skip";

public static final String PROP_SETUP_QUESTIONNAIRE_SKIP =
"oomph.setup.questionnaire.skip";


On 12.02.2015 09:54, Mickael Istria wrote:
> Hi,
>
> We have some automated test that unzip some IDE package in a new
> directory and that perform some installation steps on top of it. Those
> use SWTBot to mimic installation scenario as we expect users to perform it.
> The Oomph setup dialog pops-up early and messes up our SWTBot tests. Is
> there a way to skip this setup page?
>
> Cheers,
Re: Skipping Oomph setup [message #1700449 is a reply to message #1613775] Thu, 02 July 2015 12:03 Go to previous messageGo to next message
Eclipse UserFriend
Thansks Ed.
This has worked for some weeks, but with the latest Mars release, I now get an error in my automated tests: "java.lang.IllegalStateException: There is no eclipse.launcher property defined", which opens a pop-up and prevent my SWTBot tests to run. I tried to add a "-Dorg.eclipse.oomph.setup.skip=true" but that didn't work.
What would you advse to prevent this message from popping-up in automated tests?
Re: Skipping Oomph setup [message #1700459 is a reply to message #1700449] Thu, 02 July 2015 13:02 Go to previous messageGo to next message
Eclipse UserFriend
Am 02.07.2015 um 18:03 schrieb Mickael Istria:
> Thansks Ed.
> This has worked for some weeks, but with the latest Mars release, I now get an error in my automated tests:
> "java.lang.IllegalStateException: There is no eclipse.launcher property defined", which opens a pop-up and prevent my
> SWTBot tests to run. I tried to add a "-Dorg.eclipse.oomph.setup.skip=true" but that didn't work.
> What would you advse to prevent this message from popping-up in automated tests?
Please open a bugzilla and attach the complete stack trace so that we can see how you arrived at this point.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: Skipping Oomph setup [message #1700460 is a reply to message #1700459] Thu, 02 July 2015 13:27 Go to previous messageGo to next message
Eclipse UserFriend
Thanks, I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=471731
Re: Skipping Oomph setup [message #1700462 is a reply to message #1700460] Thu, 02 July 2015 13:37 Go to previous messageGo to next message
Eclipse UserFriend
Am 02.07.2015 um 19:27 schrieb Mickael Istria:
> Thanks, I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=471731
Sorry, I didn't see that earlier because you didn't show a stack trace here. The system property is just
-Doomph.setup.skip=true (not prefixed with "org.eclipse"). With that it should work.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: Skipping Oomph setup [message #1700465 is a reply to message #1700462] Thu, 02 July 2015 13:55 Go to previous messageGo to next message
Eclipse UserFriend
BTW., most of our system properties start with "oomph...":

public interface SetupProperties
{
public static final String PROP_SETUP_SKIP = "oomph.setup.skip";

public static final String PROP_SETUP_QUESTIONNAIRE_SKIP = "oomph.setup.questionnaire.skip";

public static final String PROP_SETUP_OFFLINE_STARTUP = "oomph.setup.offline.startup";

public static final String PROP_SETUP_MIRRORS_STARTUP = "oomph.setup.mirrors.startup";

public static final String PROP_SETUP_OFFLINE = "oomph.setup.offline";

public static final String PROP_SETUP_MIRRORS = "eclipse.p2.mirrors";

public static final String PROP_SETUP_UNSIGNED_POLICY = "eclipse.p2.unsignedPolicy";

public static final String PROP_SETUP_REMOTE_DEBUG = "oomph.setup.remote.debug";

public static final String PROP_REDIRECTION_BASE = "oomph.redirection.";

public static final String PROP_UPDATE_URL = "oomph.update.url";

public static final String PROP_SETUP_PRODUCT_CATALOG_FILTER = "oomph.setup.product.catalog.filter";

public static final String PROP_SETUP_PRODUCT_FILTER = "oomph.setup.product.filter";

public static final String PROP_SETUP_PRODUCT_VERSION_FILTER = "oomph.setup.product.version.filter";

public static final String PROP_SETUP_JRE_CHOICE = "oomph.setup.jre.choice";
}

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: Skipping Oomph setup [message #1700473 is a reply to message #1700465] Thu, 02 July 2015 14:41 Go to previous messageGo to next message
Eclipse UserFriend
Ok, I looked at the wrong class apparently http://git.eclipse.org/c/cdo/org.eclipse.oomph.git/tree/plugins/org.eclipse.oomph.setup/src/org/eclipse/oomph/internal/setup/SetupProperties.java
Re: Skipping Oomph setup [message #1700476 is a reply to message #1700473] Thu, 02 July 2015 14:48 Go to previous message
Eclipse UserFriend
Am 02.07.2015 um 20:41 schrieb Mickael Istria:
> Ok, I looked at the wrong class apparently
> http://git.eclipse.org/c/cdo/org.eclipse.oomph.git/tree/plugins/org.eclipse.oomph.setup/src/org/eclipse/oomph/internal/setup/SetupProperties.java
Yep, that whole repo is stone age :P

I guess I should remove it soon...

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Previous Topic:component.def dependencies cached?
Next Topic:Targlet cannot be resolved
Goto Forum:
  


Current Time: Sun Jul 13 15:31:45 EDT 2025

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

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

Back to the top