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/21 15:33:03 UTC
cvs commit: jakarta-alexandria/proposal/gump/stylesheet bash.xsl build.xsl
rubys 01/10/21 06:33:03
Modified: proposal/gump/site/xdocs project.xml workspace.xml
proposal/gump/stylesheet bash.xsl build.xsl
Log:
Disable bootclass option for the moment...
Revision Changes Path
1.4 +2 -1 jakarta-alexandria/proposal/gump/site/xdocs/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/site/xdocs/project.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- project.xml 2001/10/20 20:50:33 1.3
+++ project.xml 2001/10/21 13:33:03 1.4
@@ -213,7 +213,8 @@
<td>type</td>
<td>If the value of this attribute is "boot" then the jar is
prepended to the bootclasspath instead of being appended to the
- classpath.</td>
+ classpath. This attribute is ignored unless bootclass="yes"
+ is specified on the <a href="workspace.html">workspace</a>.</td>
<td>No</td>
</tr>
</table>
1.5 +9 -0 jakarta-alexandria/proposal/gump/site/xdocs/workspace.xml
Index: workspace.xml
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/site/xdocs/workspace.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- workspace.xml 2001/10/20 20:50:33 1.4
+++ workspace.xml 2001/10/21 13:33:03 1.5
@@ -67,6 +67,15 @@
</td>
<td>No</td>
</tr>
+ <tr>
+ <td>bootclass</td>
+ <td>If this value is set to "yes", it will enable placing jars on the
+ bootclasspath. Default is "no". Consider this function
+ experimental at this time. See the description for
+ <a href="project.html">project</a> for details.
+ </td>
+ <td>No</td>
+ </tr>
</table>
<p/>
1.62 +2 -2 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.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- bash.xsl 2001/10/21 11:52:55 1.61
+++ bash.xsl 2001/10/21 13:33:03 1.62
@@ -344,12 +344,12 @@
<xsl:template match="classpath">
<xsl:text>export CLASSPATH=$CP:$JAVA_HOME\lib\tools.jar </xsl:text>
<xsl:for-each select="pathelement">
- <xsl:if test="@type='boot'">
+ <xsl:if test="not(@type='boot')">
<xsl:text>export CLASSPATH=$CLASSPATH:</xsl:text>
<xsl:value-of select="translate(@location,'\','/')"/>
<xsl:text> </xsl:text>
</xsl:if>
- <xsl:if test="not(@type='boot')">
+ <xsl:if test="@type='boot'">
<xsl:text>export CLASSPATH=</xsl:text>
<xsl:value-of select="translate(@location,'\','/')"/>
<xsl:text>:$CLASSPATH </xsl:text>
1.45 +9 -7 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.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- build.xsl 2001/10/21 11:52:55 1.44
+++ build.xsl 2001/10/21 13:33:03 1.45
@@ -265,15 +265,17 @@
<xsl:apply-templates select="@*[name()!='target']"/>
<xsl:apply-templates select="/workspace/property"/>
- <xsl:apply-templates select="*[name()!='bootclass']"/>
+ <xsl:apply-templates select="*"/>
- <xsl:for-each select="../depend/jar[@type='boot']">
- <bootclass location="{../@home}/{@name}"/>
- </xsl:for-each>
+ <xsl:if test="/workspace[@bootclass='yes']">
+ <xsl:for-each select="../depend/jar[@type='boot']">
+ <bootclass location="{../@home}/{@name}"/>
+ </xsl:for-each>
- <xsl:for-each select="../option/jar[@type='boot']">
- <bootclass location="{../@home}/{@name}"/>
- </xsl:for-each>
+ <xsl:for-each select="../option/jar[@type='boot']">
+ <bootclass location="{../@home}/{@name}"/>
+ </xsl:for-each>
+ </xsl:if>
</xsl:copy>
</xsl:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org