Pat Downey <patd at symbian.org> writes:

> Hi all,
> Is it possible to specify project descriptions as well as their paths
> when generating the configuration.xml file using opengrok.jar? or is
> that something that's better done as a task afterwards?
>
> We would like to provide friendly descriptions for our projects but
> would also like for those descriptions to not be replaced when the
> configuration.xml is regenerated when adding new repositories.

Hi Pat,

I think this is done as a separate task currently. I haven't tried it
myself, but looking at the example run.sh in the distribution, I think
the steps are roughly:

  1. Create a tab-separated file with lines on the form
  PATH + tab + DESCRIPTION (I think there's a paths.tsv example in the
  distribution too, but I didn't check)

  2. java org.opensolaris.opengrok.web.EftarFile paths.tsv 
$DATA_ROOT/index/dtags.eftar

There's clearly a potential for making this easier, so feel free to file
an enhancement request at http://defect.opensolaris.org/.

-- 
Knut Anders

Reply via email to