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
on 2007/12/30 07:02
Change comment:
There is no comment for this version
To version 17.1
edited by Gavin Eadie
on 2007/12/30 12:49
on 2007/12/30 12:49
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. probert1 +XWiki.gavineadie - Content
-
... ... @@ -4,11 +4,13 @@ 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 -The WebObjects frameworks are available on the Xcodetools, which cannot be install on a Windows (or anyotherLinux/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 canfetchthe frameworks without having to install them on the Mac.11 +The WebObjects frameworks are part of the Xcode tools distribution (available on the Mac OS X DVD, or as a download from Apple, see below) which cannot be installed on a Windows (or any Linux/UNIX variant) machine directly. So, before developing on Windows, you will need to get access on a Mac, make a archive of the frameworks and move this archive to your Windows machine. You can extract the frameworks from XCode without having to install them on the intermediate Mac. 10 10 11 -* 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/]]. 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/]] ~-~- these are in the form of large (about 1 GB) disk images. Note that you will need to sign up for an ADC membership, but the "online" membership is free. 12 12 13 13 * Mount, on a Mac, the DMG file. 14 14 ... ... @@ -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)Installeclipse3.3.1.158 += 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