Skip to content

Commit

Permalink
Merge pull request #1 from odaira/plugin-distribution
Browse files Browse the repository at this point in the history
Plugin distribution
  • Loading branch information
hhorii authored Jun 12, 2017
2 parents 267589a + 0d82ff7 commit a91c60c
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 1,322 deletions.
8 changes: 0 additions & 8 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,3 @@
path = cassandra
url = git://git.apache.org/cassandra.git
ignore = dirty
[submodule "capisim"]
path = capisim
url = https://github.com/bedrisendir/capisim
ignore = dirty
[submodule "YCSB"]
path = YCSB
url = https://github.com/brianfrankcooper/YCSB
ignore = dirty
1 change: 0 additions & 1 deletion YCSB
Submodule YCSB deleted from 8b0548
19 changes: 4 additions & 15 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,25 @@
<property name="cassandra.build.lib" value="${cassandra}/lib" />
<property name="cassandra.build.dir.lib" value="${cassandra}/build/lib" />

<property name="capi" value="capisim" />
<property name="capi.build.lib" value="${capi}/capiblock.jar" />
<property name="capiblock.lib" value="lib/capiblock.jar" />

<property name="capi.rowcache.jar" value="dist/capi.rowcache.jar" />
<property name="capi.rowcache.jar" value="dist/capi-rowcache.jar" />
<property name="capi.rowcache.build.dir" value="bin" />

<property name="debuglevel" value="source,lines,vars" />

<target depends="build-subprojects,build-project" name="build" />

<target name="clean">
<delete dir="capi.rowcache.build.dir/*" />
<delete file="${capi.build.lib}" />
<delete dir="${capi.rowcache.build.dir}" />
</target>

<target name="cleanall" depends="clean">
<exec dir="YCSB" executable="mvn">
<arg value="clean" />
</exec>
<ant dir="${cassandra}" target="clean" />
</target>

<target name="build-subprojects">
<ant dir="${cassandra}" target="build" />
<ant dir="${capi}" target="build" />
<exec dir="YCSB" executable="mvn">
<arg value="compile" />
</exec>
</target>

<path id="cassandra.classpath">
Expand All @@ -51,10 +42,8 @@
<mkdir dir="${capi.rowcache.build.dir}"/>
<javac debug="true" debuglevel="${debuglevel}" srcdir="src" destdir="${capi.rowcache.build.dir}">
<classpath refid="cassandra.classpath" />
<classpath>
<fileset dir="./" includes="${capi.build.lib}" />
</classpath>
<classpath path="${cassandra.bin}" />
<classpath path="${capiblock.lib}" />
</javac>
<jar destfile="${capi.rowcache.jar}" basedir="${capi.rowcache.build.dir}" />
</target>
Expand Down
1 change: 0 additions & 1 deletion capisim
Submodule capisim deleted from 3f4e31
2 changes: 1 addition & 1 deletion cassandra
Submodule cassandra updated from 6815dc to d8a3aa
1,051 changes: 0 additions & 1,051 deletions conf/cassandra.yaml

This file was deleted.

245 changes: 0 additions & 245 deletions conf/jvm.options

This file was deleted.

Binary file added lib/capiblock.jar
Binary file not shown.
Binary file removed lib/jna-4.2.2.jar
Binary file not shown.

0 comments on commit a91c60c

Please sign in to comment.