-
Notifications
You must be signed in to change notification settings - Fork 1
/
jdk14.xml
132 lines (120 loc) · 6.01 KB
/
jdk14.xml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?xml version="1.0" encoding="UTF-8"?>
<project name="crypto1.4" default="build" basedir=".">
<property name="bc.javac.source" value="1.4" />
<property name="bc.javac.target" value="1.4" />
<property name="build.dir" value="build" />
<property name="jdk.name" value="jdk1.4" />
<property name="src.dir" value="${build.dir}/${jdk.name}" />
<property name="artifacts.dir" value="${build.dir}/artifacts/${jdk.name}" />
<property name="target.prefix" value="jdk14" />
<property name="javadoc.args" value="-breakiterator" />
<target name="init">
<mkdir dir="${src.dir}" />
<mkdir dir="${artifacts.dir}" />
<mkdir dir="${artifacts.dir}/reports" />
<mkdir dir="${artifacts.dir}/reports/xml" />
<mkdir dir="${artifacts.dir}/reports/html" />
<mkdir dir="${artifacts.dir}/jars" />
<mkdir dir="${artifacts.dir}/checkstyle" />
<copy todir="${src.dir}">
<fileset dir="src">
<exclude name="**/ValidateSignedMail.java"/>
<exclude name="**/ECPointUtil.java" />
<exclude name="**/ECNamedCurveSpec.java" />
<exclude name="**/BCEC*.java" />
<exclude name="**/JCEEC5*.java" />
<exclude name="**/provider/JCEEC*.java" />
<exclude name="**/EC5*.java" />
<exclude name="**/JDKPKCS12StoreParameter.java" />
<exclude name="**/NTRU*.java" />
<exclude name="**/IndexGenerator.java" />
<exclude name="**/ntru/**/*.java" />
<exclude name="**/asymmetric/DSTU*.java" />
<exclude name="**/asymmetric/dstu/*.java" />
<exclude name="**/provider/config/PKCS12StoreParameter.java" />
</fileset>
<fileset dir="test/src">
<exclude name="**/ECDSA5Test.java" />
<exclude name="**/CRL5Test.java" />
<exclude name="**/NamedCurveTest.java" />
<exclude name="**/GetInstanceTest.java" />
<exclude name="**/X509LDAPCertStoreTest.java" />
<exclude name="**/X509StoreTest.java" />
<exclude name="**/MQVTest.java" />
<exclude name="**/pem/AllTests.java" />
<exclude name="**/ntru/**/*.java" />
<exclude name="**/NTRU*.java" />
<exclude name="**/crypto/engines/test/BitStringTest.java" />
<exclude name="**/crypto/engines/test/AllTests.java" />
<exclude name="**/crypto/signers/test/AllTests.java" />
<exclude name="**/jce/**/DSTU*.java" />
<exclude name="**/pqc/**/EncryptionKeyTest.java" />
<exclude name="**/pqc/**/BitStringTest.java" />
<exclude name="**/jcajce/provider/test/*.java" />
<exclude name="**/jce/provider/test/JceTestUtil.java" />
</fileset>
<fileset dir="src" includes="**/*.properties" />
<fileset dir="test/src" includes="**/*.html" />
<fileset dir="test/src" includes="**/*.pem" />
<fileset dir="test/src" includes="**/*.properties" />
<fileset dir="test/src" includes="**/*.eml" />
<fileset dir="test/data" includes="**/*.pem" />
<fileset dir="test/data" includes="**/*.properties" />
<fileset dir="test/data" includes="**/*.eml" />
<fileset dir="test/data" includes="**/*.sig" />
<fileset dir="test/data" includes="**/*.p7m" />
<fileset dir="test/data" includes="**/*.data" />
<fileset dir="test/data" includes="**/*.crt" />
<fileset dir="test/data" includes="**/*.crl" />
<fileset dir="test/data" includes="**/*.message" />
<fileset dir="test/data" includes="**/*.der" />
<fileset dir="test/data" includes="**/*.csr" />
<fileset dir="test/data" includes="**/*.cer" />
<fileset dir="test/data" includes="**/*.cvcert" />
</copy>
<copy todir="${src.dir}" overwrite="true">
<fileset dir="jdk1.4" includes="**/*.java" />
<fileset dir="test/jdk1.4" includes="**/*.java" />
</copy>
<available classname="com.puppycrawl.tools.checkstyle.CheckStyleTask" property="checkstyle.on" />
</target>
<target name="checkstyle-on" if="checkstyle.on">
<taskdef resource="checkstyletask.properties" />
<checkstyle config="checkstyle/bc-checks.xml">
<fileset dir="${src.dir}">
<include name="**/*.java"/>
<exclude name="**/sasn1/*.java"/>
<exclude name="**/sasn1/test/*.java"/>
</fileset>
<formatter type="plain"/>
<formatter type="xml" toFile="${artifacts.dir}/checkstyle/${jdk.name}-errors.xml"/>
</checkstyle>
</target>
<target name="checkstyle-off" unless="checkstyle.on">
</target>
<target name="build" depends="init">
<ant antfile="bc+-build.xml" dir="." />
<ant antfile="bc+-build.xml" dir="." target="javadoc-lw" />
<ant antfile="bc+-build.xml" dir="." target="javadoc-libraries" />
</target>
<target name="build-lw" depends="init">
<ant antfile="bc+-build.xml" dir="." target="build-lw" />
<ant antfile="bc+-build.xml" dir="." target="javadoc-lw" />
</target>
<target name="build-provider" depends="init,checkstyle-on,checkstyle-off">
<ant antfile="bc+-build.xml" dir="." target="build-provider" />
<ant antfile="bc+-build.xml" dir="." target="javadoc-provider" />
</target>
<target name="build-test" depends="init">
<ant antfile="bc+-build.xml" dir="." target="build-test" />
</target>
<target name="test" depends="build-test">
<ant antfile="bc+-build.xml" dir="." target="test" />
</target>
<target name="test-lw" depends="build-test">
<ant antfile="bc+-build.xml" dir="." target="test-lw" />
</target>
<target name="zip-src">
<ant antfile="bc+-build.xml" dir="." target="zip-src" />
</target>
</project>