Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/test/TestConfig/build.xml
5985 views
1
<?xml version="1.0"?>
2
3
<!--
4
Copyright (c) 2019, 2020 IBM Corp. and others
5
6
This program and the accompanying materials are made available under
7
the terms of the Eclipse Public License 2.0 which accompanies this
8
distribution and is available at https://www.eclipse.org/legal/epl-2.0/
9
or the Apache License, Version 2.0 which accompanies this distribution and
10
is available at https://www.apache.org/licenses/LICENSE-2.0.
11
12
This Source Code may also be made available under the following
13
Secondary Licenses when the conditions for such availability set
14
forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
15
General Public License, version 2 with the GNU Classpath
16
Exception [1] and GNU General Public License, version 2 with the
17
OpenJDK Assembly Exception [2].
18
19
[1] https://www.gnu.org/software/classpath/license.html
20
[2] http://openjdk.java.net/legal/assembly-exception.html
21
22
SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
23
-->
24
25
<project name="TestConfig" default="build" basedir=".">
26
<taskdef resource="net/sf/antcontrib/antlib.xml" />
27
<description>
28
Build TestConfig
29
</description>
30
31
<!-- set properties for this build -->
32
<property name="DEST" value="${BUILD_ROOT}/TestConfig" />
33
34
<target name="init">
35
<mkdir dir="${DEST}" />
36
</target>
37
38
<if>
39
<contains string="${SPEC}" substring="zos"/>
40
<then>
41
<property name="TEXT_ENCODING" value="IBM-1047"/>
42
</then>
43
<else>
44
<property name="TEXT_ENCODING" value="ISO-8859-1"/>
45
</else>
46
</if>
47
48
<target name="build" depends="init">
49
<copy todir="${DEST}">
50
<fileset dir="." includes="**" excludes="**/*.pl"/>
51
</copy>
52
<copy todir="${DEST}" outputencoding="${TEXT_ENCODING}">
53
<fileset dir="." includes="**/*.pl"/>
54
</copy>
55
</target>
56
</project>
57
58