blob: a22471fbd2a7e91202af878cdd538ae745c1cf2c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<?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.xml" />
<!-- generate "env.sh" (Unix) -->
<xslt in="/tmp/env.xml" out="/tmp/env.sh" style="setenv-sh.xsl" />
<copy file="/tmp/env.sh" tofile="env.sh">
<filterchain>
<tokenfilter>
<ignoreblank />
</tokenfilter>
</filterchain>
</copy>
<!-- generate "env.bat" (Windows) -->
<xslt in="/tmp/env.xml" out="/tmp/env.bat" style="setenv-bat.xsl" />
<copy file="/tmp/env.bat" tofile="env.bat">
<filterchain>
<tokenfilter>
<ignoreblank />
</tokenfilter>
</filterchain>
</copy>
</target>
</project>
|