Opened 17 years ago

Closed 17 years ago

#116 closed task (fixed)

Setup Doxygen Script for OSSIM Trac

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone:
Component: SysAdmin Keywords:
Cc:

Description

Mark would like to generate doxygen updates for viewing through the OSSIM trac instance.

The existing doxygen generation script from remotesensing.org looks like this:

#!/usr/bin/perl
#
# File: updatedox.pl
#
# Created:  02 June 2005 by David Burken
#
# Launched by crontab this does two things:
# 1) A cvs update on the ossim tree.
# 2) Updates doxygen on the ossim tree.
#
#------------------------------------------------------------------------------
# $Id: updatedox.pl,v 1.1 2005/06/02 13:49:26 dburken Exp $


$OSSIM_HOME       = "/mnthdb2/drb/ossim";
$OSSIM_QT_HOME    = "/mnthdb2/drb/ossim_qt";

# Go into the ossim directory.
chdir $OSSIM_HOME;

# Do a svn update.
$command = "svn update";
print("$command\n");
system($command);

# Update doxygen.
$command = "doxygen Doxyfile";
print("$command\n");
system($command);

# Go into the ossim_qt directory.
chdir $OSSIM_QT_HOME;

# Do a svn update.
$command = "svn update";
print("$command\n");
system($command);

# Update doxygen.
$command = "doxygen Doxyfile";
print("$command\n");
system($command);

# All finished...
exit 0;
[root@remotesensing bin]#

Change History (1)

comment:1 by warmerdam, 17 years ago

Resolution: fixed
Status: newclosed

Mark,

I have put this in place.

The ossim doxygen output lives under:

/var/www/ossim

The script is in /var/www/ossim/scripts, the svn trees are /var/www/ossim/ossim-svn and /var/www/ossim_qt-svn. The scripts puts all the stuff in /var/www/ossim/ossim-svn/doc/dox, including the ossim_qt doxygen output which gets copied since we need it in one place for Trac.

The trac.ini for ossim has been configured to point to this stuff, and DOXYGEN_VIEW enabled for anonymous.

The /root/scripts/daily.sh script invokes the ossim doxygen generation script, so it gets run once per day.

The main ossim docs are reachable by clicking on the doxygen tab from Trac. To get to the ossim_qt docs, visit:

http://trac.osgeo.org/ossim/doxygen/ossim_qt/index.html

Let me know if you run into problems.

Note: See TracTickets for help on using tickets.