show default for hostname
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sun, 20 Jan 2008 09:19:40 +0000 (09:19 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sun, 20 Jan 2008 09:19:40 +0000 (09:19 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2586 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

build.xml
install.properties

index 62551ca..afd2a0a 100755 (executable)
--- a/build.xml
+++ b/build.xml
                        defaultvalue="${idp.home}" />
                 <var name="idp.home" value="${idp.home.input}" />
 
-                <input message="What is the hostname of the Shibboleth Identity Provider server?"
-                       addproperty="idp.hostname.inout" />
+                <input message="What is the hostname of the Shibboleth Identity Provider server? [default: ${idp.hostname}]"
+                       addproperty="idp.hostname.inout"
+                    defaultvalue="${idp.hostname}"/>
                 <var name="idp.hostname" value="${idp.hostname.input}" />
 
                 <propertyfile file="build.properties">
index d41c482..a7c03d8 100644 (file)
@@ -1,3 +1,4 @@
+idp.hostname=idp.example.org
 idp.home = /opt/shibboleth-idp-${version}
 war.name=idp.war
 idp.overwrite-config = false
\ No newline at end of file