Changes for page WO 5.4 Getting Started

Last modified by D Tim Cummings on 2013/06/14 16:27

From version 78.1
edited by Timothy Worman
on 2013/06/14 16:26
Change comment: There is no comment for this version
To version 79.1
edited by Timothy Worman
on 2013/06/14 16:27
Change comment: Migrated to Confluence 5.3

Summary

Details

Page properties
Parent
... ... @@ -1,0 +1,1 @@
1 +Deprecated
Tags
... ... @@ -1,0 +1,1 @@
1 +devtools|deployment
AddLibrary.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +34.2 KB
Content
BuildPathMenu.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +94.7 KB
Content
ConfigureBuildPath.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +55.4 KB
Content
GoodDerbyPath.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +46.0 KB
Content
ImportGeneral.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +29.0 KB
Content
ImportMenu.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +65.7 KB
Content
ImportProjectsList.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +57.1 KB
Content
PackageExplorer.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +27.6 KB
Content
PerpectiveMenu.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +68.5 KB
Content
PerspectiveChoices.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +31.1 KB
Content
WOSystemLibs.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +31.9 KB
Content
woswitch
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +2.5 KB
Content
... ... @@ -1,0 +1,77 @@
1 +#!/bin/sh
2 +
3 +WO54PATH=${NEXT_ROOT}
4 +WO53PATH=/Developer/WebObjects53
5 +TMPDIR=/tmp
6 +WOLIPSPROPS=~/Library/Application\ Support/WOLips/wolips.properties
7 +WOBUILDPROPS=~/Library/wobuild.properties
8 +
9 +if [ $# -ne 1 -o "$1" = "-h" ] ; then
10 + echo "Usage: $0 [53|54]"
11 + exit 1
12 +fi
13 +
14 +if [ $# -eq 1 ] ; then
15 + WOVERSION=
16 + echo "$1" | grep -qE "^5[34]" && WOVERSION=$1
17 + if [ "X" = "X${WOVERSION}" ] ; then
18 + echo "Unknown WebObjects Version: $1"
19 + exit 1
20 + fi
21 +fi
22 +
23 +WOSYSVERSION=
24 +WOVERSIONFILE=${WO54PATH}/System/Library/Frameworks/JavaWebObjects.framework/Resources/version.plist
25 +if [ -f ${WOVERSIONFILE} ] ; then
26 + WOSYSVERSION=`cat ${WOVERSIONFILE} | grep -A 1 CFBundleShortVersionString | \
27 + tail -1 | sed -e 's/^.*5\.\([0-9]\).*/5\1/'`
28 +fi
29 +if [ X${WOSYSVERSION} != X54 ] ; then
30 + echo WebObjects 5.4 is not currently installed
31 + exit
32 +fi
33 +
34 +if [ ! -d ${WO53PATH}/System -a ${WOVERSION} -eq 53 ] ; then
35 + if [ ! -f ${TMPDIR}/WebObjects5.3.3Update.pax.gz ] ; then
36 + cd ${TMPDIR}
37 + ftp http://supportdownload.apple.com/download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/Mac_OS_X/downloads/061-2998.20070215.33woU/WebObjects5.3.3Update.dmg && \
38 + dd if=${TMPDIR}/WebObjects5.3.3Update.dmg bs=0x1000 skip=0xb12 of=WebObjects5.3.3Update.pax.gz > /dev/null 2>&1 && \
39 + rm ${TMPDIR}/WebObjects5.3.3Update.dmg
40 + fi
41 + mkdir -p ${WO53PATH}
42 + cd ${WO53PATH}
43 + pax -zrf ${TMPDIR}/WebObjects5.3.3Update.pax.gz > /dev/null 2>&1 && \
44 + rm ${TMPDIR}/WebObjects5.3.3Update.pax.gz
45 + mkdir -p ${WO53PATH}/Library/Frameworks
46 +fi
47 +
48 +if [ ! -e ${WO53PATH}/System/Library/WebObjects/Executables/WOOpenURL ] ; then
49 + mkdir -p ${WO53PATH}/System/Library/WebObjects/Executables
50 + ln -s /usr/bin/open ${WO53PATH}/System/Library/WebObjects/Executables/WOOpenURL
51 +fi
52 +
53 +if [ -f "${WOBUILDPROPS}" ]
54 +then
55 + if [ ! -f "${WOBUILDPROPS}54" ] ; then
56 + cp "${WOBUILDPROPS}" "${WOBUILDPROPS}54"
57 + fi
58 + if [ ! -f "${WOBUILDPROPS}53" ] ; then
59 + cat "${WOBUILDPROPS}" | sed -E "s@=${WO54PATH}.(System|Lib|$)@=${WO53PATH}/\1@g ; s@/\$@@" > "${WOBUILDPROPS}53"
60 + fi
61 +fi
62 +
63 +if [ -f "${WOLIPSPROPS}" ]
64 +then
65 + if [ ! -f "${WOLIPSPROPS}54" ] ; then
66 + cp "${WOLIPSPROPS}" "${WOLIPSPROPS}54"
67 + fi
68 + if [ ! -f "${WOLIPSPROPS}53" ] ; then
69 + cat "${WOLIPSPROPS}" | sed -E "s@=${WO54PATH}.(System|Lib|$)@=${WO53PATH}/\1@g ; s@/\$@@" > "${WOLIPSPROPS}53"
70 + fi
71 +fi
72 +
73 +WOVERSTRING=`echo ${WOVERSION} | sed -E 's/^([0-9])/\1./'`
74 +echo Setting wolips properties for WebObjects ${WOVERSTRING}
75 +cp "${WOBUILDPROPS}${WOVERSION}" "${WOBUILDPROPS}"
76 +cp "${WOLIPSPROPS}${WOVERSION}" "${WOLIPSPROPS}"
77 +
XWiki.XWikiComments[0]
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.simon
Comment
... ... @@ -1,0 +1,3 @@
1 +If you are running WO 5.3.3 and building Wonder source (rather than downloading the binaries) then you will need to stick this in your ~~/Library/wobuild.properties file after running the woswitch script so that the install puts the frameworks in the right location:
2 +
3 +wonder.framework.install.root=/Developer/WebObjects53/Library/Frameworks
Date
... ... @@ -1,0 +1,1 @@
1 +2008-12-07 04:56:07.0
XWiki.XWikiComments[1]
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.wessman
Comment
... ... @@ -1,0 +1,1 @@
1 +Note that Golipse's script doesn't support installation paths with whitespaces in it. The errors are present in the log, but far from obvious.
Date
... ... @@ -1,0 +1,1 @@
1 +2011-06-23 17:44:29.0
XWiki.XWikiComments[2]
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.jbrook
Comment
... ... @@ -1,0 +1,3 @@
1 +The link to Golipse at the top of the page is broken.
2 +
3 +Update: And of course I should have fixed it instead of commenting. Fixed now.
Date
... ... @@ -1,0 +1,1 @@
1 +2011-10-31 16:07:00.0