donaldp 2002/07/13 16:41:37
Modified: proposal/gump gen.sh
proposal/gump/stylesheet bash.xsl
Log:
Make it possible to plug in the name of main ant class by setting an xslt variable.
Revision Changes Path
1.36 +5 -0 jakarta-alexandria/proposal/gump/gen.sh
Index: gen.sh
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/gen.sh,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- gen.sh 27 Jun 2002 12:47:19 -0000 1.35
+++ gen.sh 13 Jul 2002 23:41:37 -0000 1.36
@@ -88,6 +88,11 @@
java org.apache.xalan.xslt.Process -EDUMP -text -in work/buildsite.xml -xsl
stylesheet/bash.xsl -out work/build.sh -PARAM cmd-prefix "$CP" -PARAM os-type
"$OSTYPE" || \
export FAIL=1
+echo Generating Myrmidon build script
+test -n "$FAIL" || \
+java org.apache.xalan.xslt.Process -EDUMP -text -in work/buildsite.xml -xsl
stylesheet/bash.xsl -out work/myrmidon-build.sh -PARAM cmd-prefix "$CP" -PARAM os-type
"$OSTYPE" -PARAM ant-cmd "org.apache.myrmidon.launcher.Main" || \
+export FAIL=1
+
# ********************************************************************
echo Generate crossreference data
1.79 +2 -1 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.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- bash.xsl 13 Jul 2002 23:39:52 -0000 1.78
+++ bash.xsl 13 Jul 2002 23:41:37 -0000 1.79
@@ -4,6 +4,7 @@
<xsl:param name="cmd-prefix"/>
<xsl:param name="os-type"/>
+ <xsl:param name="ant-cmd">org.apache.tools.ant.Main</xsl:param>
<xsl:variable name="cygwin">
<xsl:choose>
@@ -440,7 +441,7 @@
</xsl:for-each>
</xsl:if>
- <xsl:text> org.apache.tools.ant.Main</xsl:text>
+ <xsl:text> </xsl:text><xsl:value-of select="$ant-cmd"/>
<xsl:if test="@buildfile">
<xsl:text> -buildfile </xsl:text>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>