Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 2050 invoked from network); 1 Oct 2007 11:55:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2007 11:55:12 -0000 Received: (qmail 11854 invoked by uid 500); 1 Oct 2007 11:55:01 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 11409 invoked by uid 500); 1 Oct 2007 11:55:00 -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 11398 invoked by uid 99); 1 Oct 2007 11:55:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 04:55:00 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ajtarter@gmail.com designates 64.233.184.232 as permitted sender) Received: from [64.233.184.232] (HELO wr-out-0506.google.com) (64.233.184.232) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 11:55:01 +0000 Received: by wr-out-0506.google.com with SMTP id 70so1756728wra for ; Mon, 01 Oct 2007 04:54:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=/knvlqN1qcF1vExKzdAioBGJN7/Hi5knBaBCN0KXxlw=; b=VnWhN0Gn4Pz0ta2OqOF2OYrkPsLVBxC2G++nWea0LETqNfMlJ1BE11Xty6SC9dPG1N3HtXqsnpt+NM2FHUbF67PRhGmjXLKJy72RBfHBscViqGvdNJbabKuw7zvKkUAP0XX6XF8C3J8VzfuEJFKsNojMlBXEdjTbOQlimFgL/OA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=oBuhjyQb8ndh+Ti11DtfLqpU30o+pv6Ly4GyzoHCUaszGb/kXdnQ0kTZocZpVUkFA1xJmy6KQR0h3b/Okb1Y+b8uej8AC26juwXFHRs2hxTeqXRnYm9rsaVlhdSisjOhhtTrdGkcLvjE1fMLk/e38h506AFcFj1cRjMomnXQW0w= Received: by 10.90.28.13 with SMTP id b13mr4350702agb.1191239677753; Mon, 01 Oct 2007 04:54:37 -0700 (PDT) Received: by 10.90.73.18 with HTTP; Mon, 1 Oct 2007 04:54:37 -0700 (PDT) Message-ID: Date: Mon, 1 Oct 2007 07:54:37 -0400 From: "Aaron J Tarter" To: "Derby Discussion" Subject: Re: Derby Eclipse Plug-in versus JavaDB or Apache Derby In-Reply-To: <12935407.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10906_23174667.1191239677693" References: <12935407.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_10906_23174667.1191239677693 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline The current plug-in always includes libraries from the default plug-ins directory, so custom extension directories will not work. There is a patch that fixes this problem here - https://issues.apache.org/jira/browse/DERBY-1931. It uses a classpath container instead of the ECLIPSE_HOME variable. The classpath container adds the JARs from wherever they are installed, instead of assuming that they are installed in the default plug-ins directory. Please vote for this issue. On 9/28/07, danga wrote: > > > Hi there, > > I am using the Eclipse Europa RCP platform and lately installed the Apache > Derby Eclipse plug-ins. > > Now I have a few questions: > 1) Since I also have the javaDB installed (Java 1.6) why should I use the > plug-in ? > I notice that the same jar files are available ? > > 2) Is it not better to download Apache Derby and install it, instead of > the > javaDB > > 3) My third question is a bit more complex and is about using the Derby > plugin outside of my eclipse installation using a link file in my eclipse > environment that points to the directory where the plugp-in is installed. > > I have created a separate directory where I unzipped the Apache Derby > plug-in. The structure of the directory is > eclipse-extension\eclipse\plugins\ .... > > I added the Apache Derby plug-in's in this directory and I created a > .eclipseextension file. > Later I created a link file in my eclipse \link directory. > > I restarted Eclipse and checked whether the plugins were available using > Help > About Eclipse SDK > Plugins ... and indeed they are shown. > > Now I created a simple HelloWorld plug-in and the moment I try to add the > Derby nature I get an error message saying that my project is missing the > required libraries ... org.apache.derby.core derby.jar, derbyclient.jar, > derbynet.jar, derbytools.jar > > When I look into the properties of my project under Java Build Path I can > see the derby jar-files are available. I can also see that the Plug-in > dependencies include these jar-files. > > The error log says also the project cannot be built until build path > errors > are resolved . > > I tried afterwards the same thing but now I did not use a link file but > the > product configuration manager using add extension location, the problem > remains. > > When I add the plugins to the Eclipse plugin directory there is no > problem. > > What is wrong here and what is the best approach to follow ? > > > regards, > Danny > > > > -- > View this message in context: > http://www.nabble.com/Derby-Eclipse-Plug-in-versus-JavaDB-or-Apache-Derby-tf4532739.html#a12935407 > Sent from the Apache Derby Users mailing list archive at Nabble.com. > > -- Regards, Aaron J Tarter ------=_Part_10906_23174667.1191239677693 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline The current plug-in always includes libraries from the default plug-ins directory, so custom extension directories will not work.  There is a patch that fixes this problem here - https://issues.apache.org/jira/browse/DERBY-1931.  It uses a classpath container instead of the ECLIPSE_HOME variable.  The classpath container adds the JARs from wherever they are installed, instead of assuming that they are installed in the default plug-ins directory.   Please vote for this issue.

On 9/28/07, danga <dgaethofs@yahoo.com> wrote:

Hi there,

I am using the Eclipse Europa RCP platform and lately installed the Apache
Derby Eclipse plug-ins.

Now I have a few questions:
1) Since I also have the javaDB installed (Java 1.6) why should I use the
plug-in ?
I notice that the same jar files are available ?

2) Is it not better to download Apache Derby and install it, instead of the
javaDB

3) My third question is a bit more complex and is about using the Derby
plugin outside of my eclipse installation using a link file in my eclipse
environment that points to the directory where the plugp-in is installed.

I have created a separate directory where I unzipped the Apache Derby
plug-in. The structure of the directory is
eclipse-extension\eclipse\plugins\ ....

I added the Apache Derby plug-in's in this directory and I created a
.eclipseextension file.
Later I created a link file in my eclipse \link directory.

I restarted Eclipse and checked whether the plugins were available using
Help > About Eclipse SDK > Plugins ... and indeed they are shown.

Now I created a simple HelloWorld plug-in and the moment I try to add the
Derby nature I get an error message saying that my project is missing the
required libraries ... org.apache.derby.core derby.jar, derbyclient.jar,
derbynet.jar, derbytools.jar

When I look into the properties of my project under Java Build Path I can
see the derby jar-files are available. I can also see that the Plug-in
dependencies include these jar-files.

The error log says also the project cannot be built until build path errors
are resolved .

I tried afterwards the same thing but now I did not use a link file but the
product configuration manager using add extension location, the problem
remains.

When I add the plugins to the Eclipse plugin directory there is no problem.

What is wrong here and what is the best approach to follow ?


regards,
Danny



--
View this message in context: http://www.nabble.com/Derby-Eclipse-Plug-in-versus-JavaDB-or-Apache-Derby-tf4532739.html#a12935407
Sent from the Apache Derby Users mailing list archive at Nabble.com.




--
Regards,
Aaron J Tarter ------=_Part_10906_23174667.1191239677693--