This page last changed on Jan 17, 2007 by rosie@atlassian.com.

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 the confluence/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,

  1. Go to the 'Administration Console' and click on 'General Configuration' in the left panel.

  2. 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.

  3. Change the formats using the guidelines in this document.

  4. 'Save' your changes.
RELATED TOPICS
Adding a theme icon (Confluence)
Applying a Theme (Confluence)
Creating a Theme (Confluence)
Including Cascading Stylesheets in Themes (Confluence)
Themes Overview (Confluence)

I had the problem, that one theme I wanted to compile in Java 1.5 had class files, which have previously been compiled with 1.4. So the built did not recompile these files and I ran into errors.

ant clean \-Dtheme=<specifynameoftheme>

before building is definitly a good idea.

Posted by christian.hansen@oenb.at at Aug 31, 2006 08:10
Document generated by Confluence on Feb 07, 2007 23:58