Last modified by Pascal Robert on 2012/07/21 20:39
From version 43.1
edited by Kieran Kelleher
on 2007/12/10 20:52
on 2007/12/10 20:52
Change comment:
There is no comment for this version
To version 42.1
edited by Kieran Kelleher
on 2007/12/10 21:15
on 2007/12/10 21:15
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -20,18 +20,26 @@ 20 20 21 21 * So, download the script and drag it to the root of your project. 22 22 23 -* Open the Ant run configuration for the script 23 +* Open the Ant run configuration for the script by right-clicking on the script and selecting the menu shown below. 24 24 25 25 {{info title="Using the Ant Script"}} 26 - 27 -!running_the_script.jpg! 26 + !running_the_script.jpg! 28 28 29 29 {{/info}} 30 30 31 -* Next ,right-click on thescript and select the "clean" and compileAndBuild" tasks. If necessary use the "Order..." button to ensure that "clean" comes before "compileAndBuild".30 +* Next select the "clean" and compileAndBuild" tasks. If necessary use the "Order..." button to ensure that "clean" comes before "compileAndBuild". 32 32 33 33 {{info title="Configure the Ant Tasks to be run"}} 34 - 35 -!ant_tasks.jpg! 33 + !ant_tasks.jpg! 36 36 37 37 {{/info}} 36 + 37 +* Click the Run button to run the ant script and your fully embedded split install deployment bundles will be created in the "dist" folder. 38 + 39 +=== Customization === 40 + 41 +It is common to want to use custom bundle build names. There are a number of advantages to having a unique application name for each build: 42 + 43 +* For example, you might want to have a name that reflects the current revision so that a clean bundle is deployed without overwriting older version bundles on the servers. 44 +* If the current and new versions of the app are compatible with the current database schema, smooth zero-downtime "rolling upgrades" are possible by using this strategy... and the ability to switch back to the older version if an unexpected deployment problem occurs 45 +* Because we are using fully embedded split bundles, the unique deployment name will ensure that web server resources all get a new URL ensuring that older versions cached by browsers will not be used for new deployed version apps ... which can be important for javascript and image updates for example.