You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@abdera.apache.org by jm...@apache.org on 2006/10/24 19:29:18 UTC

svn commit: r467395 - in /incubator/abdera/java/trunk: build/build.xml dependencies/deps.properties

Author: jmsnell
Date: Tue Oct 24 10:29:18 2006
New Revision: 467395

URL: http://svn.apache.org/viewvc?view=rev&rev=467395
Log:
Download the bouncy castle provider during the download as suggested by Ugo Cei.  I didn't use Ugo's
patch because I did not want to introduce a Maven dependency in the Ant build, at least not right now.

Modified:
    incubator/abdera/java/trunk/build/build.xml
    incubator/abdera/java/trunk/dependencies/deps.properties

Modified: incubator/abdera/java/trunk/build/build.xml
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/build/build.xml?view=diff&rev=467395&r1=467394&r2=467395
==============================================================================
--- incubator/abdera/java/trunk/build/build.xml (original)
+++ incubator/abdera/java/trunk/build/build.xml Tue Oct 24 10:29:18 2006
@@ -448,9 +448,14 @@
   </target>
 
   <target name="downloadsecurity" if="do.download.security">
+    <parallel>
     <get src="${xmlsecurity.dir}/${xmlsecurity.jar}"
          dest="${dependencies}/${xmlsecurity.jar}"
          usetimestamp="true" />
+    <get src="#{bouncycastle.dir}/${bouncycastle.jar}"
+         dest="${dependencies}/${bouncycastle.jar}"
+         usetimestamp="true" />
+    </parallel>
   </target>
   <target name="download" if="do.download">
     <echo>Downloading project dependencies.  This may take a moment</echo>
@@ -558,6 +563,9 @@
     <java classpathref="jar.retro" classname="com.rc.retroweaver.Weaver" fork="yes">
       <arg line="-jar &quot;${security.jar}&quot; &quot;${retro_security.jar}&quot;" />
     </java>
+    <get src="#{bouncycastle.dir}/${bouncycastle.jar.retro}"
+         dest="${dependencies}/${bouncycastle.jar.retro}"
+         usetimestamp="true" ignoreerrors="true"/>
   </target>
   
   <target name="go_retro" if="do.download.retroweaver">

Modified: incubator/abdera/java/trunk/dependencies/deps.properties
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/dependencies/deps.properties?view=diff&rev=467395&r1=467394&r2=467395
==============================================================================
--- incubator/abdera/java/trunk/dependencies/deps.properties (original)
+++ incubator/abdera/java/trunk/dependencies/deps.properties Tue Oct 24 10:29:18 2006
@@ -68,6 +68,10 @@
 xmlsecurity.dir=http://www.apache.org/dist/java-repository/xml-security/jars
 xmlsecurity.jar=xmlsec-1.3.0.jar
 
+bouncycastle.dir=http://www.bouncycastle.org/download
+bouncycastle.jar=bcprov-jdk15-134.jar
+bouncycastle.jar.retro=bcprov-jdk14-134.jar 
+
 jetty.dir=http://www.ibiblio.org/maven2/jetty/jetty/6.0.0rc0
 jetty.jar=jetty-6.0.0rc0.jar