Changes for page Building and Installing a Framework with Ant
Last modified by Markus Ruggiero on 2025/10/24 16:16
From version 51.1
edited by Markus Ruggiero
on 2025/10/24 16:16
on 2025/10/24 16:16
Change comment:
There is no comment for this version
To version 47.1
edited by D Tim Cummings
on 2013/12/18 02:55
on 2013/12/18 02:55
Change comment:
There is no comment for this version
Summary
-
Page properties (4 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,0 @@ 1 -documentation.Home.Building a WebObjects Project.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ruggiero1 +XWiki.timcu - Tags
-
... ... @@ -1,1 +1,0 @@ 1 -build - Content
-
... ... @@ -28,10 +28,11 @@ 28 28 {{code language="none"}} 29 29 -D<property>=<value> 30 30 {{/code}} 31 - 32 32 1. Properties specified in the //Properties// line of an Invoke Ant build task using (the equivalent of 33 33 34 -{{code language="none"}}-propertyfile <name>{{/code}}) 33 +{{code language="none"}} 34 +-propertyfile <name> 35 +{{/code}}) 35 35 ))) 36 36 1. ((( 37 37 ====== Eclipse/WOLips ====== ... ... @@ -39,9 +39,13 @@ 39 39 1. Properties specified for the Eclipse Workspace under Eclipse -> Preferences -> WOLips - > **System Frameworks** 40 40 1. The 41 41 42 -{{code language="none"}}build.properties{{/code}} file in the same directory as the build.xml file as specified by 43 +{{code language="none"}} 44 +build.properties 45 +{{/code}} file in the same directory as the build.xml file as specified by 43 43 44 -{{code language="none"}}<property file="build.properties" />{{/code}} task in the build.xml file. 47 +{{code language="none"}} 48 +<property file="build.properties" /> 49 +{{/code}} task in the build.xml file. 45 45 ))) 46 46 1. ((( 47 47 ====== Command Line ====== ... ... @@ -51,29 +51,31 @@ 51 51 {{code language="none"}} 52 52 -D<property>=<value> 53 53 {{/code}} 54 - 55 55 1. A properties file specified in the Ant command: 56 56 57 57 {{code language="none"}} 58 58 -propertyfile <name> 59 59 {{/code}} 60 - 61 61 1. The 62 62 63 -{{code language="none"}}build.properties{{/code}} file in the same directory as the build.xml file as specified by 66 +{{code language="none"}} 67 +build.properties 68 +{{/code}} file in the same directory as the build.xml file as specified by 64 64 65 -{{code language="none"}}<property file="build.properties" />{{/code}} task in the build.xml file. 70 +{{code language="none"}} 71 +<property file="build.properties" /> 72 +{{/code}} task in the build.xml file. 66 66 ))) 67 67 68 68 {{note title="Can't Find WebObjects"}} 69 69 If Ant can't find the WebObjects frameworks, you will get compiler errors like this: 70 70 71 -{{ code}}78 +{{noformat}} 72 72 [wocompile] /MyProjects/MyFramework/Sources/com/mycompany/myapp/myclass:10: 73 73 package com.webobjects.appserver does not exist 74 74 [wocompile] import com.webobjects.appserver.WOContext; 75 75 76 -{{/ code}}83 +{{/noformat}} 77 77 {{/note}} 78 78 79 79 = Building = ... ... @@ -88,17 +88,18 @@ 88 88 ===== Standard WebObjects Framework ===== 89 89 90 90 Right-Click on your project in Eclipse and select **WOLips Ant Tools > Install** 91 -[[image:attach:WOLipsAntInstall.png]] 98 + [[image:attach:WOLipsAntInstall.png]] 92 92 This will build and install the framework in the location defined in the WOLips preferences, overwriting any previously installed version of the framework. 93 93 94 94 {{note title="BUILD FAILED"}} 95 95 If Ant can't write to the WebObjects frameworks directory, you will get an error like this: 96 96 97 -{{ code}}104 +{{noformat}} 98 98 Directory /Library/WebObjects/Versions/WebObjects543/Library/Frameworks/YourFramework.framework 99 99 creation was not successful for an unknown reason. 100 -{{/code}} 101 101 108 +{{/noformat}} 109 + 102 102 Give write access to the directory with these commands in Terminal: 103 103 sudo chmod 757 /Library/WebObjects/Versions/WebObjects543/Library/Frameworks/ 104 104 sudo chmod 757 /Library/WebObjects/Versions/WebObjects543/Library/WebObjects/Applications ... ... @@ -132,7 +132,7 @@ 132 132 * ((( 133 133 ===== Project Wonder Frameworks ===== 134 134 135 -First download the Wonder source code (see [[doc:WEB. Home.GettingStarted.Getting the Wonder Source Code.WebHome]]). Make a note of the location of the Wonder directory.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. 136 136 137 137 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. 138 138
- WOLipsAntInstall.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -18.2 KB - Content