Add Sigar to classes included in clientutil.java

This is required as Sigar is now a dependency of UUIDGen.

Patch by Sylvain Lebresne; reviewed by Tyler Hobbs for CASSANDRA-11635
This commit is contained in:
Sylvain Lebresne 2016-08-11 13:41:22 -05:00 committed by Tyler Hobbs
parent 2e90259669
commit 5b38d3a81e
2 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,5 @@
2.2.8
* Add Sigar to classes included in clientutil.jar (CASSANDRA-11635)
* Add decay to histograms and timers used for metrics (CASSANDRA-11752)
* Fix hanging stream session (CASSANDRA-10992)
* Add byteman support for testing (CASSANDRA-12377)

View File

@ -917,6 +917,7 @@
<include name="org/apache/cassandra/exceptions/*.class" />
<include name="org/apache/cassandra/utils/CloseableIterator.class" />
<include name="org/apache/cassandra/io/util/*.class" />
<include name="org/apache/cassandra/utils/SigarLibrary.class" />
</fileset>
<manifest>
<attribute name="Implementation-Title" value="Cassandra"/>
@ -1255,6 +1256,8 @@
-->
<target name="test-clientutil-jar" depends="build-test,jar" description="Test clientutil jar">
<junit fork="on" forkmode="perTest" failureproperty="testfailed" maxmemory="1024m" timeout="${test.timeout}">
<!-- Note that the test pass without that next line, but it prints an ugly error message -->
<jvmarg value="-Djava.library.path=${build.lib}/sigar-bin"/>
<test name="org.apache.cassandra.serializers.ClientUtilsTest" />
<formatter type="brief" usefile="false" />
<classpath>
@ -1268,6 +1271,7 @@
<pathelement location="${build.lib}/logback-classic-1.1.3.jar" />
<pathelement location="${build.lib}/jackson-core-asl-1.9.2.jar" />
<pathelement location="${build.lib}/jackson-mapper-asl-1.9.2.jar" />
<pathelement location="${build.lib}/sigar-1.6.4.jar" />
<fileset dir="${build.dir.lib}">
<include name="**/junit*.jar" />
</fileset>