Changes for page Building and Installing a Framework with Ant
Last modified by Pascal Robert on 2013/12/18 02:55
From version 38.1
edited by David Avendasora
on 2011/07/07 10:44
on 2011/07/07 10:44
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 (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. avendasora1 +XWiki.speery - Content
-
... ... @@ -50,11 +50,25 @@ 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 56 56 === Command Line / Terminal === 57 57 70 +You have to install woproject.jar first and make it available for ant before the following instructions will work. (see [[Building a WebObjects Project||anchor="Overview"]] first) 71 + 58 58 * h5. Standard WebObjects Framework 59 59 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. 60 60 ... ... @@ -96,7 +96,7 @@ 96 96 97 97 This copies the built frameworks from ##/Roots## to the runtime Frameworks directory: 98 98 99 -* Mac OS X: ##/Library/Framworks/## 113 +* Mac OS X: ##/Library/Frameworks/## or ##/Library/WebObjects/Versions/WebObjects543/Library/Frameworks/## 100 100 * Linux: ##/Local/Library/Frameworks## 101 101 102 102 You can combine the build and install steps by simply executing this Ant command: