Bug 146876 - Rename JavaDB directory
Rename JavaDB directory
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9
6.x
All All
: P4 (vote)
: 6.x
Assigned To: Vince Kraemer
issues@serverplugins
:
: 146879 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-11 05:50 UTC by _ gtzabari
Modified: 2009-05-25 21:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2008-09-11 05:50:25 UTC
dev build 200809081401

The Java DB library resides in "JAVADB_DRIVER_LABEL". This seems a bit unprofessional and I suspect it might even be
some macro/alias not getting resolved to the real name. I am expecting a directory called "JavaDB" or "JavaDB <version>"
or something.
Comment 1 Peter Pis 2008-09-11 06:24:43 UTC
Reassigning to db.
Comment 2 John Baker 2008-09-11 06:42:14 UTC
Where do you see the folder "JAVADB_DRIVER_LABEL" ?

If you install the Java or Full version of NetBeans the Java DB used is the one bundled with Glassfish and there is no such folder.


Comment 3 _ gtzabari 2008-09-11 06:43:33 UTC
If you install 6.5 dev builds "JavaSE bundle" and import the "JavaDB" into your project then the directory
JAVADB_DRIVER_LABEL gets created in your project libraries directory.
Comment 4 _ gtzabari 2008-09-11 06:46:56 UTC
*** Issue 146879 has been marked as a duplicate of this issue. ***
Comment 5 John Baker 2008-09-11 06:49:59 UTC
If I understand correctly, "JAVADB_DRIVER_LABEL" is the name of the folder that is created in your project? 

What is the project type  of "your project" ?


Comment 6 _ gtzabari 2008-09-11 06:56:28 UTC
I am referring to: project properties -> libraries -> library folder. The "JAVADB_DRIVER_LABEL" is created under this
path. I am using a "Java Application" project.
Comment 7 John Baker 2008-09-11 07:02:33 UTC
Ok, thanks for the clarification.

I still don't see this "JAVADB_DRIVER_LABEL" folder in my environment.  I added Java DB from Glassfish as a library.

Could the "JAVADB_DRIVER_LABEL" be the folder used by Java DB and is not created by NetBeans ?
When you add the library using Libraries, this is where the folder name is specified.   You can check Tools->Libraries and check the settings of the Java DB 
library you added.

I searched NetBeans sources and can't find the string "JAVADB_DRIVER_LABEL"
Comment 8 _ gtzabari 2008-09-11 07:06:01 UTC
tools -> libraries displays a path coming out of Glassfish but once you import the library into your project's private
libraries it somehow takes the name "JAVADB_DRIVER_LABEL". That is, if I go into project properties -> libraries ->
select JavaDB -> edit, it'll show the JAR files inside a directory named "JAVADB_DRIVER_LABEL".
Comment 9 John Baker 2008-09-11 07:25:20 UTC
I see what you mean now.

I just searched Glassfish source and for some reason a folder named "JAVADB_DRIVER_LABEL" is created.  Reassigning.
Comment 10 John Baker 2008-09-11 07:25:38 UTC
I see what you mean now.

I just searched Glassfish source and for some reason a folder named "JAVADB_DRIVER_LABEL" is created.  Reassigning.
Comment 11 John Baker 2008-09-11 07:25:46 UTC
I see what you mean now.

I just searched Glassfish source and for some reason a folder named "JAVADB_DRIVER_LABEL" is created.  Reassigning.
Comment 12 John Baker 2008-09-11 07:40:45 UTC
In RegisterPointbase.java, inner class DerbyLibraryRegistrar creates a JavaDB library folder with name JAVADB_DRIVER_LABEL
Comment 13 Vince Kraemer 2008-12-24 21:56:59 UTC
not worth worrying about in 7.0 time frame


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo