|
A JAR file is a Java ARchive file. It is similar to a UNIX tar file (or a Windows zip file). To manage a JAR file, you can use the jar command-line tool which is included with the JDK. The jar tool takes several files, or an entire directory structure, and compresses them together into a single file. This saves a little space, and makes it much easier to manage that group of files as a single unit. The terms 'file' and 'archive' can be used interchangeably in this context, as they refer to the same collection of bytes.
These instructions assume that you already know which JAR file contains the file you need to edit.
To customise a file contained with a JAR:
/tmp/confluence-working.cd) to your working directory.jar xf </path/to/file.jar>jar xf $CONFLUENCE/confluence/WEB-INF/lib/confluence-3.5.jar |
/WEB-INF/classes/ folder. For example, if you modify the schedulingSubsystemContext.xml file, you can place it in <confluence install>/confluence/WEB-INF/classes/schedulingSubsystemContext.xml.<confluence install>/confluence/WEB-INF/classes/. For example, if you modify the fonts/verdanaz.xml file, you must put it in <confluence install>/confluence/WEB-INF/classes/fonts/verdanaz.xml.As an alternative to the jar utility, you can extract the JAR file using an unzipping utility like Winzip, 7-zip, Stuffit or the OS X Archive Extractor.
Installing Patched Class Files
Where are the files that used to be in my Confluence installation directory?