forked from bcgit/bc-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjdk15+.xml
139 lines (119 loc) · 6.78 KB
/
jdk15+.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
133
134
135
136
137
138
139
<?xml version="1.0" encoding="UTF-8"?>
<project name="crypto1.5" default="build" basedir="..">
<property name="bc.javac.source" value="1.5" />
<property name="bc.javac.target" value="1.5" />
<property name="build.dir" value="build" />
<property name="jdk.name" value="jdk1.5" />
<property name="artifacts.dir" value="${build.dir}/artifacts/${jdk.name}" />
<property name="src.dir" value="${build.dir}/${jdk.name}" />
<property name="target.prefix" value="jdk15to18" />
<property name="javadoc.args" value="-breakiterator" />
<target name="clean">
<delete dir="${build.dir}" />
</target>
<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="core/src/main/java" includes="**/*.java" />
<fileset dir="core/src/main/java" includes="**/*.properties" />
<fileset dir="core/src/main/resources" includes="**/*.properties" />
<fileset dir="core/src/main/javadoc" includes="**/*.html" />
<fileset dir="core/src/test/java" includes="**/*.java" />
<fileset dir="core/src/test/javadoc" includes="**/*.html" />
<fileset dir="core/src/test/resources" includes="**/*.*" />
<fileset dir="prov/src/main/java" includes="**/*.java" />
<fileset dir="prov/src/main/javadoc" includes="**/*.html" />
<fileset dir="prov/src/main/resources" includes="**/*.properties" />
<fileset dir="prov/src/test/java" includes="**/*.java" />
<fileset dir="prov/src/test/resources" includes="**/*.*" />
<fileset dir="tls/src/main/java" includes="**/*.java" />
<fileset dir="tls/src/main/jdk1.5" includes="**/*.java" />
<fileset dir="tls/src/main/javadoc" includes="**/*.html" />
<fileset dir="tls/src/test/java" includes="**/*.java" />
<fileset dir="tls/src/test/resources" includes="**/*.*" />
<fileset dir="pkix/src/main/java" includes="**/*.java" />
<fileset dir="pkix/src/main/jdk1.5" includes="**/*.java" />
<fileset dir="pkix/src/main/javadoc" includes="**/*.html" />
<fileset dir="pkix/src/main/java" includes="**/*.properties" />
<fileset dir="pkix/src/test/java" includes="**/*.java" />
<fileset dir="pkix/src/test/javadoc" includes="**/*.html" />
<fileset dir="pkix/src/test/resources" includes="**/*.*" />
<fileset dir="pg/src/main/java" includes="**/*.java" />
<fileset dir="pg/src/main/javadoc" includes="**/*.html" />
<fileset dir="pg/src/main/java" includes="**/*.properties" />
<fileset dir="pg/src/test/java" includes="**/*.java" />
<fileset dir="pg/src/test/resources" includes="**/*.*" />
<fileset dir="util/src/main/java" includes="**/*.java" />
<fileset dir="util/src/main/javadoc" includes="**/*.html" />
<fileset dir="util/src/main/java" includes="**/*.properties" />
<fileset dir="util/src/test/java" includes="**/*.java" />
<fileset dir="util/src/test/resources" includes="**/*.*" />
<fileset dir="mail/src/main/java" includes="**/*.java" />
<fileset dir="mail/src/main/javadoc" includes="**/*.html" />
<fileset dir="mail/src/main/resources" includes="**/*.properties" />
<fileset dir="mail/src/main/resources" includes="**/mailcap" />
<fileset dir="mail/src/test/java" includes="**/*.java" />
<fileset dir="mail/src/test/resources" includes="**/*.*" />
<fileset dir="core/src/test/data" includes="**/*.message" />
<fileset dir="core/src/test/data" includes="**/*.eml" />
<fileset dir="core/src/test/data" includes="**/*.sig" />
<fileset dir="core/src/test/data" includes="**/*.data" />
<fileset dir="core/src/test/data" includes="**/*.pem" />
<fileset dir="core/src/test/data" includes="**/*.p7m" />
<fileset dir="core/src/test/data" includes="**/*.crt" />
<fileset dir="core/src/test/data" includes="**/*.crl" />
<fileset dir="core/src/test/data" includes="**/*.der" />
<fileset dir="core/src/test/data" includes="**/*.csr" />
<fileset dir="core/src/test/data" includes="**/*.cer" />
<fileset dir="core/src/test/data" includes="**/*.cvcert" />
</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"/>
</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="ant/bc+-build.xml" dir="." target="build-util" />
<ant antfile="ant/bc+-build.xml" dir="." target="build-tls" />
<ant antfile="ant/bc+-build.xml" dir="." />
<ant antfile="ant/bc+-build.xml" dir="." target="build-jmail" />
<ant antfile="ant/bc+-build.xml" dir="." target="javadoc-lw" />
<ant antfile="ant/bc+-build.xml" dir="." target="javadoc-libraries" />
<ant antfile="ant/bc+-build.xml" dir="." target="javadoc-tls" />
</target>
<target name="build-lw" depends="init">
<ant antfile="ant/bc+-build.xml" dir="." target="build-lw" />
<ant antfile="ant/bc+-build.xml" dir="." target="javadoc-lw" />
</target>
<target name="build-provider" depends="init, checkstyle-on, checkstyle-off">
<ant antfile="ant/bc+-build.xml" dir="." target="build-provider" />
<ant antfile="ant/bc+-build.xml" dir="." target="javadoc-provider" />
</target>
<target name="build-test" depends="init">
<ant antfile="ant/bc+-build.xml" dir="." target="build-test" />
</target>
<target name="test" depends="build-test">
<ant antfile="ant/bc+-build.xml" dir="." target="test" />
</target>
<target name="test-lw" depends="build-test">
<ant antfile="ant/bc+-build.xml" dir="." target="test-lw" />
</target>
<target name="zip-src">
<ant antfile="ant/bc+-build.xml" dir="." target="zip-src" />
</target>
</project>