Confluence Docs 3.0 : Deploying the theme as a plugin This page last changed on Nov 03, 2008 by smaddox.
| This documentation is only applicable to Confluence 2.5.x and earlier. To create a new plugin in Confluence 2.6 and later, please refer to Writing Confluence Plugins.
This page tells you how to deploy your own custom theme after you have created it. If you need to apply an already-installed Confluence theme to your Confluence site or space, please refer to one of the following pages instead: Applying a Theme To A Site Applying A Theme To A Space In order to deploy your custom Confluence theme, you will have to have Ant installed. To learn how to install and use Ant, please follow the instructions on the projects website. To deploy the theme, execute the following command from within the theme directory in your Confluence installation:
    ant build -Dtheme=<specifynameoftheme>
For example to build a theme with the name dinosaur, you will have to type:
    ant build -Dtheme=dinosaur
You will find the build jar of the dinosaur theme in you Confluence install directory under .../themes/dinosaur/dist_ directory. ### Installing the theme To install the theme you can simply drop the previously created .jar file into the `.../confluence/WEB-INF/lib` directory in your Confluence installation as described under Installing and Configuring Plugins. As a second option, you can also call the following ant command instead of the one found above to install the theme and copy the jar automatically in the appropriate directory.
    ant install -Dtheme=<specifynameoftheme>
Read more about plugins To change the time and date formats, Go to the 'Administration Console' and click on 'General Configuration' in the left panel. Click 'Edit' at the bottom of the 'Options and Settings' screen. There are three time and date format settings: Time Format : determines the time format for when each news item is posted Date Time Format : determines date and time format for historical versions of pages. Date Format : determines date and time format for all new and modified content. Change the formats using the guidelines in this document. 'Save' your changes. ##### RELATED TOPICS
Adding a theme icon (Confluence Docs 3.0)
Including Cascading Stylesheets in Themes (Confluence Docs 3.0)
Applying A Theme To A Space (Confluence Docs 3.0)
Themes Overview (Confluence Docs 3.0)
Applying a Theme To A Site (Confluence Docs 3.0)
Creating a Theme (Confluence Docs 3.0)

Document generated by Confluence on Nov 05, 2009 23:27