How to install HSQLDB in Eclipse ? [message #179574] |
Sat, 11 November 2006 19:40 |
Eclipse User |
|
|
|
Originally posted by: no.spam.com
Hello,
How to install HSQLDB in Eclipse ?
I speak about hsqldb_1_8_0_7.zip.
I try something but Eclipse dont create the right packages and I got a lot
of errors.
Thanks,
Tintin92
|
|
|
Re: How to install HSQLDB in Eclipse ? [message #179591 is a reply to message #179574] |
Sun, 12 November 2006 00:58 |
J. Michael Dean, M.D. Messages: 218 Registered: July 2009 |
Senior Member |
|
|
This is easily accomplished. You just need to create a plugin with the
hsqldb.jar as the basis, and then you can access it. There is a slightly
old pair of papers on this exact topic, though what the author does is more
complicated than with current Eclipse.
Start a new project, select other, go to plug-development choices, and pick
"Plugin from existing JAR file". Follow the wizard and point at the
hsqldb.jar, and push a couple buttons, and you will have it done.
- Mike
On 11/11/06 12:40 PM, in article
106b2b30636de830ca5c10eccbed7b2c$1@www.eclipse.org, "Tintin92" <no@spam.com>
wrote:
> Hello,
>
> How to install HSQLDB in Eclipse ?
> I speak about hsqldb_1_8_0_7.zip.
> I try something but Eclipse dont create the right packages and I got a lot
> of errors.
>
> Thanks,
>
> Tintin92
>
>
|
|
|
Re: How to install HSQLDB in Eclipse ? [message #179841 is a reply to message #179591] |
Mon, 13 November 2006 11:13 |
Eclipse User |
|
|
|
Originally posted by: no.spam.com
Hello,
It's not about a jar file, it's about java files.
When I do :
File / New / Projet... / Java Projet / etc.
Then :
Fole / Import... / Archive File / Next / Browse / hsqldb_1_8_0_7.zip / etc..
I have some 1000 errors like these ones :
Source code :
package org.hsqldb;
Error :
The declared package "org.hsqldb" does not match the expected package
"hsqldb.src.org.hsqldb"
Tintin92
|
|
|
Re: How to install HSQLDB in Eclipse ? [message #179849 is a reply to message #179841] |
Mon, 13 November 2006 11:37 |
Asaf Yaffe Messages: 333 Registered: July 2009 |
Senior Member |
|
|
Tintin92 wrote:
> Hello,
>
> It's not about a jar file, it's about java files.
> When I do :
> File / New / Projet... / Java Projet / etc.
> Then :
> Fole / Import... / Archive File / Next / Browse / hsqldb_1_8_0_7.zip / etc..
> I have some 1000 errors like these ones :
> Source code :
> package org.hsqldb;
> Error :
> The declared package "org.hsqldb" does not match the expected package
> "hsqldb.src.org.hsqldb"
>
> Tintin92
>
>
It seems that Eclipse uses your project root directory (hsqldb?) as a
source folder. You need to configure the 'src' directory as the source
directory. To do that, right-click the created project, and select
Properties. Select "Java Build Path", click the "Source" tab, make sure
that the project root directory does not appear there (delete it if it
does), then click the "Add Folder" button and select your "src" folder.
HTH,
Asaf
--
Asaf Yaffe
Eclipse TPTP Committer, Platform Project (JVMTI Profiler)
|
|
|
Powered by
FUDForum. Page generated in 0.08503 seconds