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 27.1
edited by Quinton Dolan
on 2008/04/11 02:07
on 2008/04/11 02:07
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.qdolan - Content
-
... ... @@ -4,19 +4,21 @@ 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 -* Mount, on a Mac, the DMG file. 15 +* Mount, on a Mac, the DMG file. Then, for XCode 2.5 / Mac OS X Tiger: 14 14 15 15 {{code}} 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,19 @@ 23 23 24 24 {{/code}} 25 25 28 +... and for XCode 3.0 / Mac OS X Leopard (since Installer packages are created differently in Leopard): 29 + 30 +{{code}} 31 + 32 +mkdir -p /tmp/wo ; cd /tmp/wo 33 +xar -vxf "/Volumes/Xcode Tools/Packages/WebObjectsRuntime.pkg" ; pax -rzf Payload 34 +tar cf WebObjectsRuntime.tar Library System 35 +cp WebObjectsRuntime.tar -> Windows 36 + 37 +{{/code}} 38 + 39 += Create the file structure on your Windows machine = 40 + 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 48 +{{code}} 49 + 50 +mv WebObjectsRuntime.tar/Library/* C:\Apple\Local\Library\Frameworks 51 +mv WebObjectsRuntime.tar/System/Library/* C:\Apple\Library\Frameworks 52 + 53 +{{/code}} 54 + 55 +{{warning}} 56 + 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 59 +{{/warning}} 60 + 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,14 +40,16 @@ 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.169 += Install Eclipse and WOLips = 44 44 45 - 6)InstallWOLips nightly from [[http://webobjects.mdimension.com/wolips/nightly]]71 + Install [[Eclipse and WOLips>>http://wiki.objectstyle.org/confluence/display/WOL/Install+WOLips+with+Eclipse+Update+Manager]] 46 46 73 += Notes = 74 + 47 47 That should be it, I think? The things that are problematic right now on Windows: 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 WebServerResources76 +1) The ##woproject/.patternset## don't work quite right on Windows with older versions of WOLips. 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. Alternatively you can use a recent nightly build of WOLips where this bug has been fixed. 49 49 2) Couple images have backgrounds that should not 50 50 3) Outline view in component editor is not right 51 -4) AutoOpenInBrowser doesn't work unless you override Application.//isSupportedDevelopmentPlatform to return true// 79 +4) AutoOpenInBrowser doesn't work unless you override Application.//isSupportedDevelopmentPlatform to return true//** 52 52 53 53 I THINK that was it, but there might have been a couple other misc items .. I'll have to go back through and doublecheck.