Changes for page Building and Installing a Framework with Ant
Last modified by Pascal Robert on 2013/12/18 02:55
From 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
To version 37.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
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. speery1 +XWiki.avendasora - Content
-
... ... @@ -50,25 +50,11 @@ 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 - 65 65 * h5. Project Wonder Frameworks 66 66 **You can not build projects from Wonder this way.** You must either use the command line or Hudson/Jenkins methods 67 67 68 68 === Command Line / Terminal === 69 69 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 - 72 72 * h5. Standard WebObjects Framework 73 73 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. 74 74 ... ... @@ -110,7 +110,7 @@ 110 110 111 111 This copies the built frameworks from ##/Roots## to the runtime Frameworks directory: 112 112 113 -* Mac OS X: ##/Library/Fram eworks/##or ##/Library/WebObjects/Versions/WebObjects543/Library/Frameworks/##99 +* Mac OS X: ##/Library/Framworks/## 114 114 * Linux: ##/Local/Library/Frameworks## 115 115 116 116 You can combine the build and install steps by simply executing this Ant command: