Re: Eclipse ignoring WOAutoOpenInBrowser

From: Chuck Hill (chil..lobal-village.net)
Date: Fri May 28 2010 - 21:41:16 UTC

  • Next message: Ricardo J. Parada: "Re: Eclipse ignoring WOAutoOpenInBrowser"

    Check the Launch configuration.

    On May 28, 2010, at 2:21 PM, Ricardo J. Parada wrote:

    >
    > Hi all,
    >
    > We have some apps that are not really web apps. The application
    > constructor does this:
    >
    > public MPVAgentApplication() {
    > setAutoOpenInBrowser(false);
    > }
    >
    > Also, all the properties and command line arguments for
    > WOAutoOpenInBrowser are set to false. The application runs and it
    > even logs this:
    >
    > [2010-05-28 15:56:41,757] <main> WARN You are running in
    > development mode with WOAutoOpenInBrowser = false. No browser will
    > open and it will look like the application is hung, but it's not.
    > There's just not a browser opening automatically.
    >
    > HOWEVER, three of our developers have this problem where they launch
    > the application and it still opens a browser window.
    >
    > Does anybody have an idea what could be causing this? We already
    > checked properties, command line arguments, even logging the
    > property to see its value, launch configuration, and the application
    > logs the message saying it won't open in browser automatically, BUT
    > IT DOES!
    >
    > Other developers (me included) don't have that problem.
    >
    > Is this a WOLips thing? WOApplication thing? Wonder thing? Where to
    > look?
    >
    > :-)

    -- 
    Chuck Hill             Senior Consultant / VP Development
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Fri May 28 2010 - 21:41:57 UTC