Author: markt
Date: Mon Jan 16 11:43:29 2012
New Revision: 1231947
URL: http://svn.apache.org/viewvc?rev=1231947&view=rev
Log:
Make generation of OpenPGP signatures dependent on definition of valid
GPG binary.
Modified:
tomcat/trunk/build.xml
Modified: tomcat/trunk/build.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1231947&r1=1231946&r2=1231947&view=diff
==============================================================================
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Mon Jan 16 11:43:29 2012
@@ -1766,6 +1766,11 @@ Apache Tomcat ${version} native binaries
<!-- Sets properties only required for releases -->
<target name="release-init">
+ <available file="${gpg.exec}" property="gpg.exec.available"/>
+ <antcall target="gpg-init" />
+ </target>
+
+ <target name="gpg-init" if="${gpg.exec.available}">
<input message="Enter GPG pass-phrase" addproperty="gpg.passphrase" >
<handler type="secure"/>
</input>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]