OpenDocumentPHP
Your solution for OpenDocument in PHP.
Home Developers Corner Repository

Notice: Undefined property: stdClass::$published in /home/o/opendocumentphp.org/public_html/plugins/content/sef.php on line 42
The Subversion Repository PDF Print E-mail
Written by Norman Markgraf   
Tuesday, 14 August 2007 10:20

The whole development took place in a single source code database. This database is called repository and is held by a program called SubVersion. It is a so called Version Control program. To get the source code out of the database you need a also a program.

Windows Users

There is a fabulos utility running under Windows to work with an SubVersion source code repository. So if you like to work under Windows, please give TortoiseSVN a chance.

Linux and Macintosh Users

Please insall the SubVersion packages from your installation sources. You than have a programm call svn which will get working copy the source code for you.

Eclipse Users

Please install the Subclipse plugin to have SubVersion support right in your Eclipse environment.

The Structure of the Repository

You will find the OpenDocumentPHP repository on sourceforge.net svn servers. The main URL for our source code is 'http://opendocumentphp.svn.sourceforge.net/svnroot/opendocumentphp/php'. There are three subdirectorys under that URL, named 'trunk', 'brachnes' and 'tags'.

As a developer or a interested customer you can always find the latest source code in the so called 'trunk' part of the repository. To get a so called working copy of the latest development trunk into you local mydevelopment directory you could type:

:> svn co http://opendocumentphp.svn.sourceforge.net/svnroot/opendocumentphp/php/trunk mydevelopment

Change the string 'mydevelopment' to what ever you local working directory is called on your system.

There is also a copy of every released version of OpenDocumentPHP in the so called 'tags' part of the repository. So if you want to try out an old release you might try it this way:

:> svn co http://opendocumentphp.svn.sourceforge.net/svnroot/opendocumentphp/php/tags/0.5.2 opendocumentphp_0_5_2

This will make a copy of the whole release 0.5.2 into you local opendocumentphp_0_5_2 directory.

The last but not least part is in the 'branches' directory. After a every major change in the release code, the last development trunk can be found as branch in this directory. So after changing from 0.5.X to 0.6.Y the last 0.5.X revision is stored as '0.5' to the 'branches' directory. You can get a local copy of the last 0.5 branch, of example, with this command

:> svn co http://opendocumentphp.svn.sourceforge.net/svnroot/opendocumentphp/php/branches/0.5 opendocumentphp_branch_0_5

If you have any questions regarding the structure of the OpenDocumentPHP repository, please feel free to ask on our mailing list.

Last Updated ( Wednesday, 15 August 2007 13:07 )