From c657b5ef73c02bd2d60b146fcf1d80cafa977e62 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Thu, 15 Nov 2001 09:14:10 +0000 Subject: =?UTF-8?q?Here=20are=20two=20new=20ant=20tasks=20-=20BZip2=20and?= =?UTF-8?q?=20BUnzip2.=20=EF=BF=BDThese=20two=20tasks=20use=20the=20BZip2?= =?UTF-8?q?=20compression=20algorithm=20(Visit:=20http://sourceware.cygnus?= =?UTF-8?q?.com/bzip2/=EF=BF=BDfor=20more=20info.)=20for=20packing=20and?= =?UTF-8?q?=20unpacking.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These tasks resemble GZip and GUnzip tasks in input, input validation, etc. �Hence, I refactored GZip and GUnzip tasks as well so that the tasks GZip and BZip2 extend from a common base class named Pack, and GUnzip and BUnzip2 extend from a common base class named Unpack. �This lays the foundation for creating more Pack tasks based on different algorithms like lzop, etc. in the future. The BZip2 and BUnzip2 tasks depend upon 4 classes: BZip2Constants.java CBZip2InputStream.java CBZip2OutputStream.java CRC.java Keiron Liddle (keiron@aftexsw.com) has graciously accepted to contribute the above code files he has authored, under ASF license - many thanks to him. �I have packaged them under org.apache.tools.bzip2, mimicking the package naming style that has been used for zip and tar tools we already have. �I have also given proper credits to him in the code. �Perhaps, this needs to exist under jakarta-commons, as Stefan had suggested, but till then... Submitted by: "Magesh Umasankar" git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269919 13f79535-47bb-0310-9956-ffa450edef68 --- bootstrap.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstrap.bat') diff --git a/bootstrap.bat b/bootstrap.bat index b239b551f..f34678b83 100755 --- a/bootstrap.bat +++ b/bootstrap.bat @@ -47,7 +47,7 @@ if not exist build\classes\nul mkdir build\classes echo. echo ... Compiling Ant Classes -"%JAVAC%" -d %CLASSDIR% %TOOLS%\tar\*.java %TOOLS%\zip\*.java %TOOLS%\ant\*.java %TOOLS%\ant\types\*.java %TOOLS%\ant\taskdefs\*.java %TOOLS%\ant\util\*.java %TOOLS%\ant\util\regexp\RegexpMatcher.java %TOOLS%\ant\util\regexp\RegexpMatcherFactory.java %TOOLS%\ant\taskdefs\condition\*.java %TOOLS%\ant\taskdefs\compilers\*.java +"%JAVAC%" -d %CLASSDIR% %TOOLS%\bzip\*.java %TOOLS%\tar\*.java %TOOLS%\zip\*.java %TOOLS%\ant\*.java %TOOLS%\ant\types\*.java %TOOLS%\ant\taskdefs\*.java %TOOLS%\ant\util\*.java %TOOLS%\ant\util\regexp\RegexpMatcher.java %TOOLS%\ant\util\regexp\RegexpMatcherFactory.java %TOOLS%\ant\taskdefs\condition\*.java %TOOLS%\ant\taskdefs\compilers\*.java echo. echo ... Copying Required Files -- cgit v1.2.1