| | 247 | Typically, to build the default version of the OVA SWC (that includes all components including debug), the following ant command is used: |
| | 248 | |
| | 249 | {{{ |
| | 250 | ant build |
| | 251 | }}} |
| | 252 | |
| | 253 | To build and deploy the default OVA SWC to the OVA for Flowplayer and/or OVA for JW5 build workspaces, the following ant command is used: |
| | 254 | |
| | 255 | {{{ |
| | 256 | ant deploy |
| | 257 | }}} |
| | 258 | |
| | 259 | Alternatively, if you wish to build and deploy a "release" version of the OVA SWC (that excludes debug), use: |
| | 260 | |
| | 261 | {{{ |
| | 262 | ant deploy-release |
| | 263 | }}} |
| | 264 | |
| | 265 | And finally, if a "minimal" version of the OVA SWC is to be built and distributed to the OVA for Flowplayer and/or OVA for JW5 workspaces, use: |
| | 266 | |
| | 267 | {{{ |
| | 268 | ant deploy-minimal |
| | 269 | }}} |
| | 270 | |
| | 271 | Upon the successful completion of a build task, you should see something that appears as follows: |
| | 272 | |
| | 273 | {{{ |
| | 274 | ps-macbook-pro:build paulschulz$ ant deploy-minimal |
| | 275 | Buildfile: /Users/paulschulz/workspace/ova/lt-svn/trunk/ova.as3/build/build.xml |
| | 276 | |
| | 277 | build-minimal: |
| | 278 | [echo] Building the 'minimal' version of the OVA for AS3 SWC... |
| | 279 | [exec] Loading configuration file /Applications/flex_sdk_3/frameworks/flex-config.xml |
| | 280 | [exec] /Users/paulschulz/workspace/ova/lt-svn/trunk/ova.as3/dist/minimal/ova-as3-1.0.1.swc (278900 bytes) |
| | 281 | [echo] Build complete. |
| | 282 | |
| | 283 | deploy-minimal: |
| | 284 | [echo] Deploying the 'minimal' SWC 'ova-as3-1.0.1.swc' to the specified OVA product directories... |
| | 285 | [copy] Copying 1 file to /Users/paulschulz/workspace/ova/lt-svn/trunk/ova.jwplayer.5x/lib |
| | 286 | [copy] Copying 1 file to /Users/paulschulz/workspace/ova/lt-svn/trunk/ova.flowplayer/lib |
| | 287 | [copy] Copying 1 file to /Users/paulschulz/workspace/ova/lt-svn/trunk/ova.vpaid.ads/lib |
| | 288 | [echo] Deployment complete. |
| | 289 | |
| | 290 | BUILD SUCCESSFUL |
| | 291 | Total time: 10 seconds |
| | 292 | ps-macbook-pro:build paulschulz$ |
| | 293 | }}} |
| | 294 | |