You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2010/11/14 18:37:51 UTC

svn commit: r1035028 - /qpid/trunk/qpid/java/client/build.xml

Author: robbie
Date: Sun Nov 14 17:37:50 2010
New Revision: 1035028

URL: http://svn.apache.org/viewvc?rev=1035028&view=rev
Log:
QPID-2943: add the example src+jar to the client release archive

Modified:
    qpid/trunk/qpid/java/client/build.xml

Modified: qpid/trunk/qpid/java/client/build.xml
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/client/build.xml?rev=1035028&r1=1035027&r2=1035028&view=diff
==============================================================================
--- qpid/trunk/qpid/java/client/build.xml (original)
+++ qpid/trunk/qpid/java/client/build.xml Sun Nov 14 17:37:50 2010
@@ -27,6 +27,9 @@
 
   <import file="../module.xml"/>
 
+  <property name="example.src.dir" value="${project.root}/client/example/src/main/java" />
+  <property name="example.jar.file" value="${build.lib}/qpid-client-example-${project.version}.jar" />
+
   <property name="output.dir" value="${module.precompiled}/org/apache/qpid/filter/selector"/>
 
   <target name="precompile">
@@ -46,6 +49,17 @@
                classpathref="module.class.path" packagenames="org.apache.qpid.jms"/>
   </target>
 
+  <target name="release-bin-copy-examples">
+      <copy todir="${module.release}/example/src" failonerror="true">
+          <fileset dir="${example.src.dir}" excludes="runSample.sh README.txt" />
+      </copy>
+     <copy todir="${module.release}/example/lib" failonerror="true">
+          <fileset file="${example.jar.file}"/>
+      </copy>
+  </target>
+
+  <target name="release-bin-other" depends="release-bin-copy-examples"/>
+
   <target name="release-bin" depends="release-bin-tasks"/>    
 
   <target name="bundle" depends="bundle-tasks"/>



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org