Changes for page Building and Installing a Framework with Ant
Last modified by Pascal Robert on 2013/12/18 02:55
From version 22.1
edited by David Avendasora
on 2011/07/07 10:37
on 2011/07/07 10:37
Change comment:
There is no comment for this version
To version 19.1
edited by michaelsd
on 2012/07/01 11:35
on 2012/07/01 11:35
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.a vendasora1 +XWiki.michaelsd - Content
-
... ... @@ -18,7 +18,7 @@ 18 18 1. h6. Manual Jenkins Jobs 19 19 11. Properties specified in the //Targets// line of an Invoke Ant build task using **##-D<property>=<value>##** 20 20 11. Properties specified in the //Properties// line of an Invoke Ant build task using (the equivalent of **##-propertyfile <name>##**) 21 -1. h6. WOLips 21 +1. h6. Eclipse/WOLips 22 22 11. Properties specified for the Eclipse Workspace under Eclipse -> Preferences -> WOLips - > **System Frameworks** 23 23 11. The ##build.properties## file in the same directory as the build.xml file as specified by **##<property file="build.properties" />##** task in the build.xml file. 24 24 1. h6. Command Line ... ... @@ -39,8 +39,24 @@ 39 39 40 40 = Building = 41 41 42 +=== WOJenkins === 43 + 44 +Using Jenkins is the recommended way to build a Framework and WOJenkins makes the process almost as easy as building from within Eclipse/WOLips. 45 + 46 +=== Eclipse/WOLips === 47 + 48 +* h5. Standard WebObjects Framework 49 +Right-Click on your project in Eclipse and select **WOLips Ant Tools > Install** 50 +[[image:WOLipsAntInstall.png||border="1"]] 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 + 53 +* h5. Project Wonder Frameworks 54 +**You can not build projects from Wonder this way.** You must either use the command line or Hudson/Jenkins methods 55 + 42 42 === Command Line / Terminal === 43 43 58 +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) 59 + 44 44 * h5. Standard WebObjects Framework 45 45 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. 46 46 ... ... @@ -66,20 +66,6 @@ 66 66 67 67 By default, all the Wonder frameworks will be built to (##/Roots##) (in your home directory). 68 68 69 -=== Eclipse/WOLips === 70 - 71 -* h5. Standard WebObjects Framework 72 -Right-Click on your project in Eclipse and select **WOLips Ant Tools > Install** 73 -[[image:WOLipsAntInstall.png||border="1"]] 74 -This will build and install the framework in the location defined in the WOLips preferences, overwriting any previously installed version of the framework. 75 - 76 -* h5. Project Wonder Frameworks 77 -**You can not build projects from Wonder this way.** You must either use the command line or Hudson/Jenkins methods 78 - 79 -=== Hudson/Jenkins === 80 - 81 -In general, it is recommended that you use Hudson/Jenkins to build your WebObjects frameworks and applications, but it is not required. You can build either from the Terminal as outlined below, or from within Eclipse/WOlips directly (except for Project Wonder's frameworks). 82 - 83 83 = Customizing the Build = 84 84 85 85 By modifying the values in the build.properties and wolips.properties files or by passing in arguments to the Ant command, you can change where Ant will look for dependencies (binary frameworks, libraries, etc.) and where it will install the build products.