-
Notifications
You must be signed in to change notification settings - Fork 1
/
removed.xml
68 lines (58 loc) · 4.54 KB
/
removed.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
<?xml version="1.0" encoding="UTF-8"?>
<project name="removed" basedir=".">
<description>
This build file checks for the removed properties, ant targets etc. Checks
made inside of this build script should fail hard (i.e. error-out as soon as
possible) so the user is forced to update his/her property files etc.
Once the item has been deprecated in one release, in the next release it
should be moved here from the deprecated list.
</description>
<!--========================================================================================-->
<!-- The property checks and failures should be added here directly (not inside of target). -->
<!--========================================================================================-->
<condition property="using-ocsphealthcheck-property">
<or>
<isset property="ocsphealthcheck.amountfreemem"/>
<isset property="ocsphealthcheck.authorizedips"/>
<isset property="ocsphealthcheck.dbquery"/>
<isset property="ocsphealthcheck.maintenancefile"/>
<isset property="ocsphealthcheck.maintenancepropertyname"/>
</or>
</condition>
<fail message="The ocsphealthcheck.* properties have been renamed to healthcheck.*. Please update your configuration!" if="using-ocsphealthcheck-property" />
<fail message="The property "log.maxqueryrowcount" has been removed. It can safely be removed from your configuration." if="log.maxqueryrowcount" />
<fail message="The property "logconfiguration.cachetime" has been removed. It can safely be removed from your configuration." if="logconfiguration.cachetime" />
<fail message="The property "web.promptForPassword" has been removed. It can safely be removed from your configuration." if="web.promptForPassword" />
<!-- check for properties that have been moved from ejbca.properties to cesecore.properties -->
<loadproperties>
<first>
<union>
<fileset dir="conf" includes="ejbca.properties" />
<string value="" />
</union>
</first>
<filterchain>
<prefixlines prefix="ejbca-properties-file." />
</filterchain>
</loadproperties>
<fail message="The property "ca.keystorepass" has been moved from "ejbca.properties" to "cesecore.properties"." if="ejbca-properties-file.ca.keystorepass" />
<fail message="The property "ca.serialnumberoctetsize" has been moved from "ejbca.properties" to "cesecore.properties"." if="ejbca-properties-file.ca.serialnumberoctetsize" />
<fail message="The property "ca.rngalgorithm" has been moved from "ejbca.properties" to "cesecore.properties"." if="ejbca-properties-file.ca.rngalgorithm" />
<fail message="The property "ca.toolateexpiredate" has been moved from "ejbca.properties" to "cesecore.properties"." if="ejbca-properties-file.ca.toolateexpiredate" />
<fail message="The property "ca.doPermitExtractablePrivateKeys" has been moved from "ejbca.properties" to "cesecore.properties"." if="ejbca-properties-file.ca.doPermitExtractablePrivateKeys" />
<fail message="The property "intresources.preferredlanguage" has been moved from "ejbca.properties" to "cesecore.properties"." if="ejbca-properties-file.intresources.preferredlanguage" />
<fail message="The property "intresources.secondarylanguage" has been moved from "ejbca.properties" to "cesecore.properties"." if="ejbca-properties-file.intresources.secondarylanguage" />
<condition property="using-moved-ecdsaimplicitlyca-properties">
<or>
<isset property="ejbca-properties-file.ecdsa.implicitlyca.q" />
<isset property="ejbca-properties-file.ecdsa.implicitlyca.a" />
<isset property="ejbca-properties-file.ecdsa.implicitlyca.b" />
<isset property="ejbca-properties-file.ecdsa.implicitlyca.g" />
<isset property="ejbca-properties-file.ecdsa.implicitlyca.n" />
</or>
</condition>
<fail message="The properties "ecdsa.implicitlyca.*" have been moved from "ejbca.properties" to "cesecore.properties"." if="using-moved-ecdsaimplicitlyca-properties" />
<!--==============================================================================-->
<!-- Removed ant targets should be put in here with informative failure messages. -->
<!--==============================================================================-->
</project>