• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unable to locate WOOpenURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to locate WOOpenURL


  • Subject: Re: Unable to locate WOOpenURL
  • From: Q <email@hidden>
  • Date: Fri, 21 Sep 2007 13:36:37 +1000

I know this doesn't fix your problem, but we just define WOPort to some arbitrary value and bookmark the url in the browser, no need for autoopen, because your development instance always runs on the same port.

It also has the other advantage of avoiding accidentally leaving multiple instances running at the same time.

On 21/09/2007, at 1:14 PM, Lachlan Scott wrote:

We've been struggling with (only one of) our PCs not being able to
autolaunch a browser from a build

We're getting this message in the console

[2007-09-21 14:40:22 NZST] <main> Unable to locate WOOpenURL on your
computer, AutoOpen launch will not work
[2007-09-21 14:40:22 NZST] <main> Opening application's URL in browser:
http://10.50.3.111:1839/cgi-bin/WebObjects/TXT2Get.woa


Since we thought we'd already fixed this by adding these methods in
Application:

    public boolean _isForeignSupportedDevelopmentPlatform()
    {
    	return (super._isForeignSupportedDevelopmentPlatform() ||
    _isAdditionalForeignSupportedDevelopmentPlatform());
    }

    public boolean _isAdditionalForeignSupportedDevelopmentPlatform()
    {
    	String s = System.getProperty("os.name");
    	NSLog.out.appendln("System property: " + s);
    	return s != null && s.equals("Windows XP");
    }

We were at a loss to understand the problem.

We did some digging around and found that there is a 'WOOpenURL.exe'
buried in the Apple installation directories (5.2 for Win), and assume
that this would launch the browser if only Eclipse knew where to find
it. We further assume that might be an environment variable, either in
the PC system or in Eclipse, but don't see any clues.

If this assumption holds good, can anyone suggest what we might have to
change to fix this?



Lachlan Scott
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden



-- Seeya...Q

Quinton Dolan - email@hidden
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • RE: Unable to locate WOOpenURL
      • From: "Lachlan Scott" <email@hidden>
References: 
 >Unable to locate WOOpenURL (From: "Lachlan Scott" <email@hidden>)

  • Prev by Date: Re: Invoking a component with arguments in WOD
  • Next by Date: Re: Deep hierarchical search
  • Previous by thread: Re: Unable to locate WOOpenURL
  • Next by thread: RE: Unable to locate WOOpenURL
  • Index(es):
    • Date
    • Thread