rubys 01/10/11 10:17:55
Modified: proposal/gump/stylesheet bash.xsl build.xsl win2k.xsl
Log:
Restoring "clean" to it's more traditional meaning...
Revision Changes Path
1.55 +2 -7 jakarta-alexandria/proposal/gump/stylesheet/bash.xsl
Index: bash.xsl
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/stylesheet/bash.xsl,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- bash.xsl 2001/10/09 23:13:52 1.54
+++ bash.xsl 2001/10/11 17:17:55 1.55
@@ -28,7 +28,7 @@
<xsl:text>all) </xsl:text>
<xsl:text> export all=1 </xsl:text>
- <xsl:for-each select=".//project[not(@name='clean')] | .//module">
+ <xsl:for-each select=".//project | .//module">
<xsl:text> export </xsl:text>
<xsl:value-of select="translate(@name,'-.','__')"/>
<xsl:text>=1 </xsl:text>
@@ -79,12 +79,7 @@
<xsl:template match="build//project">
<xsl:choose>
<xsl:when test="@name='clean'">
- <xsl:text>fi </xsl:text>
- <xsl:text> if test $all; then </xsl:text>
- </xsl:when>
-
- <xsl:when test="@name='sync'">
- <xsl:text>echo Synchronizing </xsl:text>
+ <xsl:text>echo Restoring build directories </xsl:text>
</xsl:when>
<xsl:otherwise>
1.39 +2 -24 jakarta-alexandria/proposal/gump/stylesheet/build.xsl
Index: build.xsl
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/stylesheet/build.xsl,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- build.xsl 2001/10/10 19:19:33 1.38
+++ build.xsl 2001/10/11 17:17:55 1.39
@@ -28,38 +28,16 @@
<delete dir="build"/>
<delete dir="dist"/>
- <!-- clean up old build directories -->
+ <!-- restore up old build directories -->
<project name="clean">
<html log="{$logdir}/clean.html"
banner-image="{$banner-image}" banner-link="{$banner-link}">
<title>
- <xsl:text>Clean status - </xsl:text>
- <date/>
- </title>
- <content>
- <logic name="clean">
- <delete dir="build"/>
- <delete dir="dist"/>
- <mkdir dir="trashbin"/>
- <xsl:for-each select="module[cvs]">
- <move file="{@srcdir}" todir="trashbin" quiet="true"/>
- </xsl:for-each>
- <delete dir="trashbin"/>
- </logic>
- </content>
- </html>
- </project>
-
- <!-- initialize new build directories -->
- <project name="sync">
- <html log="{$logdir}/sync.html"
- banner-image="{$banner-image}" banner-link="{$banner-link}">
- <title>
<xsl:text>Synchronization status - </xsl:text>
<date/>
</title>
<content>
- <logic name="sync">
+ <logic name="clean">
<xsl:for-each select="module[cvs]">
<xsl:if test="not(/workspace/@sync)">
<delete dir="{@srcdir}"/>
1.25 +1 -5 jakarta-alexandria/proposal/gump/stylesheet/win2k.xsl
Index: win2k.xsl
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/stylesheet/win2k.xsl,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- win2k.xsl 2001/10/09 23:13:52 1.24
+++ win2k.xsl 2001/10/11 17:17:55 1.25
@@ -35,11 +35,7 @@
<xsl:template match="build//project">
<xsl:choose>
<xsl:when test="@name='clean'">
- <xsl:text> if "%1"=="all" goto end_clean </xsl:text>
- </xsl:when>
-
- <xsl:when test="@name='sync'">
- <xsl:text> echo Synchronizing </xsl:text>
+ <xsl:text> echo Restoring build directories </xsl:text>
</xsl:when>
<xsl:otherwise>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]