Changes for page Development on Windows

Last modified by Pascal Robert on 2012/07/21 14:37

From version 11.1
edited by Pascal Robert
on 2012/07/21 14:36
Change comment: There is no comment for this version
To version 6.1
edited by Pascal Robert
on 2007/09/03 14:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Development on Windows
1 +Web Applications-Development-Development on Windows
Content
... ... @@ -1,3 +1,45 @@
1 -{{info}}
2 -Check [Project Wonder Installation on Windows]
3 -{{/info}}
1 +Here is a tutorial on installing WebObjects on Windows:
2 +
3 +[[http://www.tetlabors.de/wo/setup_webobjects_on_windows.html]]
4 +
5 +== Fixing Auto Launch ==
6 +
7 +//Q. Hi everyone. I've seen several people on the list with the same problem as this, but haven't seen it resolved yet. When launching an app on WO5.2.2 developer on Windows XP, this error message is displayed~://
8 +
9 +{{panel}}
10 +
11 +Your application is not running on a supported development platform. AutoLaunch will not work.
12 +
13 +{{/panel}}
14 +
15 +I can cut and paste the URL into a browser manually, but I'm too lazy to do all that 'work' all day long :-) I've tried the WOAutoOpenInBrowser setting with no luck. I've also tried setting W2K compatibilty mode for project builder and the WOOpenUrl application with no luck.
16 +
17 +A. use the following methods in your Application class:
18 +
19 +{{code}}
20 +
21 + /**
22 + * Calls _isAdditionalForeignSupportedDevelopmentPlatform
23 + *
24 + * @see com.webobjects.appserver.WOApplication#_isForeignSupportedDevelopmentPlatform()
25 + */
26 + public boolean _isForeignSupportedDevelopmentPlatform()
27 + {
28 + return (super._isForeignSupportedDevelopmentPlatform() || _isAdditionalForeignSupportedDevelopmentPlatform());
29 + }
30 +
31 + /**
32 + * Check for Windows XP
33 + * @return true if runs on XP
34 + */
35 + public boolean _isAdditionalForeignSupportedDevelopmentPlatform()
36 + {
37 + String s = System.getProperty("os.name");
38 + return ( s != null && s.equals("Windows XP") );
39 + }
40 +
41 +
42 +
43 +{{/code}}
44 +
45 + StefanKlein