Making build-war non-interactive

Rod Widdowson rdw at steadingsoftware.com
Thu Jan 21 11:19:51 UTC 2021


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

This snippet is from the V3 ant script.  

This should have been update on upgrade, but wasn't [2].   All the properties you need are documented at the top of that file.  For
what its worth the property you want is also documented [1] , but it took me 30 minutes to get hold of the link (and I wrote the
code) so I'll take an action to fix that [3].

Thanks for bringing this bug to my attention,

Rod

[1]
https://build.shibboleth.net/nexus/service/local/repositories/site/content/java-identity-provider/4.0.1/apidocs/constant-values.html
#net.shibboleth.idp.installer.InstallerPropertiesImpl.TARGET_DIR
[2] https://issues.shibboleth.net/jira/browse/IDP-1738 
[3] https://issues.shibboleth.net/jira/browse/IDP-1739



More information about the users mailing list