How to upgrade this package
===========================

- Go to http://jqueryui.com/download
- Unselect the tabs plugins which conflict with jquerytools
- Download jquery-ui-1.8.X.custom.zip

- Go to the URL specified in the collective/js/jqueryui/css/sunburst/jquery-ui-1.8.12.custom.css file to pre-load current theme settings.
- Click on "Download theme" in the left-side "Theme rollover".
- Click on "Advanced Theme Settings" to expand options and type "sunburst" in "Theme Folder Name" field.
- Create theme directory
- Download jquery-ui-1.8.X.custom.zip

Commands to execute::

    PKG="/home/toutpt/workspace/collective.js.jqueryui/collective/js/jqueryui"
    VERSION="1.8.13"
    PREV="1.8.12"
    unzip ~/jquery-ui-$VERSION.custom.zip
    cd ~/jquery-ui-$VERSION.custom
    rm $PKG/jquery-ui-$PREV.custom.min.js
    rm $PKG/jquery-ui-$PREV.custom.js
    cp js/jquery-ui-$VERSION.custom.min.js $PKG/jquery-ui-$VERSION.custom.js
    cp js/jquery-ui-$VERSION.custom.min.js $PKG/jquery-ui-$VERSION.custom.min.js
    cp development-bundle/ui/i18n/jquery-ui-i18n.js $PKG/jquery-ui-i18n.js

    rm $PKG/css/sunburst/images/*
    rm $PKG/css/sunburst/jqueryui.css
    cp css/sunburst/jquery-ui-$VERSION.custom.css $PKG/css/sunburst/jqueryui.css
    cp css/sunburst/images/* $PKG/css/sunburst/images/

- update version in README.txt and configure.zcml and config.py

- increment the profile version in metadata.xml

- update the ugprade step::

    <genericsetup:upgradeStep
        source="*"
        destination="3001"
        title=""
        description=""
        profile="collective.js.jqueryui:default"
        handler=".upgrades.common"
    />
