kaz         02/03/25 13:25:28

  Modified:    src/dvsl/xdocs site.dvsl
  Log:
  Add a reference to the project descriptor so we can pull information
  from there within site.dvsl.  This is needed to add the link to the CVS
  repositories from the <cvsWebUrl> element.
  
  Revision  Changes    Path
  1.9       +7 -0      jakarta-turbine-maven/src/dvsl/xdocs/site.dvsl
  
  Index: site.dvsl
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/dvsl/xdocs/site.dvsl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- site.dvsl 25 Mar 2002 20:56:54 -0000      1.8
  +++ site.dvsl 25 Mar 2002 21:25:28 -0000      1.9
  @@ -1,3 +1,4 @@
  +#set( $projectDescriptorFilename = "project.xml")
   #set( $projectFilename = "xdocs/project.xml")
   #set( $anakiaProjectFilename = "xdocs/stylesheets/project.xml")
   
  @@ -10,6 +11,11 @@
     #set( $filename = $context.getAppValue("infilename"))
     #set( $relativePath = $context.toolbox.pathtool.getRelativePath($filename))
   
  +  ## Grab a reference to the project descriptor here so we can pull
  +  ## info from it such as the cvs web url, etc ...
  +
  +  #set( $projectDescriptor = 
$node.selectSingleNode("document('$projectDescriptorFilename')/project"))
  +
     ## Check to see if an xdocs/projects.xml file exists, if so, use that
     ## as the navigation file; otherwise, check to see if someone is using
     ## Anakia and has the file in xdocs/stylesheets directory.
  @@ -98,6 +104,7 @@
                   <div><small><strong><a href="$relativePath/mail-lists.html">Mailing 
Lists</a></strong></small></div>
                   <div><small><strong><a 
href="$relativePath/developer-list.html">Developers</a></strong></small></div>
                   <div><small><strong><a 
href="$relativePath/dependencies.html">Dependencies</a></strong></small></div>
  +                <div><small><strong><a href="$projectDescriptor.cvsWebUrl">CVS 
Repository</a></strong></small></div>
                   <div><small><strong><a href="$relativePath/changelog.html">Change 
Log</a></strong></small></div>
                   <div><small><strong><a 
href="$relativePath/jdepend-report.html">Metric Results</a></strong></small></div>
                   <div><small><strong><a href="$relativePath/junit-report.html">Unit 
Tests</a></strong></small></div>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to