Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C219D10C5B for ; Sun, 18 Aug 2013 13:48:49 +0000 (UTC) Received: (qmail 77414 invoked by uid 500); 18 Aug 2013 13:48:49 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 77296 invoked by uid 500); 18 Aug 2013 13:48:49 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 77285 invoked by uid 99); 18 Aug 2013 13:48:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Aug 2013 13:48:48 +0000 Date: Sun, 18 Aug 2013 13:48:48 +0000 (UTC) From: "Morten Christensen (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCLIENT-1388) HttpClient/Core lacks OSGI compatible fields in manifest MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13743210#comment-13743210 ] Morten Christensen commented on HTTPCLIENT-1388: ------------------------------------------------ The difference in the two (OSGI, non-osgi) jars are not documented. What kind of optimizations? Can I use the OSGI version for non-osgi uses also? > HttpClient/Core lacks OSGI compatible fields in manifest > -------------------------------------------------------- > > Key: HTTPCLIENT-1388 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1388 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: HttpClient > Affects Versions: 4.2.5 > Environment: All environments > Reporter: Morten Christensen > > To be usable in OSGI environments, HttpClient/HttpCore needs to have a osgi symbol name and import/export packages in the manifest file. An easy way to do this using maven is to use the maven-bundle-plugin (http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html) which will add the manifest attributes automatically. There is also a bndtools plugin to do this in ANT / eclipse. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org