You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by mu...@apache.org on 2006/01/18 20:41:13 UTC
svn commit: r370231 - /xml/security/branches/jsr105_0_16/build.xml
Author: mullan
Date: Wed Jan 18 11:41:01 2006
New Revision: 370231
URL: http://svn.apache.org/viewcvs?rev=370231&view=rev
Log:
Add jsr105-samples target.
Modified:
xml/security/branches/jsr105_0_16/build.xml
Modified: xml/security/branches/jsr105_0_16/build.xml
URL: http://svn.apache.org/viewcvs/xml/security/branches/jsr105_0_16/build.xml?rev=370231&r1=370230&r2=370231&view=diff
==============================================================================
--- xml/security/branches/jsr105_0_16/build.xml (original)
+++ xml/security/branches/jsr105_0_16/build.xml Wed Jan 18 11:41:01 2006
@@ -582,6 +582,34 @@
</java>
</target>
+ <!-- JSR 105 Samples -->
+ <target name="jsr105-samples"
+ depends="build.samples">
+ <echo message="Generating a detached signature"/>
+ <java classname="javax.xml.crypto.dsig.samples.GenDetached"
+ fork="yes">
+ <classpath refid="id.classpath.samples"/>
+ <sysproperty key="proxyHost" value="${proxy.host}"/>
+ <sysproperty key="proxyPort" value="${proxy.port}"/>
+ </java>
+ <echo message="Generating an enveloped signature"/>
+ <java classname="javax.xml.crypto.dsig.samples.GenEnveloped"
+ fork="yes">
+ <arg value="${dir.src.samples}/javax/xml/crypto/dsig/samples/envelope.xml"/>
+ <classpath refid="id.classpath.samples"/>
+ </java>
+ <echo message="Generating an enveloping signature"/>
+ <java classname="javax.xml.crypto.dsig.samples.GenEnveloping"
+ fork="yes">
+ <classpath refid="id.classpath.samples"/>
+ </java>
+ <echo message="Validating a signature"/>
+ <java classname="javax.xml.crypto.dsig.samples.Validate"
+ fork="yes">
+ <arg value="${dir.src.samples}/javax/xml/crypto/dsig/samples/envelopedSignature.xml"/>
+ <classpath refid="id.classpath.samples"/>
+ </java>
+ </target>
<!-- D I S T R I B U T I O N T A R G E T S -->
<!-- distribution targets -->