About SourceJammer Server Files SourceForge Logo

The SourceJammer server stores archives on the server's file system in a directory specified in the conf.xml file for the server. The archives directory contains a directory for each archive on the server. The name of each directory is the same as the name of the archive.

Each archive directory contains the following directories:
- file -- contains xml files with information about files
- label -- contains xml files with information about labels
- project -- contains xml files with information about projects
- source -- contains source files for files stored on the server. These are either full files or file deltas.
- version -- contains text files holding comments added with each version.

Every project XML file contains a list of all of it's children (whether other projects, or files), and the name of the XML file for each one. Every file XML file contains a list of it's versions, with the file name of each version comment file and the source file for the version.

It is possible to trace your way through the file and project files to the specific XML file holding information about a particular project or file in your SourceJammer archive. In fact, this is fairly simple to do, if tedious.

The trick is to start with XML file for tte root project for your archive. This is always file 0 in the project directory (all of the files we are discussing have numeric names). Open this file and look in the <Children> node. This will contain a list of <Child> nodes. Each child node, obviously, represents a child of the project. You can start with the root project and trace your way through every project along the way until you find the file XML file you are looking for.

Suppose you are looking for the XML for a file in your archive called MyFile.java and this file is in the following project path: Archive/this/is/the/path. To locate the XML file for MyFile.java start with file 0 in the project directory. The Children node of this file will contain a Child node with the NodeName of "this". The FileName node tells you the name of the XML file with information about the project "this" Open this file and continue the process until you find the XML file for the last project in the path, "path".

The XML file for "path" should contain a Child node with the NodeName of the file you are looking for, MyFile.java. Use the FileName node of MyFile.java to locate the XML file for this file. But remember that the XML files for files are in the file directory, not the project directory.