You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by db...@apache.org on 2014/05/16 05:08:40 UTC

git commit: add the sample properties file to the example trigger jar so it can be loaded

Repository: cassandra
Updated Branches:
  refs/heads/trunk 401ed436a -> a1f9b7c71


add the sample properties file to the example trigger jar so it can be loaded


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/a1f9b7c7
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/a1f9b7c7
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/a1f9b7c7

Branch: refs/heads/trunk
Commit: a1f9b7c71e6ba549e61a1d5f5214796f355347a9
Parents: 401ed43
Author: Dave Brosius <db...@mebigfatguy.com>
Authored: Thu May 15 23:07:35 2014 -0400
Committer: Dave Brosius <db...@mebigfatguy.com>
Committed: Thu May 15 23:07:35 2014 -0400

----------------------------------------------------------------------
 examples/triggers/build.xml | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/a1f9b7c7/examples/triggers/build.xml
----------------------------------------------------------------------
diff --git a/examples/triggers/build.xml b/examples/triggers/build.xml
index 293b08d..450def6 100644
--- a/examples/triggers/build.xml
+++ b/examples/triggers/build.xml
@@ -24,6 +24,7 @@
 	<property name="cassandra.classes" value="${cassandra.dir}/build/classes/main" />
 	<property name="build.src" value="${basedir}/src" />
 	<property name="build.dir" value="${basedir}/build" />
+	<property name="conf.dir" value="${basedir}/conf" />
 	<property name="build.classes" value="${build.dir}/classes" />
 	<property name="final.name" value="trigger-example" />
 
@@ -50,6 +51,9 @@
 	<target name="jar" depends="build">
 		<jar jarfile="${build.dir}/${final.name}.jar">
 			<fileset dir="${build.classes}" />
+			<fileset dir="${conf.dir}">
+				<include name="**/*.properties" />
+			</fileset>
 		</jar>
 	</target>