You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/04/07 04:27:07 UTC

cvs commit: jakarta-avalon-excalibur/zip/src/test/org/apache/excalibur/zip/test AsiExtraFieldTestCase.java ExtraFieldUtilsTestCase.java ZipEntryTestCase.java ZipLongTestCase.java ZipShortTestCase.java

donaldp     02/04/06 18:27:07

  Modified:    zip      project.properties
               zip/src/conf MANIFEST.MF
               zip/src/java/org/apache/excalibur/zip AsiExtraField.java
                        ExtraFieldUtils.java UnixStat.java
                        UnrecognizedExtraField.java ZipEntry.java
                        ZipExtraField.java ZipLong.java
                        ZipOutputStream.java ZipShort.java
               zip/src/test/org/apache/excalibur/zip/test
                        AsiExtraFieldTestCase.java
                        ExtraFieldUtilsTestCase.java ZipEntryTestCase.java
                        ZipLongTestCase.java ZipShortTestCase.java
  Removed:     zip/src/java/org/apache/avalon/excalibur/zip
                        AsiExtraField.java ExtraFieldUtils.java
                        UnixStat.java UnrecognizedExtraField.java
                        ZipEntry.java ZipExtraField.java ZipLong.java
                        ZipOutputStream.java ZipShort.java
               zip/src/test/org/apache/avalon/excalibur/zip/test
                        AsiExtraFieldTestCase.java
                        ExtraFieldUtilsTestCase.java ZipEntryTestCase.java
                        ZipLongTestCase.java ZipShortTestCase.java
  Log:
  Repackage and make sure that the manifest conforms to extension spec
  
  Revision  Changes    Path
  1.5       +1 -0      jakarta-avalon-excalibur/zip/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/project.properties,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- project.properties	4 Apr 2002 15:12:51 -0000	1.4
  +++ project.properties	7 Apr 2002 02:27:06 -0000	1.5
  @@ -2,4 +2,5 @@
   Name=Excalibur Zip
   dir-name=zip
   version=1.0a
  +package-version=0.99
   year=2000-2002
  
  
  
  1.2       +1 -1      jakarta-avalon-excalibur/zip/src/conf/MANIFEST.MF
  
  Index: MANIFEST.MF
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/conf/MANIFEST.MF,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MANIFEST.MF	31 Mar 2002 07:43:07 -0000	1.1
  +++ MANIFEST.MF	7 Apr 2002 02:27:06 -0000	1.2
  @@ -2,5 +2,5 @@
   Specification-Vendor: Apache Software Foundation
   Specification-Version: 1.0
   Implementation-Vendor: Apache Software Foundation
  -Implementation-Version: @version@
  +Implementation-Version: @package-version@
   
  
  
  
  1.5       +2 -2      jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/AsiExtraField.java
  
  Index: AsiExtraField.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/AsiExtraField.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AsiExtraField.java	24 Mar 2002 09:56:43 -0000	1.4
  +++ AsiExtraField.java	7 Apr 2002 02:27:06 -0000	1.5
  @@ -5,7 +5,7 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.avalon.excalibur.zip;
  +package org.apache.excalibur.zip;
   
   import java.util.zip.CRC32;
   import java.util.zip.ZipException;
  @@ -33,7 +33,7 @@
    * device numbers are currently not supported.</p>
    *
    * @author <a href="stefan.bodewig@epost.de">Stefan Bodewig</a>
  - * @version $Revision: 1.4 $
  + * @version $Revision: 1.5 $
    */
   public class AsiExtraField
       implements ZipExtraField, UnixStat, Cloneable
  
  
  
  1.3       +2 -2      jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/ExtraFieldUtils.java
  
  Index: ExtraFieldUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/ExtraFieldUtils.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ExtraFieldUtils.java	24 Mar 2002 09:48:28 -0000	1.2
  +++ ExtraFieldUtils.java	7 Apr 2002 02:27:06 -0000	1.3
  @@ -5,7 +5,7 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.avalon.excalibur.zip;
  +package org.apache.excalibur.zip;
   
   import java.util.ArrayList;
   import java.util.Hashtable;
  @@ -15,7 +15,7 @@
    * ZipExtraField related methods
    *
    * @author <a href="stefan.bodewig@epost.de">Stefan Bodewig</a>
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public class ExtraFieldUtils
   {
  
  
  
  1.2       +1 -1      jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/UnixStat.java
  
  Index: UnixStat.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/UnixStat.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- UnixStat.java	22 Mar 2002 12:16:11 -0000	1.1
  +++ UnixStat.java	7 Apr 2002 02:27:06 -0000	1.2
  @@ -5,13 +5,13 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.avalon.excalibur.zip;
  +package org.apache.excalibur.zip;
   
   /**
    * Constants from stat.h on Unix systems.
    *
    * @author <a href="stefan.bodewig@epost.de">Stefan Bodewig</a>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public interface UnixStat
   {
  
  
  
  1.4       +2 -2      jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/UnrecognizedExtraField.java
  
  Index: UnrecognizedExtraField.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/UnrecognizedExtraField.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UnrecognizedExtraField.java	26 Mar 2002 09:38:43 -0000	1.3
  +++ UnrecognizedExtraField.java	7 Apr 2002 02:27:06 -0000	1.4
  @@ -5,7 +5,7 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.avalon.excalibur.zip;
  +package org.apache.excalibur.zip;
   
   /**
    * Simple placeholder for all those extra fields we don't want to deal with. <p>
  @@ -14,7 +14,7 @@
    * told the opposite.</p>
    *
    * @author <a href="stefan.bodewig@epost.de">Stefan Bodewig</a>
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
    */
   public class UnrecognizedExtraField
       implements ZipExtraField
  
  
  
  1.3       +2 -2      jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/ZipEntry.java
  
  Index: ZipEntry.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/ZipEntry.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ZipEntry.java	24 Mar 2002 09:48:28 -0000	1.2
  +++ ZipEntry.java	7 Apr 2002 02:27:06 -0000	1.3
  @@ -5,7 +5,7 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.avalon.excalibur.zip;
  +package org.apache.excalibur.zip;
   
   import java.lang.reflect.InvocationTargetException;
   import java.lang.reflect.Method;
  @@ -17,7 +17,7 @@
    * the internal and external file attributes.
    *
    * @author <a href="stefan.bodewig@epost.de">Stefan Bodewig</a>
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public class ZipEntry
       extends java.util.zip.ZipEntry
  
  
  
  1.3       +2 -2      jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/ZipExtraField.java
  
  Index: ZipExtraField.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/ZipExtraField.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ZipExtraField.java	24 Mar 2002 09:48:28 -0000	1.2
  +++ ZipExtraField.java	7 Apr 2002 02:27:06 -0000	1.3
  @@ -5,7 +5,7 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.avalon.excalibur.zip;
  +package org.apache.excalibur.zip;
   
   import java.util.zip.ZipException;
   
  @@ -18,7 +18,7 @@
    * will only use the local file data in both places.</p>
    *
    * @author <a href="stefan.bodewig@epost.de">Stefan Bodewig</a>
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public interface ZipExtraField
   {
  
  
  
  1.2       +1 -1      jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/ZipLong.java
  
  Index: ZipLong.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/ZipLong.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ZipLong.java	22 Mar 2002 12:16:11 -0000	1.1
  +++ ZipLong.java	7 Apr 2002 02:27:06 -0000	1.2
  @@ -5,14 +5,14 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.avalon.excalibur.zip;
  +package org.apache.excalibur.zip;
   
   /**
    * Utility class that represents a four byte integer with conversion rules for
    * the big endian byte order of ZIP files.
    *
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public class ZipLong
       implements Cloneable
  
  
  
  1.2       +2 -2      jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/ZipOutputStream.java
  
  Index: ZipOutputStream.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/ZipOutputStream.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ZipOutputStream.java	22 Mar 2002 12:16:11 -0000	1.1
  +++ ZipOutputStream.java	7 Apr 2002 02:27:06 -0000	1.2
  @@ -5,7 +5,7 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.avalon.excalibur.zip;
  +package org.apache.excalibur.zip;
   
   import java.io.IOException;
   import java.io.OutputStream;
  @@ -31,7 +31,7 @@
    * #putNextEntry putNextEntry} will be called.</p>
    *
    * @author <a href="stefan.bodewig@epost.de">Stefan Bodewig</a>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public class ZipOutputStream
       extends DeflaterOutputStream
  
  
  
  1.2       +1 -1      jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/ZipShort.java
  
  Index: ZipShort.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/java/org/apache/excalibur/zip/ZipShort.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ZipShort.java	22 Mar 2002 12:16:11 -0000	1.1
  +++ ZipShort.java	7 Apr 2002 02:27:06 -0000	1.2
  @@ -5,14 +5,14 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.avalon.excalibur.zip;
  +package org.apache.excalibur.zip;
   
   /**
    * Utility class that represents a two byte integer with conversion rules for
    * the big endian byte order of ZIP files.
    *
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public class ZipShort
       implements Cloneable
  
  
  
  1.4       +3 -3      jakarta-avalon-excalibur/zip/src/test/org/apache/excalibur/zip/test/AsiExtraFieldTestCase.java
  
  Index: AsiExtraFieldTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/test/org/apache/excalibur/zip/test/AsiExtraFieldTestCase.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AsiExtraFieldTestCase.java	24 Mar 2002 09:56:43 -0000	1.3
  +++ AsiExtraFieldTestCase.java	7 Apr 2002 02:27:06 -0000	1.4
  @@ -5,12 +5,12 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.avalon.excalibur.zip.test;
  +package org.apache.excalibur.zip.test;
   
   import java.util.zip.ZipException;
   import junit.framework.TestCase;
  -import org.apache.avalon.excalibur.zip.AsiExtraField;
  -import org.apache.avalon.excalibur.zip.UnixStat;
  +import org.apache.excalibur.zip.AsiExtraField;
  +import org.apache.excalibur.zip.UnixStat;
   
   /**
    * JUnit testcases AsiExtraField.
  
  
  
  1.4       +7 -7      jakarta-avalon-excalibur/zip/src/test/org/apache/excalibur/zip/test/ExtraFieldUtilsTestCase.java
  
  Index: ExtraFieldUtilsTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/test/org/apache/excalibur/zip/test/ExtraFieldUtilsTestCase.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ExtraFieldUtilsTestCase.java	24 Mar 2002 09:56:43 -0000	1.3
  +++ ExtraFieldUtilsTestCase.java	7 Apr 2002 02:27:06 -0000	1.4
  @@ -5,15 +5,15 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.avalon.excalibur.zip.test;
  +package org.apache.excalibur.zip.test;
   
   import junit.framework.TestCase;
  -import org.apache.avalon.excalibur.zip.AsiExtraField;
  -import org.apache.avalon.excalibur.zip.ExtraFieldUtils;
  -import org.apache.avalon.excalibur.zip.UnixStat;
  -import org.apache.avalon.excalibur.zip.UnrecognizedExtraField;
  -import org.apache.avalon.excalibur.zip.ZipExtraField;
  -import org.apache.avalon.excalibur.zip.ZipShort;
  +import org.apache.excalibur.zip.AsiExtraField;
  +import org.apache.excalibur.zip.ExtraFieldUtils;
  +import org.apache.excalibur.zip.UnixStat;
  +import org.apache.excalibur.zip.UnrecognizedExtraField;
  +import org.apache.excalibur.zip.ZipExtraField;
  +import org.apache.excalibur.zip.ZipShort;
   
   /**
    * JUnit testcases ExtraFieldUtils.
  
  
  
  1.2       +6 -6      jakarta-avalon-excalibur/zip/src/test/org/apache/excalibur/zip/test/ZipEntryTestCase.java
  
  Index: ZipEntryTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/test/org/apache/excalibur/zip/test/ZipEntryTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ZipEntryTestCase.java	22 Mar 2002 12:16:11 -0000	1.1
  +++ ZipEntryTestCase.java	7 Apr 2002 02:27:06 -0000	1.2
  @@ -5,15 +5,15 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.avalon.excalibur.zip.test;
  +package org.apache.excalibur.zip.test;
   
   import java.util.NoSuchElementException;
   import junit.framework.TestCase;
  -import org.apache.avalon.excalibur.zip.AsiExtraField;
  -import org.apache.avalon.excalibur.zip.UnrecognizedExtraField;
  -import org.apache.avalon.excalibur.zip.ZipEntry;
  -import org.apache.avalon.excalibur.zip.ZipExtraField;
  -import org.apache.avalon.excalibur.zip.ZipShort;
  +import org.apache.excalibur.zip.AsiExtraField;
  +import org.apache.excalibur.zip.UnrecognizedExtraField;
  +import org.apache.excalibur.zip.ZipEntry;
  +import org.apache.excalibur.zip.ZipExtraField;
  +import org.apache.excalibur.zip.ZipShort;
   
   /**
    * JUnit testcases ZipEntry.
  
  
  
  1.2       +2 -2      jakarta-avalon-excalibur/zip/src/test/org/apache/excalibur/zip/test/ZipLongTestCase.java
  
  Index: ZipLongTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/test/org/apache/excalibur/zip/test/ZipLongTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ZipLongTestCase.java	22 Mar 2002 12:16:11 -0000	1.1
  +++ ZipLongTestCase.java	7 Apr 2002 02:27:06 -0000	1.2
  @@ -5,10 +5,10 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.avalon.excalibur.zip.test;
  +package org.apache.excalibur.zip.test;
   
   import junit.framework.TestCase;
  -import org.apache.avalon.excalibur.zip.ZipLong;
  +import org.apache.excalibur.zip.ZipLong;
   
   /**
    * JUnit 3 testcases for org.apache.tools.zip.ZipLong.
  
  
  
  1.2       +2 -2      jakarta-avalon-excalibur/zip/src/test/org/apache/excalibur/zip/test/ZipShortTestCase.java
  
  Index: ZipShortTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/src/test/org/apache/excalibur/zip/test/ZipShortTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ZipShortTestCase.java	22 Mar 2002 12:16:11 -0000	1.1
  +++ ZipShortTestCase.java	7 Apr 2002 02:27:07 -0000	1.2
  @@ -5,10 +5,10 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.avalon.excalibur.zip.test;
  +package org.apache.excalibur.zip.test;
   
   import junit.framework.TestCase;
  -import org.apache.avalon.excalibur.zip.ZipShort;
  +import org.apache.excalibur.zip.ZipShort;
   
   /**
    * JUnit 3 testcases for org.apache.tools.zip.ZipShort.
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>