Skip to content

Commit

Permalink
adjust for no AHACompressionAPI.jar
Browse files Browse the repository at this point in the history
  • Loading branch information
carltimmer committed Jan 7, 2025
1 parent dedff17 commit 25cdd97
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@

<property name="lz4JarName" value="lz4-java.1.8.0.jar" />
<property name="lz4JarPath" value="${local.jars}/${lz4JarName}" />

<property name="compJarName" value="AHACompressionAPI.jar" />
<property name="compJarPath" value="${local.jars}/${compJarName}" />


<property name="disruptorJarName8" value="disruptor-3.4.3.jar" />
<property name="disruptorJarName15" value="disruptor-4.0.0.jar" />
<property name="disruptorJarPath8" value="${local.jars}/${disruptorJarName8}" />
Expand Down Expand Up @@ -231,15 +228,13 @@
<target name="installInPrefix" if="prefixDefined">
<echo>Install ${jarName} into ${prefix}</echo>
<echo>Install ${lz4JarName} into ${prefix}</echo>
<echo>Install ${compJarName} into ${prefix}</echo>
<echo>Install ${disruptorJarName8} into ${prefix}</echo>
<echo>Install ${disruptorJarName15} into ${prefix}</echo>
<delete>
<fileset dir="${prefix}/jar" includes="${allJarNames}" />
</delete>
<copy file="${jarPath}" todir="${prefix}/jar"/>
<copy file="${lz4JarPath}" todir="${prefix}/jar"/>
<copy file="${compJarPath}" todir="${prefix}/jar"/>
<copy file="${disruptorJarPath8}" todir="${prefix}/jar" failonerror="false" />
<copy file="${disruptorJarPath15}" todir="${prefix}/jar" failonerror="false" />
</target>
Expand All @@ -248,15 +243,13 @@
<target name="installInCODA" unless="prefixDefined" if="codaDefined">
<echo>Install ${jarName} into ${env.CODA}/common/jar</echo>
<echo>Install ${lz4JarName} into ${env.CODA}/common/jar</echo>
<echo>Install ${compJarName} into ${env.CODA}/common/jar</echo>
<echo>Install ${disruptorJarName8} into ${env.CODA}/common/jar</echo>
<echo>Install ${disruptorJarName15} into ${env.CODA}/common/jar</echo>
<delete>
<fileset dir="${env.CODA}/common/jar" includes="${allJarNames}" />
</delete>
<copy file="${jarPath}" todir="${env.CODA}/common/jar"/>
<copy file="${lz4JarPath}" todir="${env.CODA}/common/jar"/>
<copy file="${compJarPath}" todir="${env.CODA}/common/jar"/>
<copy file="${disruptorJarPath8}" todir="${env.CODA}/common/jar" failonerror="false" />
<copy file="${disruptorJarPath15}" todir="${env.CODA}/common/jar" failonerror="false" />
</target>
Expand All @@ -279,12 +272,10 @@
<target name="uninstallFromPrefix" if="prefixDefined">
<echo>Remove ${jarName} from ${prefix}</echo>
<echo>Remove ${lz4JarName} from ${prefix}</echo>
<echo>Remove ${compJarName} from ${prefix}</echo>
<echo>Remove ${disruptorJarName8} from ${prefix}</echo>
<echo>Remove ${disruptorJarName15} from ${prefix}</echo>
<delete file="${prefix}/jar/${jarName}"/>
<delete file="${prefix}/jar/${lz4JarName}"/>
<delete file="${prefix}/jar/${compJarName}"/>
<delete file="${prefix}/jar/${disruptorJarName8}" failonerror="false" />
<delete file="${prefix}/jar/${disruptorJarName15}" failonerror="false" />
</target>
Expand All @@ -293,12 +284,10 @@
<target name="uninstallFromCODA" unless="prefixDefined" if="codaDefined">
<echo>Remove ${jarName} from ${env.CODA}/common/jar</echo>
<echo>Remove ${lz4JarName} from ${env.CODA}/common/jar</echo>
<echo>Remove ${compJarName} from ${env.CODA}/common/jar</echo>
<echo>Remove ${disruptorJarName8} from ${env.CODA}/common/jar</echo>
<echo>Remove ${disruptorJarName15} from ${env.CODA}/common/jar</echo>
<delete file="${env.CODA}/common/jar/${jarName}"/>
<delete file="${env.CODA}/common/jar/${lz4JarName}"/>
<delete file="${env.CODA}/common/jar/${compJarName}"/>
<delete file="${env.CODA}/common/jar/${disruptorJarName8}" failonerror="false" />
<delete file="${env.CODA}/common/jar/${disruptorJarName15}" failonerror="false" />
</target>
Expand Down

0 comments on commit 25cdd97

Please sign in to comment.