Making build-war non-interactive

Steven Teixeira steixeira at
Wed Jan 20 23:19:16 UTC 2021

Of course I find an answer immediately after posting.  I executed the following, for those that may find this in the future:

"C:\Program Files (x86)\Shibboleth\IdP\bin\build.bat""C:\Program Files (x86)\Shibboleth\IdP"

This seems most appropriate, but I’m sure others can correct me.

Steven Teixeira

From: users <users-bounces at> On Behalf Of Steven Teixeira
Sent: Wednesday, January 20, 2021 3:10 PM
To: Shib Users <users at>
Subject: Making build-war non-interactive

CAUTION: 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.

When executing build.bat in the bin directory, we are asked to input/confirm the installation directory as mentioned in

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:

    <target name="prompttarget" if="">
        <fail if="idp.noprompt">Input needed, silence demanded</fail>
        <!--<input message="Installation Directory:" addproperty="" defaultvalue="${}" />-->
        <property name="" value="${}" />

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.

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.

I have also looked at but I am not certain if this is relevant or would be helpful in some way that just isn’t clear to me yet.

Is it possible to accept the default installation directory non-interactively in IdPv4 somehow?

Steven Teixeira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list