Re: WOLips on Windows [was RE: Eclipse update sites]

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Apr 11 2008 - 04:17:53 EDT

  • Next message: Q: "Re: [OS-JIRA] Created: (WOL-781) Component Editor: Add preference to control whether Prepend "get" to method name is defaulted to on/off"

    So any rumors when Java 6 finally becomes available on OS X?

    Andrus

    On Apr 11, 2008, at 10:59 AM, Bill Michell wrote:
    > Java 6 offers a nice mechanism in awt to open URLs in a platform
    > independent way…
    >
    > Java.awt.Desktop.getDesktop().browse(URI uri) works a treat. I guess
    > a Java 6 dependency is currently still a bit much to ask.
    >
    > --
    > Bill Michell
    > Development Team Leader, Broadcast Platforms, BBC FM&T (Journalism).
    >
    >
    > From: Bill Michell [mailto:bill.michel..bc.co.uk]
    > Sent: 10 April 2008 17:35
    > To: woproject-de..bjectstyle.org
    > Subject: RE: WOLips on Windows [was RE: Eclipse update sites]
    >
    > No – the WO5.4.1 _WOLaunchServices class no longer even tries to
    > find the WOOpenUrl.exe file. It just goes straight to “/usr/bin/
    > open” with no extension – which is never going to work on Windows.
    >
    > Fortunately, WOApplication declares _WOLaunchServices _lanchServices
    > as public and not final, so it is possible to drop in a replacement.
    > Unfortunately, the critical method is declared as private so can’t
    > be overridden – so there is a lot of work to do if you want to craft
    > your own replacement L
    >
    > It does sound like this is something that WOLips should be doing
    > itself…
    > --
    > Bill Michell
    > Development Team Leader, Broadcast Platforms, BBC FM&T (Journalism).
    >
    > From: John Huss [mailto:johnthus..mail.com]
    > Sent: 10 April 2008 16:26
    > To: woproject-de..bjectstyle.org
    > Subject: Re: WOLips on Windows [was RE: Eclipse update sites]
    >
    > If AutoOpenInBrowser it's usually because you're missing the
    > WOOpenUrl executable. This isn't available after 5.3 but you can
    > easily create an exe and opens the default web browser to the
    > correct url and put the exe in the right spot to make it work.
    >
    > Also, I think I remember seeing that WOOpenUrl wasn't even included
    > in a fresh install on 5.4 on Mac, but I could be wrong.
    >
    > Personally, I think it would be great if WOLips provided a way to
    > launch the browser with the correct url instead of relying on WO to
    > do it. It seems like something that should be the IDE's
    > responsibility.
    >
    > John
    > On Thu, Apr 10, 2008 at 10:11 AM, David Avendasora <webobject..vendasora.com
    > > wrote:
    >
    >> AutoOpenInBrowser is completely broken on Windows now, even with
    >> the Application._isSupportedDevelopmentPlatform hack – but
    >> everything else, being just java, simply works.
    >>
    >
    > I'm guessing this is a WO IDE integration issue, and I believe that
    > Mike has done some substantial work on that side, but I don't know
    > if it is anything that either broke or will help with WOLips on
    > Windows.
    >
    >
    > http://www.bbc.co.uk
    > This e-mail (and any attachments) is confidential and may contain
    > personal views which are not the views of the BBC unless
    > specifically stated.
    > If you have received it in error, please delete it from your system.
    > Do not use, copy or disclose the information in any way nor act in
    > reliance on it and notify the sender immediately.
    > Please note that the BBC monitors e-mails sent or received.
    > Further communication will signify your consent to this.
    >
    > http://www.bbc.co.uk
    > This e-mail (and any attachments) is confidential and may contain
    > personal views which are not the views of the BBC unless
    > specifically stated.
    > If you have received it in error, please delete it from your system.
    > Do not use, copy or disclose the information in any way nor act in
    > reliance on it and notify the sender immediately.
    > Please note that the BBC monitors e-mails sent or received.
    > Further communication will signify your consent to this.



    This archive was generated by hypermail 2.0.0 : Fri Apr 11 2008 - 04:18:49 EDT