summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2005-10-13 11:11:32 +0000
committermichelou <michelou@epfl.ch>2005-10-13 11:11:32 +0000
commit7332181fcdbc82d108cadf7558b33704547be70b (patch)
tree587c35034fad60fc84aeb778fd5b54c91f8fca16
parenteb8147e124407876173ce4573ac2ede5411b6efd (diff)
downloadscala-7332181fcdbc82d108cadf7558b33704547be70b.tar.gz
scala-7332181fcdbc82d108cadf7558b33704547be70b.tar.bz2
scala-7332181fcdbc82d108cadf7558b33704547be70b.zip
- use Ant now !
-rw-r--r--setenv-nsc.xml36
-rw-r--r--setenv-sh.xsl15
2 files changed, 0 insertions, 51 deletions
diff --git a/setenv-nsc.xml b/setenv-nsc.xml
deleted file mode 100644
index 48cac77735..0000000000
--- a/setenv-nsc.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project name="scala.nsc" default="setenv">
-
- <target name="setenv">
-
- <property file="build-nsc.properties.${platform}" prefix="nsc." />
-
- <echoproperties prefix="nsc." format="xml" destfile="/tmp/env_${user.name}.xml" />
-
- <!-- generate "env.sh" (Unix) -->
-
- <xslt in="/tmp/env_${user.name}.xml" out="/tmp/env_${user.name}.sh" style="setenv-sh.xsl" />
- <copy file="/tmp/env_${user.name}.sh" tofile="env.sh">
- <filterchain>
- <tokenfilter>
- <ignoreblank />
- </tokenfilter>
- </filterchain>
- </copy>
-
- <!-- generate "env.bat" (Windows) -->
-
- <xslt in="/tmp/env_${user.name}.xml" out="/tmp/env_${user.name}.bat" style="setenv-bat.xsl" />
- <copy file="/tmp/env_${user.name}.bat" tofile="env.bat">
- <filterchain>
- <tokenfilter>
- <ignoreblank />
- </tokenfilter>
- </filterchain>
- </copy>
-
- </target>
-
-</project>
-
diff --git a/setenv-sh.xsl b/setenv-sh.xsl
deleted file mode 100644
index 9421721e0a..0000000000
--- a/setenv-sh.xsl
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0">
- <xsl:output method="text" indent="no" />
-
- <xsl:template match="/">
-#!/bin/bash
- <xsl:apply-templates />
- </xsl:template>
-
- <xsl:template match="property">
-export nsc_<xsl:value-of select="substring-after(@name,'nsc.')" />=<xsl:value-of select="@value"/>
- </xsl:template>
-
-</xsl:stylesheet>