forked from Keyfactor/ejbca-ce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
removed.xml
56 lines (48 loc) · 3.88 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
<?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" />
<!--==============================================================================-->
<!-- Removed ant targets should be put in here with informative failure messages. -->
<!--==============================================================================-->
</project>