Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 62558 invoked from network); 28 Mar 2010 14:51:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Mar 2010 14:51:30 -0000 Received: (qmail 52464 invoked by uid 500); 28 Mar 2010 14:51:30 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 52331 invoked by uid 500); 28 Mar 2010 14:51:29 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 52323 invoked by uid 99); 28 Mar 2010 14:51:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Mar 2010 14:51:28 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.227.126.187] (HELO moutng.kundenserver.de) (212.227.126.187) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Mar 2010 14:51:19 +0000 Received: from JanPC (dsdf-4db5a383.pool.mediaWays.net [77.181.163.131]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0M2oZ4-1NciU10XDS-00s83i; Sun, 28 Mar 2010 16:50:59 +0200 From: =?iso-8859-1?Q?Jan_Mat=E8rne?= To: Subject: AntLib compress Date: Sun, 28 Mar 2010 16:51:10 +0200 Message-ID: <00f101cace86$1b26d630$51748290$@de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcrOhhntTw4EbUiWTqaJ0KrqrM7IUQ== Content-Language: de X-Provags-ID: V01U2FsdGVkX19SXs9nA5O/QnYe/RotOpPKQjYwMQAGQvUsPg8 dS58nEZrwxhMRCZKXrKEJjGTNy5ZIJRVACkjOdqtVBO9bKzmOi MWrtMFW10QNojzZeqM1iw== X-Virus-Checked: Checked by ClamAV on apache.org I tried to build the compress library with ant -lib commons-compress-1.0.jar using - Ant 1.8.0 - Commons Compress 1.0 But I get compiler errors: compile: [javac] Compiling 43 source files to C:\ant\svn-repository\antlibs\compress\trunk\build\classes [javac] C:\ant\svn-repository\antlibs\compress\trunk\src\main\org\apache\ant\compres s\resources\CommonsCompressArchiveResource.java:216: cannot find symbol [javac] symbol : method getLastModifiedDate() [javac] location: interface org.apache.commons.compress.archivers.ArchiveEntry [javac] setLastModified(e.getLastModifiedDate().getTime()); [javac] ^ [javac] C:\ant\svn-repository\antlibs\compress\trunk\src\main\org\apache\ant\compres s\resources\ZipResource.java:189: getExtraFields() in org.apache.commons.compress.archivers.zip.ZipArchiveEntry cannot be applied to (boolean) [javac] extras = ze.getExtraFields(true); [javac] ^ [javac] C:\ant\svn-repository\antlibs\compress\trunk\src\main\org\apache\ant\compres s\taskdefs\Cpio.java:40: cannot find symbol [javac] symbol : variable BLOCK_SIZE [javac] location: interface org.apache.commons.compress.archivers.cpio.CpioConstants [javac] private int blockSize = CpioConstants.BLOCK_SIZE; [javac] ^ [javac] C:\ant\svn-repository\antlibs\compress\trunk\src\main\org\apache\ant\compres s\taskdefs\Cpio.java:47: cannot find symbol [javac] symbol : constructor CpioArchiveOutputStream(java.io.OutputStream,short,int) [javac] location: class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream [javac] return new CpioArchiveOutputStream(stream, [javac] ^ [javac] C:\ant\svn-repository\antlibs\compress\trunk\src\main\org\apache\ant\compres s\taskdefs\Cpio.java:57: cannot find symbol [javac] symbol : constructor CpioArchiveEntry(short,java.lang.String,long) [javac] location: class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry [javac] new CpioArchiveEntry(format.getFormat(), r.getName(), [javac] ^ [javac] C:\ant\svn-repository\antlibs\compress\trunk\src\main\org\apache\ant\compres s\taskdefs\ExpandBase.java:131: cannot find symbol [javac] symbol : method getLastModifiedDate() [javac] location: interface org.apache.commons.compress.archivers.ArchiveEntry [javac] ent.getName(), ent.getLastModifiedDate(), [javac] ^ [javac] 6 errors Do I use a wrong commons-compress version or is the code in svn not buildable? Jan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org