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 50.2
edited by Pascal Robert
on 2023/11/13 11:56
on 2023/11/13 11:56
Change comment:
Update document after refactoring.
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.r uggiero1 +XWiki.probert - Content
-
... ... @@ -68,12 +68,12 @@ 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}}71 +{{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}}76 +{{/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]] 91 + [[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}}97 +{{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 101 +{{/noformat}} 102 + 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