Update OOo toolbar
Using the extension builder
The ICE toolbar extension is built using the ICE extension builder, to run the builder:
>> cd ice/trunk/templates/ice
>> python utils/extensionBuilder.py $version $type
For help:
>> python utils/extensionBuilder.py --help
Options
- version
- Version number of the extension, this is displayed in the OOo extension manager and is used by OOo for updating.
- The number to use will depend on the level of changes made. For example, if the current version is 1.0.0 a bug fix would make it 1.0.1, a new feature 1.1.0 and a major change 2.0.0.
- type
- The type of release either, 'dev' (default) or stable.
- 'dev':
Toolbar name displayed in the OOo extension manager is “ICE Style Toolbar (dev)”.
The toolbar is built in
ice/trunk/templates/ice/ooo(main development area)Files modified:
ooo/ice-toolbar/description.xmlooo/ice.update.xmlooo/ice-toolbar.oxt
- 'stable':
Toolbar name displayed in the OOo extension manager is “ICE Style Toolbar”.
The toolbar is built in
ice/downloads/latest/templates/(main area for download stable versions)Files modified:
ooo/ice-toolbar/description.xmlice/downloads/latest/templates/ice.update.xmlice/downloads/latest/templates/ice-toolbar.oxt
Make changes
Update the required files:
>> svn up ice/trunk/templates/ice
>> svn up ice/downloads/latest/templates
Remove the ICE toolbar extension using the OOo extension manager and restart OOo
Install the ICE toolbar extension from
ice/trunk/templates/ice/ooo/ice-toolbar.oxt(Important: This ensures the extension has the latest changes from the macro text files i.e.toolbar.txt)Make the changes to the installed extension:
If the toolbar macros require changes then go to:
Tools > Macros > Oganize Macros > OOo Basic
Select My Macros > IceLibrary > (select module)
Select the macro & make the changes
Test the changes
Important: Copy the any changes into appropriate text file i.e. changes to 'toolbar' module need to be copied into
ice/trunk/templates/ice/macros/toolbar.txt
If a dialog requires changes then:
Tools > Macros > Ogranize Dialogs
Make the changes
Test the changes
Tools > Macros > Oganize Dialogs & open the dialog
Click export then navigate to
ice/trunk/templates/ice/ooo/ice-toolbar/IceLibraryand override the existing dialog
Rebuild the extension:
>> cd ice/trunk/templates/ice
Developers version, run:
>> python utils/extensionBuilder.py $version dev
Stable version, run:
>> python utils/extensionBuilder.py $version stable
Important: Before building or committing a stable version be sure you have the dev version (with the same changes) committed first and that it has been tested by a second person.
Remove the previous toolbar using the extension manager and restart OOo
Install the updated extension and re-test
Release changes
Provided testing has been completed ok SVN commit required files modified in:
ice/trunk/templates/iceice/downloads/latest/templates (NB: Only required if the stable version was built)






