bodewig 2003/12/09 05:46:02
Modified: . gump.xml
stylesheet bash.xsl build.xsl win2k.xsl
Log:
Add sysproperty to workspace
Revision Changes Path
1.3 +1 -0 jakarta-gump/gump.xml
Index: gump.xml
===================================================================
RCS file: /home/cvs/jakarta-gump/gump.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gump.xml 7 Jan 2003 15:06:22 -0000 1.2
+++ gump.xml 9 Dec 2003 13:46:02 -0000 1.3
@@ -6,6 +6,7 @@
sync="rsync -r -a --delete" version="0.3">
<property name="build.sysclasspath" value="only"/>
+ <sysproperty name="java.awt.headless" value="true"/>
<profile href="profile/gump.xml"/>
1.88 +14 -0 jakarta-gump/stylesheet/bash.xsl
Index: bash.xsl
===================================================================
RCS file: /home/cvs/jakarta-gump/stylesheet/bash.xsl,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- bash.xsl 26 Nov 2003 14:24:19 -0000 1.87
+++ bash.xsl 9 Dec 2003 13:46:02 -0000 1.88
@@ -446,6 +446,20 @@
<xsl:value-of select="@value"/>
</xsl:for-each>
+ <xsl:for-each select="sysproperty">
+ <xsl:text> -D</xsl:text>
+ <xsl:value-of select="@name"/>
+ <xsl:text>=</xsl:text>
+ <xsl:choose>
+ <xsl:when test="@type = 'path' and $cygwin = 1">
+ <xsl:text>'`cygpath --path --windows "</xsl:text>
+ <xsl:value-of select="@value"/>
+ <xsl:text>"`'</xsl:text>
+ </xsl:when>
+ <xsl:otherwise><xsl:value-of select="@value"/></xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
+
<xsl:text> </xsl:text><xsl:value-of select="$ant-cmd"/>
<xsl:if test="@buildfile">
1.57 +1 -0 jakarta-gump/stylesheet/build.xsl
Index: build.xsl
===================================================================
RCS file: /home/cvs/jakarta-gump/stylesheet/build.xsl,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- build.xsl 18 Aug 2003 09:40:43 -0000 1.56
+++ build.xsl 9 Dec 2003 13:46:02 -0000 1.57
@@ -253,6 +253,7 @@
<xsl:copy>
<xsl:apply-templates select="@*"/>
+ <xsl:apply-templates select="/workspace/sysproperty"/>
<xsl:apply-templates select="/workspace/property"/>
<xsl:apply-templates select="*"/>
1.50 +14 -0 jakarta-gump/stylesheet/win2k.xsl
Index: win2k.xsl
===================================================================
RCS file: /home/cvs/jakarta-gump/stylesheet/win2k.xsl,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- win2k.xsl 26 Nov 2003 14:24:19 -0000 1.49
+++ win2k.xsl 9 Dec 2003 13:46:02 -0000 1.50
@@ -391,6 +391,20 @@
<xsl:value-of select="@value"/>
</xsl:for-each>
+ <xsl:for-each select="sysproperty">
+ <xsl:text> -D</xsl:text>
+ <xsl:value-of select="@name"/>
+ <xsl:text>=</xsl:text>
+ <xsl:choose>
+ <xsl:when test="@type='path'">
+ <xsl:value-of select="translate(@value,'/','\')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@value"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
+
<xsl:text> Launcher </xsl:text><xsl:value-of
select="translate(../initdir/@dir,'/','\')"/><xsl:text>\cp.properties
org.apache.tools.ant.Main</xsl:text>
<xsl:if test="@buildfile">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]