Changes between Version 19 and Version 20 of OvaReleaseNote-1.0.1-RC2
- Timestamp:
- 04/10/12 06:04:02 (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OvaReleaseNote-1.0.1-RC2
v19 v20 114 114 == 4. The New Build Process == 115 115 116 A new build process has been introduced in 1.0.1 RC2 to support a degree of customis ed building of the plugin SWFs and OVA for AS3 library SWC to help reduce the overall size of the compiled file.117 118 A ccordingly, the OVA for AS3, OVA for Flowplayer and OVA for JW5 build processes have been moved completely to Ant and the old "shell script" build files (e.g. build.sh etc.) have been removed.119 120 The new Ant build files are always located in the `build` directory of the distribution package as illustrated by the directory structure below:116 A new build process has been introduced in 1.0.1 RC2 to support a degree of customisation when building the OVA library or player related plugin SWFs. The size of the resulting SWF can be more effectively controlled via the new build process. 117 118 As part of this, the OVA for AS3, OVA for Flowplayer and OVA for JW5 build processes have been moved completely to Ant and the old "shell script" build files (e.g. build.sh etc.) have been removed. 119 120 The new Ant build files are always located in the `build` directory of each distribution package: 121 121 122 122 {{{ … … 143 143 === 4.1 Installing the OVA Source Files === 144 144 145 By default, the OVA build process assumes that the source for all OVA products will be placed in the same `workspace`. For example, if OVA for AS3, OVA for JW5 and OVA for Flowplayer were all to be built, the following directory structure is assumed by the build files:145 By default, the OVA build process assumes that the source for all OVA products will be placed relative to each other in the same `workspace`. For example, if OVA for AS3, OVA for JW5 and OVA for Flowplayer were all to be built, the following directory structure is assumed by the build files: 146 146 147 147 {{{ … … 164 164 }}} 165 165 166 While it is possible to vary the locations of the packages and customise the build files accordingly (specifically the `build.properties` files in each distribution), the default structure is recommended .167 168 To install the source code ,either:166 While it is possible to vary the locations of the packages and customise the build files accordingly (specifically the `build.properties` files in each distribution), the default structure is recommended as it means that minimal changes will be required to the `build.properties` files that accompany each `build.xml` ant script. 167 168 To install the source code for an OVA product either: 169 169 170 170 * Download the required distribution package from the "[wiki:OvaDownload Download the Latest]" page or 171 171 * Check out the source code directly from the OVA Subversion repository (see these [http://developer.longtailvideo.com/ova/wiki/OvaSubversionAccess instructions] for details on how to do that) 172 172 173 By default, the OVA for AS3 package is not required to build either OVA for Flowplayer or OVA for JW5 - the default build commands use the pre-built OVA for AS3 Libraryincluded with the OVA for JW5 or OVA for Flowplayer packages. However, if you wish to customise the build and reduce the size of the OVA plugin SWF, you will need to also install the OVA for AS3 package and build the OVA SWC separately.173 By default, the OVA for AS3 package is not required to build either OVA for Flowplayer or OVA for JW5 plugins SWFs - the default build commands use the pre-built OVA for AS3 library that is included with the OVA for JW5 or OVA for Flowplayer packages. However, if you wish to customise the build and reduce the size of the OVA plugin SWF, you will need to also install the OVA for AS3 package and build the OVA SWC separately. 174 174 175 175 === 4.2 Building OVA for AS3 === 176 176 177 Three forms of the OVA SWC can now be built: 178 179 * A `debug` version that includes all of the standard OVA debug output (this is the default form) 180 * A `release` version that excludes the debug output and associated library functions 181 * A `minimal` version that excludes prepackaged button resources, debug, custom ad server functionality and Javascript callbacks 182 183 The components that are "excluded" by the minimal build can be customised via the `build.properties` file. 184 185 ==== 4.2.1 Customising the Build Properties ==== 186 187 Being written 188 189 ==== 4.2.2 Building the OVA SWC ==== 190 177 191 To build OVA for AS3 use the following command from the OVA for AS3 `build` directory: 178 192 … … 184 198 185 199 * `help` - lists all available build commands 186 * `build` - does the default build (equivalent to `build-debug`) 200 * `build` - does the default build - building a debug, release and minimal OVA SWC libraries 201 * `deploy` - builds and deploys the `debug` version of the OVA SWC to the OVA plugin directories so that they can use the SWC in their own build processes 187 202 * `build-debug` - builds a debuggable version of the OVA SWC 188 203 * `build-release` - builds a version of the OVA SWC that excludes any debug output … … 190 205 * `build-deploy` - builds a debug version of the OVA SWC and deploys it across the installed OVA products (e.g. OVA for JW5, OVA for Flowplayer) 191 206 192 ==== 4.2.1 Customising the Build Properties ====193 194 Being written195 196 207 ==== 4.2.2 Deploying a Build OVA SWC Library ==== 197 208 198 209 Being written 199 210 200 ==== 4.2.3 Producing a Smaller OVA SWC ==== 201 202 Being written 211 === 4.3 Building OVA for JW5 === 212 213 Being written 214 215 === 4.4 Building OVA for Flowplayer === 216 217 Being written
