Changes for page Building and Installing a Framework with Ant
Last modified by Pascal Robert on 2013/12/18 02:55
From version 40.1
edited by Steve Peery
on 2012/10/23 21:56
on 2012/10/23 21:56
Change comment:
There is no comment for this version
To version 43.1
edited by Steve Peery
on 2012/10/23 23:20
on 2012/10/23 23:20
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -50,6 +50,18 @@ 50 50 [[image:WOLipsAntInstall.png||border="1"]] 51 51 This will build and install the framework in the location defined in the WOLips preferences, overwriting any previously installed version of the framework. 52 52 53 +{{note title="BUILD FAILED"}} 54 + 55 +If Ant can't write to the WebObjects frameworks directory, you will get an error like this: 56 +{noformat} 57 +Directory /Library/WebObjects/Versions/WebObjects543/Library/Frameworks/YourFramework.framework 58 +creation was not successful for an unknown reason. 59 +{noformat} 60 +Give write access to the directory with this command in Terminal: 61 +sudo chmod 757 /Library/WebObjects/Versions/WebObjects543/Library/Frameworks/ 62 + 63 +{{/note}} 64 + 53 53 * h5. Project Wonder Frameworks 54 54 **You can not build projects from Wonder this way.** You must either use the command line or Hudson/Jenkins methods 55 55 ... ... @@ -98,7 +98,7 @@ 98 98 99 99 This copies the built frameworks from ##/Roots## to the runtime Frameworks directory: 100 100 101 -* Mac OS X: ##/Library/WebObjects/Versions/WebObjects543/Library/Frameworks/## 113 +* Mac OS X: ##/Library/Frameworks/## or ##/Library/WebObjects/Versions/WebObjects543/Library/Frameworks/## 102 102 * Linux: ##/Local/Library/Frameworks## 103 103 104 104 You can combine the build and install steps by simply executing this Ant command: