Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 23164 invoked from network); 14 Aug 2009 19:54:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Aug 2009 19:54:30 -0000 Received: (qmail 68164 invoked by uid 500); 14 Aug 2009 19:54:37 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 68050 invoked by uid 500); 14 Aug 2009 19:54:36 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 68040 invoked by uid 99); 14 Aug 2009 19:54:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2009 19:54:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2009 19:54:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C7104234C004 for ; Fri, 14 Aug 2009 12:54:14 -0700 (PDT) Message-ID: <2115317857.1250279654804.JavaMail.jira@brutus> Date: Fri, 14 Aug 2009 12:54:14 -0700 (PDT) From: "Joerg Schaible (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (CONFIGURATION-392) OSGI import requires ant.taskdef and javax.mail In-Reply-To: <1482114087.1250165054796.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CONFIGURATION-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743394#action_12743394 ] Joerg Schaible commented on CONFIGURATION-392: ---------------------------------------------- We may upgrade the bundle plugin to version 2.0.0. That one definitely does not export test scope dependencies. > OSGI import requires ant.taskdef and javax.mail > ----------------------------------------------- > > Key: CONFIGURATION-392 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-392 > Project: Commons Configuration > Issue Type: Bug > Components: Build > Affects Versions: 1.6 > Environment: OSGI > Reporter: Martin Heitz > Original Estimate: 0.75h > Remaining Estimate: 0.75h > > In the Manifest the OSGI Import-Package states, that commons configuration depends on org.apache.tools.ant.taskdefs and on javax.mail: > Import-Package: javax.mail.internet,javax.naming,javax.servlet,javax.s > ql,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,java > x.xml.transform.stream,org.apache.commons.beanutils,org.apache.common > s.codec.binary,org.apache.commons.collections,org.apache.commons.coll > ections.iterators,org.apache.commons.collections.map,org.apache.commo > ns.collections.set,org.apache.commons.configuration;version="1.6",org > .apache.commons.configuration.beanutils;version="1.6",org.apache.comm > ons.configuration.event;version="1.6",org.apache.commons.configuratio > n.interpol;version="1.6",org.apache.commons.configuration.plist;versi > on="1.6",org.apache.commons.configuration.reloading;version="1.6",org > .apache.commons.configuration.tree;version="1.6",org.apache.commons.c > onfiguration.tree.xpath;version="1.6",org.apache.commons.configuratio > n.web;version="1.6",org.apache.commons.digester,org.apache.commons.di > gester.substitution,org.apache.commons.digester.xmlrules,org.apache.c > ommons.jxpath,org.apache.commons.jxpath.ri,org.apache.commons.jxpath. > ri.compiler,org.apache.commons.jxpath.ri.model,org.apache.commons.lan > g,org.apache.commons.lang.exception,org.apache.commons.lang.text,org. > apache.commons.logging,org.apache.commons.logging.impl,org.apache.too > ls.ant.taskdefs,org.w3c.dom,org.xml.sax,org.xml.sax.helpers > As result of this, when developing RCP application and using commons configuration as OSGI bundle, the built client needs the ant bundle (and a bundle providing javax.mail) in the execution runtime! > The worst thing is, that it looks like that ant is not even used within commons configuration itself - except for a javadoc comment which actually does not need an import (EnvironmentConfiguration). > javax.mail cannot be found at all in the sources. > In addition to that, also the imports to jxpath, SAX and javax.naming should be optional as those are only needed for specific configurations. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.