Re: Unable to locate WOOpenURL
Re: Unable to locate WOOpenURL
- Subject: Re: Unable to locate WOOpenURL
- From: Peter Vandoros <email@hidden>
- Date: Fri, 21 Sep 2007 13:27:21 +1000
Hi Lachlan,
Make sure WORootDirectory is set to point to you Apple directory. e.g.
-WORootDirectory "C:/Apple"
Regards
Peter
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:
This email sent to email@hidden
--
Peter Vandoros
Software Engineer
Etech Group Pty Ltd
Level 3/21 Victoria St
Melbourne VIC 3000
Australia
Ph: +61 3 9639 9677
Fax: +61 3 9639 9577
----------------------------------
IMPORTANT: This e-mail message and any attachments are confidential and
may be privileged. If received in error, please reply to this message
and destroy all copies and any attachments. You should check this
message and any attachments for viruses or defects. Our liability is
limited to resupplying any affected message or attachments. For more
information about Etech Group, please visit us at
http://www.etechgroup.com.au.
|
_______________________________________________
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