Version 7.1 by chuckhill on 2008/03/05 17:21

Show last authors
1 **Discussion:** You select 'Run as...' > WOApplication; the project runs; you can copy the url out of the console and into the browser; but it doesn't conveniently launch straight into the browser anymore.
2
3 **Solution:** You probably have a space in your Eclipse project name; eg. 'My Project' remove it, or replace it suitably, eg. 'My//Project' and it will probably all start working again. :p//
4
5 **Discussion:** Presumably, the launch fails because the Eclipse project name automatically forms part of the URL for running the application as a WOApplication in Eclipse/WOLips. However, a space is not a legal character for a URL as we know, and must usually be escaped with UTF-8 encoding as '%20'.
6
7 === Leopard is missing WOOpenURL ===
8
9 If you are on Leopard, something else is going on.
10
11 There used to be an application called /System/Library/WebObjects/Executables/WOOpenURL that opened the standard web browser with a pointer to the running the project, eg: http:~/~/193.78.79.17:49832/cgi-bin/WebObjects/d2wupload2.woa
12
13 That application does not exist any more in Leopard. But there is a simple workaround:
14
15 Type this in a terminal as root (or precede with sudo).
16
17 {{code}}
18
19 mkdir -p /System/Library/WebObjects/Executables
20 ln -s /usr/bin/open /System/Library/WebObjects/Executables/WOOpenURL
21
22 {{/code}}
23
24 ==== WebObjects 5.3.3 on Leopard ====
25
26 If you change the **wo.wosystemroot** setting to use WO 5.3 frameworks from a different location than ##/System/Library/Frameworks##, you will need to also change the location of the above hack. e.g.
27
28 {{code}}
29
30 wo.wosystemroot=/Users/chuck
31
32 {{/code}}
33
34 Requires this change:
35
36 {{code}}
37
38 mkdir -p /Users/chuck/Library/WebObjects/Executables
39 ln -s /usr/bin/open /Users/chuck/Library/WebObjects/Executables/WOOpenURL
40
41 {{/code}}