Remove unused question
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sun, 20 Jan 2008 09:10:56 +0000 (09:10 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sun, 20 Jan 2008 09:10:56 +0000 (09:10 +0000)
Regexp fix-up

git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2584 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

build.xml

index 56bb1a7..1337b68 100755 (executable)
--- a/build.xml
+++ b/build.xml
                 <input message="What is the hostname of the Shibboleth Identity Provider server?"
                        addproperty="idp.hostname" />
 
-                <input message="Would you like to be asked these questions again, in th future, or always install using the answers you just provided? [yes/no]"
-                       addproperty="silent.install" />
-
                 <var name="idp.entity.id" value="https://${idp.hostname}/shibboleth" />
 
                 <regexSplit input="${idp.hostname}" regex="^.*\.(.*\..*$)" addproperty="idp.scope" />
 
                 <stringFromFile input="${idp.home}/credentials/idp.crt" addProperty="idp.cert" />
                 <regexSplit input="${idp.cert}"
-                            regex="\A.*-----\s((?:.*\s)*).*-----\Z"
+                            regex="\A.*-----\s((?:.*\s)*)-----END.*\Z"
                             addproperty="idp.metadata.cert" />
                 <copy todir="${idp.home}/metadata" preservelastmodified="true" overwrite="${idp.overwrite-config}">
                     <fileset dir="${metadata.dir}" />
                 <filter token="IDP_VERSION" value="${version}" />
             </filterset>
         </copy>
+
         <jar destfile="${idp.home}/war/${war.name}" whenempty="fail">
             <zipfileset dir="${webinf-temp.dir}" prefix="WEB-INF/" />
             <zipfileset dir="${webpages.dir}" prefix="" />