Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Adding an Apache Derby Database to a project in Ganymede
Adding an Apache Derby Database to a project in Ganymede [message #47105] Wed, 16 July 2008 23:57 Go to next message
Eclipse UserFriend
Originally posted by: cuco2772.gmail.com

Hi everybody. I've been fooling around with Ganymede for the last couple
weeks
and it looks like there's no way to add an Apache Derby nature to a
project.
At least I havent been able to figure this out yet.
I am able to go to the Database Dev Perspective and add new databases
there and connect to them, but I can't go to a project in the Package
Explorer and add a database to a project, not even a mysql database. Any
way to get some instructions on that ? Thanks.
Re: Adding an Apache Derby Database to a project in Ganymede [message #47211 is a reply to message #47105] Thu, 17 July 2008 13:31 Go to previous message
Eclipse UserFriend
Originally posted by: brianf.sybase.com

Hey Adam!

Well... It's not quite the same as the Apache Derby plug-ins that allow some
additional funtionality to Eclipse.

However, you can very easily add configured driver definitions as libraries
to existing Java/Plug-in projects. It is kind of hidden though, so I
understand why you might have missed it.

1) Go to your Java/Plug-in projects properties.
2) Go to the Java/Build Path property page.
3) Click on the Libraries tab
4) Click "Add Library..."
5) Select "Connectivity Driver Definition", click Next.
6) Select your favorite driver definition (Derby or whatnot)
7) Click Finish.
8) Click OK on the Properties dialog.
9) And you now have access to the driver jar(s) in your project.

Let me know if that works for you.

Our goal was to just try and integrate this like some of the other library
types in the JDT/PDE. So if you have specific usability requests, we'd love
to hear them.

Thanks!
--Fitz

"Adam Posner" <cuco2772@gmail.com> wrote in message
news:f04beccffc4f894a9595d844439865c4$1@www.eclipse.org...
> Hi everybody. I've been fooling around with Ganymede for the last couple
> weeks
> and it looks like there's no way to add an Apache Derby nature to a
> project.
> At least I havent been able to figure this out yet.
> I am able to go to the Database Dev Perspective and add new databases
> there and connect to them, but I can't go to a project in the Package
> Explorer and add a database to a project, not even a mysql database. Any
> way to get some instructions on that ? Thanks.
>
Re: Adding an Apache Derby Database to a project in Ganymede [message #592044 is a reply to message #47105] Thu, 17 July 2008 13:31 Go to previous message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 495
Registered: July 2009
Senior Member
Hey Adam!

Well... It's not quite the same as the Apache Derby plug-ins that allow some
additional funtionality to Eclipse.

However, you can very easily add configured driver definitions as libraries
to existing Java/Plug-in projects. It is kind of hidden though, so I
understand why you might have missed it.

1) Go to your Java/Plug-in projects properties.
2) Go to the Java/Build Path property page.
3) Click on the Libraries tab
4) Click "Add Library..."
5) Select "Connectivity Driver Definition", click Next.
6) Select your favorite driver definition (Derby or whatnot)
7) Click Finish.
8) Click OK on the Properties dialog.
9) And you now have access to the driver jar(s) in your project.

Let me know if that works for you.

Our goal was to just try and integrate this like some of the other library
types in the JDT/PDE. So if you have specific usability requests, we'd love
to hear them.

Thanks!
--Fitz

"Adam Posner" <cuco2772@gmail.com> wrote in message
news:f04beccffc4f894a9595d844439865c4$1@www.eclipse.org...
> Hi everybody. I've been fooling around with Ganymede for the last couple
> weeks
> and it looks like there's no way to add an Apache Derby nature to a
> project.
> At least I havent been able to figure this out yet.
> I am able to go to the Database Dev Perspective and add new databases
> there and connect to them, but I can't go to a project in the Package
> Explorer and add a database to a project, not even a mysql database. Any
> way to get some instructions on that ? Thanks.
>
Previous Topic:UML ODA Driver
Next Topic:PostgreSQL sequences
Goto Forum:
  


Current Time: Mon Dec 22 20:55:39 GMT 2014

Powered by FUDForum. Page generated in 0.01962 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software