<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:’Calibri’;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Of course I find an answer immediately after posting.  I executed the following, for those that may find this in the future:<br>
<br>
"C:\Program Files (x86)\Shibboleth\IdP\bin\build.bat" -Didp.target.dir="C:\Program Files (x86)\Shibboleth\IdP"<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This seems most appropriate, but I’m sure others can correct me.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Steven Teixeira<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> users <users-bounces@shibboleth.net> <b>On Behalf Of
</b>Steven Teixeira<br>
<b>Sent:</b> Wednesday, January 20, 2021 3:10 PM<br>
<b>To:</b> Shib Users <users@shibboleth.net><br>
<b>Subject:</b> Making build-war non-interactive<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:solid #9C6500 4.5pt;padding:2.0pt 2.0pt 2.0pt 2.0pt">
<p class="MsoNormal" style="line-height:16.0pt;background:#FFEB9C"><u><span style="font-size:14.0pt;font-family:"’Calibri’",serif;color:#900528">CAUTION:
</span></u><span style="font-size:14.0pt;font-family:"’Calibri’",serif;color:black">This message originated from outside of CSU Stanislaus. Do not click on links or open attachments unless you recognize the sender and are expecting the message.<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">When executing build.bat in the bin directory, we are asked to input/confirm the installation directory as mentioned in
<a href="https://wiki.shibboleth.net/confluence/display/IDP4/Configuration">https://wiki.shibboleth.net/confluence/display/IDP4/Configuration</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However, our install/change process is automated and this is a stopping point for us in that process.  This was something we could work around in IdPv3 by commenting out the prompt for input and setting the property in build.xml like so:<br>
<br>
    <target name="prompttarget" if="idp.ask.target"><o:p></o:p></p>
<p class="MsoNormal">        <TGT>prompttarget</TGT><o:p></o:p></p>
<p class="MsoNormal">        <fail if="idp.noprompt">Input needed, silence demanded</fail><o:p></o:p></p>
<p class="MsoNormal">        <!--<input message="Installation Directory:" addproperty="idp.target.dir" defaultvalue="${idp.target.default}" />--><o:p></o:p></p>
<p class="MsoNormal">        <property name="idp.target.dir" value="${idp.target.default}" /><o:p></o:p></p>
<p class="MsoNormal">    </target><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However, in IdPv4, build.xml is much, much simpler and I imagine what used to be in build.xml is just abstracted away and moved somewhere else, but I’m not certain.  I haven’t been able to find it.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have attempted to put a couple of things into build.xml to set the property, but I don’t know if the name(s) have changed between v3 and v4.  I’m also guessing that without explicitly preventing the prompt for input/confirmation, that
 likely doesn’t matter anyway.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have also looked at <a href="https://wiki.shibboleth.net/confluence/display/IDP4/Programming+the+V4+Installer">
https://wiki.shibboleth.net/confluence/display/IDP4/Programming+the+V4+Installer</a> but I am not certain if this is relevant or would be helpful in some way that just isn’t clear to me yet.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is it possible to accept the default installation directory non-interactively in IdPv4 somehow?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Steven Teixeira<o:p></o:p></p>
</div>
</div>
</body>
</html>