Last modified by Pascal Robert on 2013/12/18 02:55

From version 17.1
edited by D Tim Cummings
on 2013/12/18 01:15
Change comment: There is no comment for this version
To version 15.1
edited by Steve Peery
on 2012/10/23 23:30
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.timcu
1 +XWiki.speery
Content
... ... @@ -2,8 +2,6 @@
2 2  If you use Hudson/Jenkins to build your WebObjects Frameworks and Applications, then you do not need to build or install either the Project Wonder frameworks or even your own Frameworks on your development machine, just having yours and the individual Wonder source code projects (ERJars, ERExtensions, AJAX, etc) open in your eclipse workspace is sufficient.
3 3  {{/tip}}
4 4  
5 -
6 -
7 7  {{toc maxLevel="3"/}}
8 8  
9 9  = Before You Build =
... ... @@ -76,6 +76,7 @@
76 76  If Ant can't find the WebObjects frameworks, you will get compiler errors like this:
77 77  
78 78  {{noformat}}
77 +
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;
... ... @@ -96,12 +96,13 @@
96 96  
97 97  Right-Click on your project in Eclipse and select **WOLips Ant Tools > Install**
98 98   [[image:attach:WOLipsAntInstall.png]]
99 -This will build and install the framework in the location defined in the WOLips preferences, overwriting any previously installed version of the framework.
98 +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 104  {{noformat}}
104 +
105 105  Directory /Library/WebObjects/Versions/WebObjects543/Library/Frameworks/YourFramework.framework
106 106  creation was not successful for an unknown reason.
107 107  
... ... @@ -126,33 +126,36 @@
126 126  * (((
127 127  ===== Standard WebObjects Framework =====
128 128  
129 -You can build a standard WebObjects Framework project by calling Ant and passing it the Project directory, and the name of the build target contained in the build.xml file at your project's root.
129 +You can build a standard WebObjects Framework project by calling Ant and passing it the Project directory, and the name of the build target contained in the build.xml file at your project's root.
130 130  
131 131  {{code 0="none"}}
132 132  cd /my/project/
133 133  ant build
134 +{{/code}} By default, the built framework will be put in a
134 134  
136 +{{code language="none"}}
137 +dist
135 135  {{/code}}
136 136  
137 -By default, the built framework will be put in a {{code language="none"}}dist{{/code}} directory in your project's root.
140 + directory in your project's root.
138 138  )))
139 139  
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.
146 +This assumes that you have already downloaded the Wonder source code. Make a note of the location of the Wonder directory.
147 + If you are building Project Wonder's frameworks you will use these commands instead:
144 144  
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 -
147 -To build Project Wonder's frameworks use these commands.
148 -
149 149  {{code 0="none"}}
150 150  cd /path/to/Wonder
151 151  ant frameworks
152 +{{/code}} By default, all the Wonder frameworks will be built to (
152 152  
154 +{{code language="none"}}
155 +~/Roots
153 153  {{/code}}
154 154  
155 -By default, all the Wonder frameworks will be built to ({{code language="none"}}~/Roots{{/code}}) (in your home directory). To build elsewhere, set the {{code language="none"}}wo.external.root{{/code}} property.
158 +) (in your home directory).
156 156  )))
157 157  
158 158  = Customizing the Build =