Return-Path: Delivered-To: apmail-abdera-dev-archive@www.apache.org Received: (qmail 89704 invoked from network); 19 Feb 2010 13:27:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Feb 2010 13:27:17 -0000 Received: (qmail 49049 invoked by uid 500); 19 Feb 2010 13:27:17 -0000 Delivered-To: apmail-abdera-dev-archive@abdera.apache.org Received: (qmail 48970 invoked by uid 500); 19 Feb 2010 13:27:16 -0000 Mailing-List: contact dev-help@abdera.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@abdera.apache.org Delivered-To: mailing list dev@abdera.apache.org Received: (qmail 48960 invoked by uid 99); 19 Feb 2010 13:27:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 13:27:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [193.30.112.121] (HELO listen.hbz-nrw.de) (193.30.112.121) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 19 Feb 2010 13:27:05 +0000 Received: from [10.1.1.55] (unknown [10.1.1.55]) by listen.hbz-nrw.de (Postfix) with ESMTP id DC23339F93 for ; Fri, 19 Feb 2010 14:26:43 +0100 (CET) Message-ID: <4B7E9195.1070004@hbz-nrw.de> Date: Fri, 19 Feb 2010 14:26:45 +0100 From: Pascal Christoph User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: dev@abdera.apache.org Subject: 1.0-SNAPSHOT: javax.activation.MimeTypeParseException X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at hbz-nrw.de X-Virus-Checked: Checked by ClamAV on apache.org Hello *, at first, thanks for the great work! I use abdera 0.4 and now want to update to 1.0 but cannot build abdera-server 1.0-SNAPSHOT. I wonder why there is no ticket I could found, so I assume I may do something wrong. On the other hand you seem to have problems with abdera 1.0? There are some unanswered Mails in the Mailing list archives, e.g. "July 2009" from Jun Yang with the subject "trunk version fails tests; known issue?". While I had the same problems as him most of them were trivial to fix or had functions I donot need (yet). One problem costs me some nerves, though: Linux: debian-lenny, i386 IDE: netbeans 6.8 Apache Maven 2.2.0 (rdebian-2) Java version: 1.6.0_12 (also tried jdk1.6.0_18) Source:$ git clone git://github.com/apache/abdera I got a MimeTypeParseException when building abdera-server 1.0-SNAPSHOT (i.e. by executing org.apache.abdera.protocol.server.test.custom.CustomProviderTest ) which is thrown in org.apache.abdera.protocol.util.AbstractMessage.getContentType() . In this method a new MimeType should be returned by "new MimeType(value)", but "value" consists at this point of the String "application/atom+xml; type=feed charset=ISO-8859-1" ; the problem is at least the missing ";" between 'type' and 'charset'. To solve this one could just delete the line "response.setContentType(MimeTypeHelper.getMimeType(base));" in org.apache.abdera.protocol.server.ProviderHelper in the method ResponseContext returnBase(Base base, int status,Date lastModified). This line seems to be redundant anyhow (sure not sure about this) but then not harmless. oo