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/08/07 15:06:55 UTC
cvs commit: jakarta-alexandria/proposal/gump/stylesheet build.xsl
rubys 01/08/07 06:06:55
Modified: proposal/gump rubypad.xml
proposal/gump/stylesheet build.xsl
Log:
Provide the ability of workspaces to override the target selected by
a project.
Revision Changes Path
1.39 +5 -1 jakarta-alexandria/proposal/gump/rubypad.xml
Index: rubypad.xml
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/rubypad.xml,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- rubypad.xml 2001/08/05 12:19:35 1.38
+++ rubypad.xml 2001/08/07 13:06:55 1.39
@@ -22,7 +22,11 @@
<project name="jts" home="C:\jts1_0"/>
<project name="tranquilo" home="C:\xsdlib-20010424"/>
- <!-- CVS Repository overrides -->
+ <!-- Project overrides -->
+
+ <project name="commons-cactus-22" target="jar"/>
+
+ <!-- Repository overrides -->
<repository name="jakarta" method="ext" user="rubys" path="/home/cvs"/>
<repository name="xml" method="ext" user="rubys" path="/home/cvs"/>
1.14 +12 -1 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.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- build.xsl 2001/07/29 03:27:05 1.13
+++ build.xsl 2001/08/07 13:06:55 1.14
@@ -226,7 +226,18 @@
</xsl:if>
<xsl:copy>
- <xsl:apply-templates select="@*"/>
+ <xsl:choose>
+ <xsl:when test="ancestor::project/@target">
+ <xsl:attribute name="target">
+ <xsl:value-of select="ancestor::project/@target"/>
+ </xsl:attribute>
+ </xsl:when>
+ <xsl:when test="@target">
+ <xsl:copy-of select="@target"/>
+ </xsl:when>
+ </xsl:choose>
+
+ <xsl:apply-templates select="@*[name()!='target']"/>
<xsl:apply-templates select="*[name()!='property']"/>
<xsl:for-each select="/workspace/property|property">
---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org