|
15 | 15 | -->
|
16 | 16 |
|
17 | 17 | <project name="ssl-tests Security Functional tests" default="build" basedir=".">
|
18 |
| - <taskdef resource="net/sf/antcontrib/antlib.xml" /> |
19 |
| - <description> |
20 |
| - ssl-tests Security Functional tests |
21 |
| - </description> |
| 18 | + <taskdef resource="net/sf/antcontrib/antlib.xml" /> |
| 19 | + <description> |
| 20 | + ssl-tests Security Functional tests |
| 21 | + </description> |
22 | 22 |
|
23 |
| - <!-- set global properties for this build --> |
24 |
| - <property name="DEST" value="${BUILD_ROOT}/functional/security/ssl-tests" /> |
| 23 | + <!-- set global properties for this build --> |
| 24 | + <property name="DEST" value="${BUILD_ROOT}/functional/security/ssl-tests" /> |
25 | 25 |
|
26 |
| - <!--Properties for this particular build--> |
27 |
| - <property name="src" location="./ssl-tests" /> |
| 26 | + <!--Properties for this particular build--> |
| 27 | + <property name="src" location="./ssl-tests" /> |
28 | 28 |
|
29 |
| - <target name="ssltests.check"> |
30 |
| - <condition property="ssltestsTestdir.exists"> |
31 |
| - <available file="ssl-tests" type="dir"/> |
32 |
| - </condition> |
33 |
| - </target> |
| 29 | + <target name="ssltests.check"> |
| 30 | + <condition property="ssltestsTestdir.exists"> |
| 31 | + <available file="ssl-tests" type="dir"/> |
| 32 | + </condition> |
| 33 | + </target> |
34 | 34 |
|
35 |
| - <if> |
36 |
| - <contains string="${SPEC}" substring="zos"/> |
37 |
| - <then> |
38 |
| - < property name= "GIT_REPO" value= "[email protected]:" /> |
39 |
| - </then> |
40 |
| - <else> |
41 |
| - <property name="GIT_REPO" value="https://github.com/" /> |
42 |
| - </else> |
43 |
| - </if> |
44 |
| - <target name="getSsltestsTest" depends="ssltests.check" unless="ssltestsTestdir.exists"> |
45 |
| - <exec executable="git" failonerror="true"> |
46 |
| - <arg value="clone" /> |
47 |
| - <arg value="${GIT_REPO}rh-openjdk/ssl-tests.git" /> |
48 |
| - </exec> |
49 |
| - </target> |
| 35 | + <if> |
| 36 | + <contains string="${SPEC}" substring="zos"/> |
| 37 | + <then> |
| 38 | + < property name= "GIT_REPO" value= "[email protected]:" /> |
| 39 | + </then> |
| 40 | + <else> |
| 41 | + <property name="GIT_REPO" value="https://github.com/" /> |
| 42 | + </else> |
| 43 | + </if> |
| 44 | + <target name="getSsltestsTest" depends="ssltests.check" unless="ssltestsTestdir.exists"> |
| 45 | + <exec executable="git" failonerror="true"> |
| 46 | + <arg value="clone" /> |
| 47 | + <arg value="${GIT_REPO}rh-openjdk/ssl-tests.git" /> |
| 48 | + </exec> |
| 49 | + </target> |
50 | 50 |
|
51 |
| - <target name="init"> |
52 |
| - <mkdir dir="${DEST}" /> |
53 |
| - </target> |
| 51 | + <target name="init"> |
| 52 | + <mkdir dir="${DEST}" /> |
| 53 | + </target> |
54 | 54 |
|
55 |
| - <import file="${TEST_ROOT}/TKG/scripts/getDependencies.xml"/> |
| 55 | + <import file="${TEST_ROOT}/TKG/scripts/getDependencies.xml"/> |
56 | 56 |
|
57 |
| - <!-- Call getJtregVersion, getJtreg target from getDependencies.xml --> |
58 |
| - <target name="invokeGetJtreg" depends="getJtregVersion,getJtreg"> |
59 |
| - </target> |
| 57 | + <target name="dist" depends="getJtreg,getSsltestsTest" description="generate the distribution"> |
| 58 | + <copy todir="${DEST}"> |
| 59 | + <fileset dir="${src}" includes="*.xml,*.mk" /> |
| 60 | + </copy> |
| 61 | + </target> |
60 | 62 |
|
61 |
| - <target name="dist" depends="invokeGetJtreg,getSsltestsTest" description="generate the distribution"> |
62 |
| - <copy todir="${DEST}"> |
63 |
| - <fileset dir="${src}" includes="*.xml,*.mk" /> |
64 |
| - </copy> |
65 |
| - </target> |
| 63 | + <target name="clean" depends="dist" description="clean up"> |
| 64 | + <!-- Delete the ${build} directory trees --> |
| 65 | + <delete dir="${build}" /> |
| 66 | + </target> |
66 | 67 |
|
67 |
| - <target name="clean" depends="dist" description="clean up"> |
68 |
| - <!-- Delete the ${build} directory trees --> |
69 |
| - <delete dir="${build}" /> |
70 |
| - </target> |
71 |
| - |
72 |
| - <target name="build" > |
73 |
| - <antcall target="clean" inheritall="true" /> |
74 |
| - </target> |
| 68 | + <target name="build" > |
| 69 | + <antcall target="clean" inheritall="true" /> |
| 70 | + </target> |
75 | 71 | </project>
|
76 | 72 |
|
0 commit comments