This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 146876

Summary: Rename JavaDB directory
Product: serverplugins Reporter: _ gtzabari <gtzabari>
Component: Sun Appserver 9Assignee: Vince Kraemer <vkraemer>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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