Last modified by Markus Ruggiero on 2025/10/24 16:16

From version 48.1
edited by D Tim Cummings
on 2013/12/18 02:55
Change comment: Migrated to Confluence 5.3
To version 51.1
edited by Markus Ruggiero
on 2025/10/24 16:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -Building a WebObjects Project
1 +documentation.Home.Building a WebObjects Project.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.timcu
1 +XWiki.ruggiero
Content
... ... @@ -28,11 +28,10 @@
28 28  {{code language="none"}}
29 29  -D<property>=<value>
30 30  {{/code}}
31 +
31 31  1. Properties specified in the //Properties// line of an Invoke Ant build task using (the equivalent of
32 32  
33 -{{code language="none"}}
34 --propertyfile <name>
35 -{{/code}})
34 +{{code language="none"}}-propertyfile <name>{{/code}})
36 36  )))
37 37  1. (((
38 38  ====== Eclipse/WOLips ======
... ... @@ -40,13 +40,9 @@
40 40  1. Properties specified for the Eclipse Workspace under Eclipse -> Preferences -> WOLips - > **System Frameworks**
41 41  1. The
42 42  
43 -{{code language="none"}}
44 -build.properties
45 -{{/code}} file in the same directory as the build.xml file as specified by
42 +{{code language="none"}}build.properties{{/code}} file in the same directory as the build.xml file as specified by
46 46  
47 -{{code language="none"}}
48 -<property file="build.properties" />
49 -{{/code}} task in the build.xml file.
44 +{{code language="none"}}<property file="build.properties" />{{/code}} task in the build.xml file.
50 50  )))
51 51  1. (((
52 52  ====== Command Line ======
... ... @@ -56,31 +56,29 @@
56 56  {{code language="none"}}
57 57  -D<property>=<value>
58 58  {{/code}}
54 +
59 59  1. A properties file specified in the Ant command:
60 60  
61 61  {{code language="none"}}
62 62  -propertyfile <name>
63 63  {{/code}}
60 +
64 64  1. The
65 65  
66 -{{code language="none"}}
67 -build.properties
68 -{{/code}} file in the same directory as the build.xml file as specified by
63 +{{code language="none"}}build.properties{{/code}} file in the same directory as the build.xml file as specified by
69 69  
70 -{{code language="none"}}
71 -<property file="build.properties" />
72 -{{/code}} task in the build.xml file.
65 +{{code language="none"}}<property file="build.properties" />{{/code}} task in the build.xml file.
73 73  )))
74 74  
75 75  {{note title="Can't Find WebObjects"}}
76 76  If Ant can't find the WebObjects frameworks, you will get compiler errors like this:
77 77  
78 -{{noformat}}
71 +{{code}}
79 79  [wocompile] /MyProjects/MyFramework/Sources/com/mycompany/myapp/myclass:10:
80 80   package com.webobjects.appserver does not exist
81 81  [wocompile] import com.webobjects.appserver.WOContext;
82 82  
83 -{{/noformat}}
76 +{{/code}}
84 84  {{/note}}
85 85  
86 86  = Building =
... ... @@ -95,18 +95,17 @@
95 95  ===== Standard WebObjects Framework =====
96 96  
97 97  Right-Click on your project in Eclipse and select **WOLips Ant Tools > Install**
98 - [[image:attach:WOLipsAntInstall.png]]
91 +[[image:attach:WOLipsAntInstall.png]]
99 99  This will build and install the framework in the location defined in the WOLips preferences, overwriting any previously installed version of the framework.
100 100  
101 101  {{note title="BUILD FAILED"}}
102 102  If Ant can't write to the WebObjects frameworks directory, you will get an error like this:
103 103  
104 -{{noformat}}
97 +{{code}}
105 105  Directory /Library/WebObjects/Versions/WebObjects543/Library/Frameworks/YourFramework.framework
106 106  creation was not successful for an unknown reason.
100 +{{/code}}
107 107  
108 -{{/noformat}}
109 -
110 110  Give write access to the directory with these commands in Terminal:
111 111   sudo chmod 757 /Library/WebObjects/Versions/WebObjects543/Library/Frameworks/
112 112   sudo chmod 757 /Library/WebObjects/Versions/WebObjects543/Library/WebObjects/Applications
... ... @@ -140,7 +140,7 @@
140 140  * (((
141 141  ===== Project Wonder Frameworks =====
142 142  
143 -First download the Wonder source code (see [[doc:WEB.Getting the Wonder Source Code]]). Make a note of the location of the Wonder directory.
135 +First download the Wonder source code (see [[doc:WEB.Home.Getting Started.Getting the Wonder Source Code.WebHome]]). Make a note of the location of the Wonder directory.
144 144  
145 145  The Wonder build script will use properties defined in ~~/Library/Application Support/WOLips/wolips.properties. This is a good place to set {{code language="none"}}wo.system.frameworks{{/code}} property.
146 146