mirror of
https://github.com/Keyfactor/ejbca-ce.git
synced 2026-05-13 02:36:28 -04:00
54 lines
3.3 KiB
XML
54 lines
3.3 KiB
XML
<?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.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 "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>
|
|
|