Changes for page Usage for Windows

Last modified by Quinton Dolan on 2008/04/11 02:07

From version 21.1
edited by Pascal Robert
on 2007/12/30 07:02
Change comment: There is no comment for this version
To version 23.1
edited by Pascal Robert
on 2007/12/30 08:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,6 +4,8 @@
4 4  
5 5  {{/warning}}
6 6  
7 +{{toc}}{{/toc}}
8 +
7 7  = Moving the WebObjects frameworks from a Mac to a Windows machine =
8 8  
9 9  The WebObjects frameworks are available on the Xcode tools, which cannot be install on a Windows (or any other Linux/UNIX variant) machine. Before developing on Windows, you need to get access on a Mac, make a archive of the frameworks and move this archive to your Windows machine. You can fetch the frameworks without having to install them on the Mac.
... ... @@ -16,7 +16,7 @@
16 16  
17 17  cp /Volumes/Xcode\ Tools/Packages/Packages/WebObjectsRuntime.pkg/Contents/Archive.pax.gz /tmp
18 18  cd /tmp
19 -unzip Archive.pax.gz
21 +unzip Archive.pax.gz
20 20  pax -r -f Archive.pax
21 21  tar cf WebObjectsRuntime.tar Library System
22 22  cp WebObjectsRuntime.tar -> Windows
... ... @@ -23,6 +23,8 @@
23 23  
24 24  {{/code}}
25 25  
28 += Create the file structure on your Windows machine =
29 +
26 26  1) Create the structure:
27 27  C:pple
28 28  C:ppleocalibraryrameworks (equivalent to /Library/Frameworks on the Mac)
... ... @@ -30,8 +30,19 @@
30 30  
31 31  2) Copy all the frameworks from /System/Library/Frameworks on a Mac that are named Java except for JavaScriptCore and JavaVM to C:ppleibraryrameworks
32 32  
37 +{{code}}
38 +
39 +mv WebObjectsRuntime.tar/Library/* C:\Apple\Local\Library\Frameworks
40 +mv WebObjectsRuntime.tar/System/Library/* C:\Apple\Library\Frameworks
41 +
42 +{{/code}}
43 +
44 +{{warning}}
45 +
33 33  3) If you copied a 5.2, you will need to put a Windows License.key in JavaWebObjects.framework/Resources.  If you copied a 5.3, I think it's a universal license key.
34 34  
48 +{{/warning}}
49 +
35 35  4) Create a wobuild.properties file in C:ocuments and Settingsyour user>ibrary with the contents:
36 36  wo.woroot=C:/Apple
37 37  wo.wolocalroot=C:/Apple/Local
... ... @@ -40,10 +40,14 @@
40 40  eclipse.home=C:/Programs Files/eclipse
41 41  wo.dir.library.frameworks=C:/Apple/Library/Frameworks
42 42  
43 -5) Install eclipse 3.3.1.1
58 += Install Eclipse and WOLips =
44 44  
60 +5) Install eclipse Classic 3.3.1.1
61 +
45 45  6) Install WOLips nightly from [[http://webobjects.mdimension.com/wolips/nightly]]
46 46  
64 += Notes =
65 +
47 47  That should be it, I think?  The things that are problematic right now on Windows:
48 48  1) The woproject/**.patternset don't work quite right on Windows.  If you don't have subfolders in your Resources/Components/etc, you can work around it by converting Components~/~/**/etc/** to Components/**, same w/ Resources and WebServerResources
49 49  2) Couple images have backgrounds that should not