|
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:
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.
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,
|