Return-Path: Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: (qmail 87815 invoked from network); 9 Feb 2011 22:47:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Feb 2011 22:47:25 -0000 Received: (qmail 81707 invoked by uid 500); 9 Feb 2011 22:47:24 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 81645 invoked by uid 500); 9 Feb 2011 22:47:24 -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 81637 invoked by uid 99); 9 Feb 2011 22:47:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 22:47:24 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 22:47:18 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PnIoL-0001ym-H4 for users@felix.apache.org; Wed, 09 Feb 2011 14:46:57 -0800 Message-ID: <30887791.post@talk.nabble.com> Date: Wed, 9 Feb 2011 14:46:57 -0800 (PST) From: samsmarty To: users@felix.apache.org Subject: Getting error while starting a bundle MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sadashiv.borkar@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi All, Iam getting following error while starting the bundle. org.osgi.framework.BundleException: Unresolved constraint in bundle OSGIBndTutorial.bundledirectorymanager [21]: Unable to resolve 21.12: missing requirement [21.12] package; (package=org.apache.commons.io.filefilter) Iam using commons-io-1.3.2.jar in my bundle for some processing. Can you please let me know how to get around the error. I read some forms which talked about adding the bundle classpath or by using org.osgi.framework.system.packages.extra: org.apache.commons.io.filefilter but nothing worked. Iam using felix and bnd tools from the following link http://www.aqute.biz/Code/Bnd bnd Below is my bundle header configuration OSGIBndTutorial.bundledirectorymanager (21) ------------------------------------------- Bnd-LastModified = 1297289848595 Bundle-Activator = org.osgi.tutorial.BundleDirectoryManager Bundle-ManifestVersion = 2 Bundle-Name = OSGIBndTutorial.bundledirectorymanager Bundle-SymbolicName = OSGIBndTutorial.bundledirectorymanager Bundle-Version = 0 Created-By = 1.6.0_13 (Sun Microsystems Inc.) Import-Package = org.apache.commons.io.filefilter,org.osgi.framework Manifest-Version = 1.0 Private-Package = org.osgi.tutorial Tool = Bnd-1.31.0 Iam using MyEclipse with felix and bnd tools for executing the program. Any help would be appreciated. -- View this message in context: http://old.nabble.com/Getting-error-while-starting-a-bundle-tp30887791p30887791.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org