You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by ru...@apache.org on 2001/10/13 02:24:17 UTC
cvs commit: jakarta-alexandria/proposal/gump/stylesheet xref.xsl modxref.xsl
rubys 01/10/12 17:24:17
Modified: proposal/gump gen.bat gen.sh
proposal/gump/project dom4j.xml
proposal/gump/stylesheet xref.xsl
Removed: proposal/gump/stylesheet modxref.xsl
Log:
Add list of installed packages and list of jars used from cvs; streamline
generation process
Revision Changes Path
1.15 +0 -15 jakarta-alexandria/proposal/gump/gen.bat
Index: gen.bat
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/gen.bat,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- gen.bat 2001/10/12 09:58:54 1.14
+++ gen.bat 2001/10/13 00:24:17 1.15
@@ -97,23 +97,8 @@
REM ********************************************************************
-echo Generating module xref instructions
-java org.apache.xalan.xslt.Process -xml -in work\merge.xml -xsl stylesheet\modxref.xsl -out work\modxref.xml
-if not errorlevel 0 goto fail
-
-echo Applying web site stylesheet
-java org.apache.xalan.xslt.Process -EDUMP -xml -in work\modxref.xml -xsl stylesheet\jakarta.xsl -out work\modxrefsite.xml
-if not errorlevel 0 goto fail
-
-echo Generating modxref script
-java org.apache.xalan.xslt.Process -EDUMP -text -in work\modxrefsite.xml -xsl stylesheet\win2k.xsl -out work\modxref.bat
-if not errorlevel 0 goto fail
-
-REM ********************************************************************
-
echo Publishing
cd work
-call modxref
call puball %SOURCE%
cd ..
1.18 +0 -18 jakarta-alexandria/proposal/gump/gen.sh
Index: gen.sh
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/gen.sh,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- gen.sh 2001/10/12 10:58:02 1.17
+++ gen.sh 2001/10/13 00:24:17 1.18
@@ -113,30 +113,12 @@
java org.apache.xalan.xslt.Process -text -in work/merge.xml -xsl stylesheet/sedmap.xsl -out work/map.pl || \
export FAIL=1
-# ********************************************************************
-
-echo Generating module xref instructions
-test -n "$FAIL" || \
-java org.apache.xalan.xslt.Process -xml -in work/sorted.xml -xsl stylesheet/modxref.xsl -out work/modxref.xml || \
-export FAIL=1
-
-echo Applying web site stylesheet
-test -n "$FAIL" || \
-java org.apache.xalan.xslt.Process -xml -in work/modxref.xml -xsl stylesheet/jakarta.xsl -out work/modxrefsite.xml || \
-export FAIL=1
-
-echo Generating modxref script
-test -n "$FAIL" || \
-java org.apache.xalan.xslt.Process -text -in work/modxrefsite.xml -xsl stylesheet/bash.xsl -out work/modxref.sh || \
-export FAIL=1
-
# **** publish ***
if test -z "$FAIL"; then
echo
echo Publishing
cd work
chmod +x *.sh
- bash modxref.sh
bash puball.sh $SOURCE
cd ..
fi
1.14 +1 -1 jakarta-alexandria/proposal/gump/project/dom4j.xml
Index: dom4j.xml
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/project/dom4j.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- dom4j.xml 2001/08/18 07:03:15 1.13
+++ dom4j.xml 2001/10/13 00:24:17 1.14
@@ -29,7 +29,7 @@
<project name="msv">
<description>
- Sun Multi-Scuema XML Validator
+ Sun Multi-Schema XML Validator
</description>
<url href="http://www.sun.com/software/xml/defelopers/mulwischema/"/>
<jar name="lib/msv.jar"/>
1.10 +210 -4 jakarta-alexandria/proposal/gump/stylesheet/xref.xsl
Index: xref.xsl
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/stylesheet/xref.xsl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- xref.xsl 2001/09/20 14:03:21 1.9
+++ xref.xsl 2001/10/13 00:24:17 1.10
@@ -1,13 +1,13 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- =================================================================== -->
- <!-- Produce a cross reference of project dependencies -->
- <!-- =================================================================== -->
-
<xsl:template match="workspace">
<xref>
+ <!-- =============================================================== -->
+ <!-- Produce a cross reference of project dependencies -->
+ <!-- =============================================================== -->
+
<html log="{@logdir}/xref.html"
banner-image="{@banner-image}" banner-link="{@banner-link}">
@@ -87,6 +87,212 @@
<blockquote>
[] : optional dependency
<br/> ${} : property reference
+ </blockquote>
+ </content>
+
+ </html>
+
+ <!-- =============================================================== -->
+ <!-- Produce a listing of modules sorted by repository -->
+ <!-- =============================================================== -->
+
+ <html log="{@logdir}/modxref.html"
+ banner-image="{@banner-image}" banner-link="{@banner-link}">
+
+ <title>List of modules, sorted by repository</title>
+
+ <sidebar>
+ <strong>Repositories</strong>
+ <ul>
+ <xsl:for-each select="/workspace/repository">
+ <xsl:sort select="@name"/>
+ <li>
+ <a href="#{@name}"><xsl:value-of select="title"/></a>
+ </li>
+ </xsl:for-each>
+ </ul>
+ </sidebar>
+
+ <menu>
+ <xsl:text>Workspace: </xsl:text>
+ <a href="workspace.html">definition</a>
+ <a href="xref.html">cross reference</a>
+ <a href="cvs_index.html">cvs logs</a>
+ <a href="index.html">build logs</a>
+ </menu>
+
+ <content>
+ <blockquote>
+ <xsl:for-each select="/workspace/module/cvs">
+ <xsl:sort select="@repository"/>
+ <xsl:variable name="r" select="@repository"/>
+
+ <xsl:if test="not(preceding::cvs[@repository=$r])">
+ <p/>
+
+ <table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="subtitle">
+ <xsl:for-each select="/workspace/repository[@name=$r]">
+ <a class="subtitle" name="{$r}" href="{home-page}">
+ <xsl:value-of select="title"/>
+ </a>
+ </xsl:for-each>
+ </td>
+ </tr>
+ </table>
+
+ <blockquote>
+ <table class="content">
+ <tr>
+ <th class="content">Module</th>
+ <th class="content">Description</th>
+ </tr>
+
+ <xsl:for-each
+ select="/workspace/module[cvs/@repository=$r]">
+ <tr>
+ <td class="content">
+ <xsl:if test="url/@href">
+ <a href="{url/@href}">
+ <xsl:value-of select="@name"/>
+ </a>
+ </xsl:if>
+ <xsl:if test="not(url/@href)">
+ <xsl:value-of select="@name"/>
+ </xsl:if>
+ </td>
+ <td class="content">
+ <xsl:value-of select="normalize-space(description)"/>
+ </td>
+ </tr>
+ </xsl:for-each>
+
+ </table>
+ </blockquote>
+
+ </xsl:if>
+ </xsl:for-each>
+ </blockquote>
+
+ </content>
+
+ </html>
+
+ <!-- =============================================================== -->
+ <!-- Produce a listing of installed packages -->
+ <!-- =============================================================== -->
+
+ <html log="{@logdir}/packages.html"
+ banner-image="{@banner-image}" banner-link="{@banner-link}">
+
+ <title>List of installed packages</title>
+
+ <sidebar>
+ <strong><a href="index.html">Build logs</a></strong>
+ <ul>
+ <xsl:for-each select="project[ant|script]">
+ <xsl:sort select="@name"/>
+ <li>
+ <a href="{@name}.html"><xsl:value-of select="@name"/></a>
+ </li>
+ </xsl:for-each>
+ </ul>
+ </sidebar>
+
+ <menu>
+ <xsl:text>Workspace: </xsl:text>
+ <a href="workspace.html">definition</a>
+ <a href="xref.html">cross reference</a>
+ <a href="cvs_index.html">cvs logs</a>
+ <a href="index.html">build logs</a>
+ </menu>
+
+ <content>
+
+ <blockquote>
+ <table class="content">
+ <tr>
+ <th class="content">Package</th>
+ <th class="content">Version</th>
+ <th class="content">Description</th>
+ </tr>
+
+ <xsl:for-each select="/workspace/project[@package]">
+ <xsl:sort select="@name"/>
+ <xsl:variable name="project" select="@name"/>
+ <xsl:variable name="package" select="@package"/>
+ <xsl:variable name="module" select="@module"/>
+
+ <xsl:for-each select="/workspace/module[@name=$module]">
+ <tr>
+ <td class="content">
+ <xsl:if test="url/@href">
+ <a href="{url/@href}">
+ <xsl:value-of select="$project"/>
+ </a>
+ </xsl:if>
+ <xsl:if test="not(url/@href)">
+ <xsl:value-of select="$project"/>
+ </xsl:if>
+ </td>
+ <td class="content">
+ <xsl:value-of select="$package"/>
+ </td>
+ <td class="content">
+ <xsl:value-of select="normalize-space(description)"/>
+ </td>
+ </tr>
+ </xsl:for-each>
+
+ </xsl:for-each>
+
+ </table>
+ </blockquote>
+
+ <a name="cvsjars">
+ <table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="title">List of jars used from cvs</td>
+ </tr>
+ </table>
+ </a>
+
+ <blockquote>
+ <table class="content">
+ <tr>
+ <th class="content">Package</th>
+ <th class="content">Module</th>
+ <th class="content">Description</th>
+ </tr>
+
+ <xsl:for-each select="/workspace/project
+ [jar and not(depend|script) and not(@package)]">
+
+ <xsl:sort select="@name"/>
+
+ <tr>
+ <td class="content">
+ <xsl:if test="url/@href">
+ <a href="{url/@href}">
+ <xsl:value-of select="@name"/>
+ </a>
+ </xsl:if>
+ <xsl:if test="not(url/@href)">
+ <xsl:value-of select="@name"/>
+ </xsl:if>
+ </td>
+ <td class="content">
+ <xsl:value-of select="@module"/>
+ </td>
+ <td class="content">
+ <xsl:value-of select="normalize-space(description)"/>
+ </td>
+ </tr>
+
+ </xsl:for-each>
+
+ </table>
</blockquote>
</content>
---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org