Don't ever overwrite IdP configuration files.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 11 Jul 2005 15:34:15 +0000 (15:34 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 11 Jul 2005 15:34:15 +0000 (15:34 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1712 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

build.xml

index 491e8b7..1357d1b 100755 (executable)
--- a/build.xml
+++ b/build.xml
 
        <!-- Prompt user for filesystem installation options and save them to build.properties -->
        <target name="install.idp.filesystem.prompt" depends="init, install.init">
-               <input message="Select an installation base for the Shibboleth Identity Provider [default: ${idp.home}]"
+               <input message="Select a home directory for the Shibboleth Identity Provider [default: ${idp.home}]"
                        addproperty="idp.home.input" defaultvalue="${idp.home}" />
                <var name="idp.home" value="${idp.home.input}" />
                <input message="Enter tomcat home directory [default: ${tomcat.home}]"
                <if>
                        <available file="${idp.home}/etc" />
                        <then>
-                               <xinput type="confirm" addproperty="copy-idp-conf1">The directory `${idp.home}${file.separator}etc` already exists.  Do you want to overwrite the existing configuration?</xinput>
-                               <if>
-                                       <equals arg1="${copy-idp-conf1}" arg2="y" />
-                                       <then>
-                                               <xinput type="confirm" addproperty="copy-idp-conf">WARNING!!! You are about to delete your Shibboleth IdP configuration.  Are you certain you certain this is what you want?</xinput>
-                                       </then>
-                               </if>
+                               <echo>-----------------------------------------------------------------------------------------------------------</echo>
+                               <echo>---</echo>
+                               <echo>---   NOTE:  Existing Identiity Provider configuration at ${idp.home}/etc will not be overwritten.</echo>
+                               <echo>---</echo>
+                               <echo>-----------------------------------------------------------------------------------------------------------</echo>
+                               <property name="copy-idp-conf" value="n" />
                        </then>
                        <else>
                                <property name="copy-idp-conf" value="y" />