[jboss-cvs] JBoss Messaging SVN: r7089 - in trunk: src/config and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu May 28 05:06:31 EDT 2009


Author: jmesnil
Date: 2009-05-28 05:06:31 -0400 (Thu, 28 May 2009)
New Revision: 7089

Added:
   trunk/src/config/javaee-examples-ant.properties
Modified:
   trunk/build-messaging.xml
Log:
Make Java EE examples runnable from the distro

* added a ant.properties file to javaee/common in the distro
  so that the javaee examples have the correct classpath


Modified: trunk/build-messaging.xml
===================================================================
--- trunk/build-messaging.xml	2009-05-28 08:56:20 UTC (rev 7088)
+++ trunk/build-messaging.xml	2009-05-28 09:06:31 UTC (rev 7089)
@@ -848,12 +848,15 @@
       </copy>
 
       <copy todir="${build.distro.config.dir}">
-         <fileset dir="${src.config.dir}"/>
+         <fileset dir="${src.config.dir}">
+            <exclude name="*examples-ant.properties"/>
+         </fileset>
       </copy>
       
       <!-- examples-ant.properties allow the examples to be run from the source or from the distribution -->
       <!-- by configuring the correct lib/config location                                                -->
       <copy tofile="${build.distro.examples.dir}/common/config/ant.properties" file="src/config/examples-ant.properties" overwrite="true" />
+      <copy tofile="${build.distro.examples.dir}/javaee/common/config/ant.properties" file="src/config/javaee-examples-ant.properties" overwrite="true" />
 
       <zip basedir="${build.dir}"
            destfile="${build.dir}/${build.artifact}.zip">

Added: trunk/src/config/javaee-examples-ant.properties
===================================================================
--- trunk/src/config/javaee-examples-ant.properties	                        (rev 0)
+++ trunk/src/config/javaee-examples-ant.properties	2009-05-28 09:06:31 UTC (rev 7089)
@@ -0,0 +1,5 @@
+jbm.example.logserveroutput=true
+jbm.jars.dir=${imported.basedir}/../../../lib
+jars.dir=${imported.basedir}/../../../lib
+client.jars.dir=${imported.basedir}/../../../client
+aio.library.path=${imported.basedir}/../../native/bin




More information about the jboss-cvs-commits mailing list