Changes for page Building and Installing a Framework with Ant
Last modified by Pascal Robert on 2013/12/18 02:55
From version 21.1
edited by David Avendasora
on 2011/07/07 10:37
on 2011/07/07 10:37
Change comment:
There is no comment for this version
To version 24.1
edited by David Avendasora
on 2011/04/29 14:44
on 2011/04/29 14:44
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Building and Installing a Framework with Ant 1 +Building and Installing a WO Framework with Ant - Content
-
... ... @@ -4,31 +4,15 @@ 4 4 5 5 {{toc maxLevel="3"}}{{/toc}} 6 6 7 -= B efore YouBuild =7 += Building = 8 8 9 - Whenbuilding a Framework project, Ant needsto be able to find WebObjects. WebObjects itself is a set of Frameworks just like the one you arebuilding. They can be installedanywhere using [[these instructions>>WO:Installing WebObjects5.4 on Snow Leopard]].9 +{{note title="Requires WebObjects"}} 10 10 11 -Where Ant will look for WebObjects is specified by the ##wo.system.frameworks## build property. This property can be set in a number of locations, or even passed as a command-line property to Ant. 11 +These build instructions require the WebObjects frameworks to already be installed in the normal location: 12 +* Mac OS X: {{/System/Library/Framworks/}} 13 +* Linux: {{/Library/Frameworks}} 12 12 13 -Where Ant looks for this property is different for each method of building a Framework: 14 - 15 -1. h6. WOJenkins Jobs 16 -11. Completely managed for you by WOJenkins 17 -11. Manually overridden as defined in Manual Jenkins Jobs below. 18 -1. h6. Manual Jenkins Jobs 19 -11. Properties specified in the //Targets// line of an Invoke Ant build task using **##-D<property>=<value>##** 20 -11. Properties specified in the //Properties// line of an Invoke Ant build task using (the equivalent of **##-propertyfile <name>##**) 21 -1. h6. WOLips 22 -11. Properties specified for the Eclipse Workspace under Eclipse -> Preferences -> WOLips - > **System Frameworks** 23 -11. The ##build.properties## file in the same directory as the build.xml file as specified by **##<property file="build.properties" />##** task in the build.xml file. 24 -1. h6. Command Line 25 -11. Properties specified in the Ant command: **##-D<property>=<value>##** 26 -11. A properties file specified in the Ant command: **##-propertyfile <name>##** 27 -11. The ##build.properties## file in the same directory as the build.xml file as specified by **##<property file="build.properties" />##** task in the build.xml file. 28 - 29 -{{note title="Can"}} 30 - 31 -If Ant can't find the WebObjects frameworks, you will get compiler errors like this: 15 +Otherwise you will get compiler errors like this: 32 32 {noformat} 33 33 [wocompile] /MyProjects/MyFramework/Sources/com/mycompany/myapp/myclass:10: 34 34 package com.webobjects.appserver does not exist ... ... @@ -37,8 +37,6 @@ 37 37 38 38 {{/note}} 39 39 40 -= Building = 41 - 42 42 === Command Line / Terminal === 43 43 44 44 * h5. Standard WebObjects Framework