Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 63210 invoked from network); 25 Nov 2009 12:47:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Nov 2009 12:47:12 -0000 Received: (qmail 75233 invoked by uid 500); 25 Nov 2009 12:47:11 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 74704 invoked by uid 500); 25 Nov 2009 12:47:10 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 74696 invoked by uid 99); 25 Nov 2009 12:47:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2009 12:47:10 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.142.207.88] (HELO web31908.mail.mud.yahoo.com) (68.142.207.88) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 25 Nov 2009 12:47:02 +0000 Received: (qmail 83162 invoked by uid 60001); 25 Nov 2009 12:46:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1259153200; bh=s4j8ULKNuIwv6xDIe54aTztrXCEkUVg/J/NuHukRIqU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=loQovQIxRVqwRqRLGf0qqv2p2/wlY2B076r7F/0VEIrCoyseREvkrRS5ecXIF7cgI0xmO5KdX/7bMV2Wifgl2ArFXXbQwHfwRwypbJZMntTaTFu7CmND3Y91hqP2niosaUhha+/EfbNw8uQhUHQ+5XUH+cKvVP6AzxW5vnTE2r0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=uQqxCFIEIkCA1n9pAn5D/20/1Ov8QBEXPH+ue+rEC2GpjsJsryNLO/XMczcnVciq5VC+AuaIgFdA99ImanQR6MDTsZqZ8Psd287WcnsjbZ6q590fY9iTv9Ks6e+3VnI5xtpDNsQR3nsL7oM9mnaqFYm9FlBzfPHs49dfdegetc0=; Message-ID: <722749.78161.qm@web31908.mail.mud.yahoo.com> X-YMail-OSG: zWfVGjQVM1l8ZKH7RzNZCEziDVuVQKm4wku2d6DmLFjtdxySm5JGcJsU4OIh76pcw9Y0enmEnApX.6Wx5SPbFoDrw0wk7NXAdoGuJ.zoo3q_f7djdx8fWvEbeXSYp9KWzP.KoDXFqAQlznV_I2upozumQHxy1gFDNWJDGV3qBvtMOYLpE190SVHXVH6WwNFwENxk2Kj_ttSmya.1XlU2.rky3Hu7Dfd5R7kfG7G8w3RplfTgDYX_2Gv_yBDr6pt8ch4GcuhYxJd50QJBU6S61sIYyzB_9yjiL3NJFhDm4CNXN_e0JWnnh59rg13mUC8nTmyNs3Eo3H1MhFQG61vneePxh2vK6H4CB0tTfCF_l3pRwjkDigWs98EX4mSPFIBDiDgoP9a4N2jSUaIOwSoCeNtguM8yQNhbZ.oHdkEgvxy17Zh2UOGX7RT.tSamMme230p.DRIkNMgmmC0D2QCNGpyXK0exz7xJNFep_Ui2_ohxL1khvqCfn89Uu8yScuHJQEX0U8m3pygyk38LqGEkgc1Q6mPmpoG4HEPEgZTRtTczbyoH9HUtRPaRbinpHrZ0ReH1UvHSn7_kqjZ0b0eHc8F5AJC6Z1pEWM2Wk25CX9Hx6jVHLaRrFhb1IjMWlcWxifC.9jtcmMXolrRuYAyHv5S8zCG9sBU2m78xhuvGf9X3b6Oz7cvstjlQJrR_KwH10Odd00eyKJnrTkMQujaeHWCvuA.q66TKcnJSDKDMX3oL6BeLaWNiFg0oV9VSB7bmbmyh.YqSjyKyPosDSnhVMYhQRhXL7QsfzL6YyitT0jWK_4mYLgxsFNchJ9I- Received: from [70.54.8.224] by web31908.mail.mud.yahoo.com via HTTP; Wed, 25 Nov 2009 04:46:40 PST X-Mailer: YahooMailRC/240.3 YahooMailWebService/0.8.100.260964 References: <4AEBF4A7.7090802@yahoo.gr> Date: Wed, 25 Nov 2009 04:46:40 -0800 (PST) From: Leslie Software Subject: Re: Plug-in won't work in "Java and Report Developers" Eclipse To: Derby Discussion In-Reply-To: <4AEBF4A7.7090802@yahoo.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I am not sure if you found a solution to your problem - it has been a while since I kept up to date on this list. One possible reason for your problem is the way they have specified their plug-in's dependency on the Derby plug-in. When setting up a dependency between plug-ins you can specify a minimum version, both a minimum and maximum version or no version at all for the plug-in yours depends on. For example in one of my plug-ins I have a dependency on the Derby plug in that looks like this (from my plug-in's MANIFEST.MF file): Require-Bundle: org.apache.derby.core, This means when ever I replace the derby plug-in, regardless of what version it is, my plug-in will try to use it. Since I am writing an RCP application and am in total control of what ships I find this convenient. Alternatively you can specify a minimum version for a dependent plug-in, like this: Require-Bundle: org.apache.derby.core;bundle-version="10.4.1", Or you can specify both a minimum and maximum (in the example below, a specific version), like this: Require-Bundle: org.apache.derby.core;bundle-version="[10.4.1,10.4.1]", If the plug-ins that are failing to load have a bundle-version property on their dependency to the derby plug-in that could explain what is going on. Ian -- Ian Leslie - Shareware Author (mailto:lesliesoftware@yahoo.com) ----- Original Message ---- From: Alexandros Karypidis To: derby-user@db.apache.org Sent: Sat, October 31, 2009 4:26:15 AM Subject: Plug-in won't work in "Java and Report Developers" Eclipse Hi, I've hit a problem which is very likely to be what was discussed in this list here: http://old.nabble.com/Eclipse-3.5-Plugin-%28Galileo%29-works-only-partial-tt24897570.html I have some extra information about this (most importantly a consistent way to reproduce): When using the "Eclipse IDE for Java and Report Developers" installation, ANY derby core plug-in downloaded from the Apache Derby web site is NOT detected. This edition (btw it is an official distribution from eclipse.org) is essentially the JEE edition together with the BIRT reporting plug-ins; You can get it from the official Eclipse downloads site: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-reporting-galileo-SR1-win32.zip Now, compared to the pure JEE edition (where everything works properly), the BIRT edition has the reporting plug-ins and they also show some lovin for Derby as they include a version of the core plug-in: org.apache.derby.core_10.3.1.4 plugin. So, I was trying to replace it with a newer version by deleting what BIRT came with and adding the core plug-in downloaded from the Apache Derby site (tried 10.3.3.0, 10.4.2.0 and 10.5.3.0). No matter what I do, the new plugin is not detected running "eclipse -clean -debug" does not provide any relevant information (some birt plug-ins fail to resolve due to missing the derby core, but there is nothing about the derby core plugin itself). It appears as though the bundle is silently ignored and then causes the installation of a couple of other bundles that depend on it to fail. I'm about to head to the BIRT newsgroup to discuss this (at the very least they should stop distributing 10.3.1.4 which has known data corruption issues), but I'm hoping to gather some more information here first (I can point them to this thread when I bring it up there). Can somebody knowledgeable download the file above and have a look at the plugins\org.apache.derby.core_10.3.1.4 folder to see what they distribute (as far as I can see, main differences are that the network libraries are missing and the bundle is sealed). Hopefully, one come up with a suggestion regarding why newer versions of the derby core are not picked up. It's probably something that they do, but I just want an educated opinion before I head over there to complain. Thanks __________________________________________________________________ Reclaim your name @ymail.com or @rocketmail.com. Get your new email address now! Go to http://ca.promos.yahoo.com/jacko/