711afed198
* fixed a bug in DeflaterOutputStream#write() with empty data. 9d4616f * fixed a bug in processing unwrapped data with InfalterInputStream. d35db2 * fixed bugs reported in https://github.com/ymnk/jzlib/pull/5 e4aa20 + comments and filename in GZIPHeader must be in ISO-8859-1 encoding + fixing a bug in GZIPHeader#setOS(int os) * some refactoring code. e912088 6900f5 614fdf * improving the performace of Adler32#update method. 6900f5 * constructors of Alder32 and CRC32 become public. 30c4cf * added ZStream#end() and ZStream#finished(). 6b55e3 * exposed useful constants for jruby. e17ad1 * updated pom.xml to delete "souceDirectory" No need to specify sourceDirectory if the project follows maven standard. * updated configurations to use sbt 0.11.1 - Don't build for java5 only OBS-URL: https://build.opensuse.org/package/show/Java:packages/jzlib?expand=0&rev=10
52 lines
1.6 KiB
XML
52 lines
1.6 KiB
XML
<project name="Jzlib" default="dist" basedir=".">
|
|
<description>
|
|
JZlib is a re-implementation of zlib in pure Java.
|
|
The first and final aim for hacking this stuff is
|
|
to add the packet compression support to pure Java SSH systems.
|
|
</description>
|
|
<!-- set global properties for this build -->
|
|
<property name="src" location="src/main/java"/>
|
|
<property name="build" location="build"/>
|
|
<property name="dist" location="dist"/>
|
|
<property name="javadoc" location="javadoc"/>
|
|
<property name="javac.debug" value="false"/>
|
|
<path id="project.cp">
|
|
<pathelement location="${build}"/>
|
|
</path>
|
|
<target name="init">
|
|
<!-- Create the build directory structure used by compile -->
|
|
<mkdir dir="${build}"/>
|
|
</target>
|
|
|
|
<target name="compile" depends="init"
|
|
description="compile the source " >
|
|
<!-- Compile the java code from ${src} into ${build} -->
|
|
<javac srcdir="${src}" destdir="${build}" debug="${javac.debug}">
|
|
</javac>
|
|
</target>
|
|
<target name="dist" depends="compile"
|
|
description="generate the distribution" >
|
|
<!-- Create the distribution directory -->
|
|
<mkdir dir="${dist}/lib"/>
|
|
|
|
<!-- Put everything in ${build} into the jar file -->
|
|
<jar jarfile="${dist}/lib/jzlib.jar" basedir="${build}"/>
|
|
</target>
|
|
|
|
<target name="clean"
|
|
description="clean up" >
|
|
<!-- Delete the ${build} and ${dist} directory trees -->
|
|
<delete dir="${build}"/>
|
|
<delete dir="${dist}"/>
|
|
<delete dir="${javadoc}"/>
|
|
</target>
|
|
|
|
<target name="javadoc">
|
|
<javadoc sourcepath="${src}"
|
|
destdir="${javadoc}"
|
|
>
|
|
<packageset dir="${src}"/>
|
|
</javadoc>
|
|
</target>
|
|
</project>
|