abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r475858 - /incubator/abdera/java/trunk/build/build.xml
Date Thu, 16 Nov 2006 18:46:19 GMT
Author: jmsnell
Date: Thu Nov 16 10:46:18 2006
New Revision: 475858

URL: http://svn.apache.org/viewvc?view=rev&rev=475858
Log:
Exclude security examples if abdera_xmlsecurity is not set
Generate the md5 checksums during the build
(trunk)

Modified:
    incubator/abdera/java/trunk/build/build.xml

Modified: incubator/abdera/java/trunk/build/build.xml
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/build/build.xml?view=diff&rev=475858&r1=475857&r2=475858
==============================================================================
--- incubator/abdera/java/trunk/build/build.xml (original)
+++ incubator/abdera/java/trunk/build/build.xml Thu Nov 16 10:46:18 2006
@@ -347,7 +347,9 @@
            destdir="${examples.work}"
            classpathref="jar.dependencies"
            classpath="${core.work};${parser.work};${protocol.work};${client.work};${server.work};${extensions.work};${security.work}"
-           debug="${debug}" />
+           debug="${debug}">
+      <exclude unless="do.security" name="**/security/*.java" />
+    </javac>
     <delete dir="${examples.work}" />
   </target>
   
@@ -451,11 +453,13 @@
         <exclude name="**/legal/retroweaver-LICENSE.txt" />
         <exclude name="**/json/*" />
         <exclude name="**/*.retro.jar" />
-        <exclude name="**/bcprov*.jar" />
-        <exclude name="**/geronimo-servlet*.jar" />
-        <exclude name="**/jetty*.jar" />
-        <exclude name="**/junit*.jar" />
+        <exclude name="**/${bouncycastle.jar}" />
+        <exclude name="**/${geronimo.servlet.jar}" />
+        <exclude name="**/${jetty-util.jar}" />
+        <exclude name="**/${jetty.jar}" />
+        <exclude name="**/${junit.jar}" />
         <exclude name="**/retroweaver-rt-1.2.3.jar" />
+        <exclude name="**/${xmlsecurity.jar}" unless="do.security" />
       </fileset>
       <fileset dir="${docs}" includes="**/*" />
       <fileset dir="${basedir}">
@@ -469,6 +473,7 @@
     </copy>
     <zip destfile="${basedir}/${ant.project.name}.${version}.zip" 
          basedir="${work}/dist/" />
+    <checksum file="${basedir}/${ant.project.name}.${version}.zip" fileext=".md5" />
     <delete dir="${work}/dist/${ant.project.name}.${version}" />
     <mkdir dir="${work}/dist/${ant.project.name}.${version}.jdk142"/>
     <mkdir dir="${work}/dist/${ant.project.name}.${version}.jdk142/examples"/>
@@ -478,10 +483,12 @@
         <include name="**/legal/*" />
         <exclude name="**/json/*" />
         <exclude name="**/*.${version}.jar" />
-        <exclude name="**/bcprov*.jar" />
-        <exclude name="**/geronimo-servlet*.jar" />
-        <exclude name="**/jetty*.jar" />
-        <exclude name="**/junit*.jar" />
+        <exclude name="**/${bouncycastle.jar}" />
+        <exclude name="**/${geronimo.servlet.jar}" />
+        <exclude name="**/${jetty-util.jar}" />
+        <exclude name="**/${jetty.jar}}" />
+        <exclude name="**/${junit.jar}" />
+        <exclude name="**/${xmlsecurity.jar}" unless="do.security" />
       </fileset>
       <fileset dir="${docs}" includes="**/*" />
       <fileset dir="${basedir}">
@@ -495,6 +502,7 @@
     </copy>
     <zip destfile="${basedir}/${ant.project.name}.${version}.jdk142.zip" 
          basedir="${work}/dist/" />
+    <checksum file="${basedir}/${ant.project.name}.${version}.jdk142.zip" fileext=".md5"
/>
     <delete dir="${work}/dist/${ant.project.name}.${version}.jdk142" />
     <mkdir dir="${work}/dist/${ant.project.name}.${version}.src"/>
     <copy todir="${work}/dist/${ant.project.name}.${version}.src">
@@ -512,6 +520,7 @@
     </copy>
     <zip destfile="${basedir}/${ant.project.name}.${version}.src.zip"
          basedir="${work}/dist/" />
+    <checksum file="${basedir}/${ant.project.name}.${version}.src.zip" fileext=".md5"
/>
     <delete dir="${work}" />
   </target>
 



Mime
View raw message