Return-Path: X-Original-To: apmail-felix-users-archive@minotaur.apache.org Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EBC4D8B73 for ; Sun, 28 Aug 2011 02:14:34 +0000 (UTC) Received: (qmail 12440 invoked by uid 500); 28 Aug 2011 02:14:34 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 12210 invoked by uid 500); 28 Aug 2011 02:14:33 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 12201 invoked by uid 99); 28 Aug 2011 02:14:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Aug 2011 02:14:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mcculls@gmail.com designates 209.85.216.177 as permitted sender) Received: from [209.85.216.177] (HELO mail-qy0-f177.google.com) (209.85.216.177) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Aug 2011 02:14:26 +0000 Received: by qyk2 with SMTP id 2so4723638qyk.1 for ; Sat, 27 Aug 2011 19:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=LwWBrliMB7IYAunvDtozob5bS+unvxYx7v3yovRZeSs=; b=eotWMcrbByVOCu8rGrJhlJQ5YGJoiwfYl7EHXieJB1CxpJhvXpqsmBn+WqxeLv5dYn epPVpze8uRvwaHIKvGb6mJWllEu1hZJvC3ylZitbd68F9qLtJV6vtddzunaQ9ZJFK+gr HBRt+7QeTLA/btcyqXe3uLJszDI0nx2wsCAo4= MIME-Version: 1.0 Received: by 10.229.71.132 with SMTP id h4mr3835952qcj.35.1314497645629; Sat, 27 Aug 2011 19:14:05 -0700 (PDT) Received: by 10.229.91.72 with HTTP; Sat, 27 Aug 2011 19:14:05 -0700 (PDT) In-Reply-To: References: Date: Sun, 28 Aug 2011 03:14:05 +0100 Message-ID: Subject: Re: generated manifest loses things on the way into the jar From: Stuart McCulloch To: users@felix.apache.org Content-Type: multipart/alternative; boundary=0016e651f67439d07904ab875520 X-Virus-Checked: Checked by ClamAV on apache.org --0016e651f67439d07904ab875520 Content-Type: text/plain; charset=ISO-8859-1 On 28 August 2011 01:29, Benson Margulies wrote: > In my project, (using 2.3.5 and the bundle packaging) a perfectly > reasonable manifest appears in target/classes/META-INF/MANIFEST.MF. > > However, the manifest that is actually delivered to the jar is > DIFFERENT, and lacks a critical Export-Package. > > I don't know how to attack this. > I tried your example in FELIX-3091 and the export is there, but the last "t" of the package is wrapped onto the next line. For some reason the manifest extracted from the jar file has a different line-length wrapping than the one written out to target/classes. But they do show the same packages when you unwrap the content. Note, you can use bnd to pretty-print the manifest which can help when searching: java -jar bnd.jar print target/org.apache.maven.doxia.eclipse.dependencies_1.0.0-SNAPSHOT.jar See http://www.aqute.biz/Bnd/CommandLine http://www.aqute.biz/Bnd/Download -- Cheers, Stuart --0016e651f67439d07904ab875520--