Changes for page Usage for Windows

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

From version 14.1
edited by Pascal Robert
on 2007/12/28 22:01
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
... ... @@ -1,3 +1,32 @@
1 +{{warning}}
2 +
3 +Work in progress
4 +
5 +{{/warning}}
6 +
7 +{{toc}}{{/toc}}
8 +
9 += Moving the WebObjects frameworks from a Mac to a Windows machine =
10 +
11 +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.
12 +
13 +* Obtain Xcode 2.5 (if you want to work with WebObjects 5.3) or Xcode 3.0 (if you want to work with WebObjects 5.4) at [[ADC>>http://developer.apple.com/tools/download/]].
14 +
15 +* Mount, on a Mac, the DMG file.
16 +
17 +{{code}}
18 +
19 +cp /Volumes/Xcode\ Tools/Packages/Packages/WebObjectsRuntime.pkg/Contents/Archive.pax.gz /tmp
20 +cd /tmp
21 +unzip Archive.pax.gz
22 +pax -r -f Archive.pax
23 +tar cf WebObjectsRuntime.tar Library System
24 +cp WebObjectsRuntime.tar -> Windows
25 +
26 +{{/code}}
27 +
28 += Create the file structure on your Windows machine =
29 +
1 1  1) Create the structure:
2 2  C:pple
3 3  C:ppleocalibraryrameworks (equivalent to /Library/Frameworks on the Mac)
... ... @@ -5,8 +5,19 @@
5 5  
6 6  2) Copy all the frameworks from /System/Library/Frameworks on a Mac that are named Java except for JavaScriptCore and JavaVM to C:ppleibraryrameworks
7 7  
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 +
8 8  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.
9 9  
48 +{{/warning}}
49 +
10 10  4) Create a wobuild.properties file in C:ocuments and Settingsyour user>ibrary with the contents:
11 11  wo.woroot=C:/Apple
12 12  wo.wolocalroot=C:/Apple/Local
... ... @@ -15,10 +15,14 @@
15 15  eclipse.home=C:/Programs Files/eclipse
16 16  wo.dir.library.frameworks=C:/Apple/Library/Frameworks
17 17  
18 -5) Install eclipse 3.3.1.1
58 += Install Eclipse and WOLips =
19 19  
20 -6) Install WOLips nightly from http:~/~/webobjects.mdimension.com/wolips/nightly
60 +5) Install eclipse Classic 3.3.1.1
21 21  
62 +6) Install WOLips nightly from [[http://webobjects.mdimension.com/wolips/nightly]]
63 +
64 += Notes =
65 +
22 22  That should be it, I think?  The things that are problematic right now on Windows:
23 23  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
24 24  2) Couple images have backgrounds that should not