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 76908 - Introduce 'Java DB Database Location' property
Summary: Introduce 'Java DB Database Location' property
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: xtest (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2006-05-26 12:49 UTC by Martin Schovanek
Modified: 2006-05-30 12:42 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2006-05-26 12:49:46 UTC
[#200605260200, jdk1.5.0]

The current default location is ${HOME}/.netbeans-javadb but it is not suitable
for automated test execution. For this case we need a property to pass to Nb
during startup together with com.sun.aas.installRoot property.

Then please reassign it to jskrivanek to incorporate it into XTest.

The XTest default location should be set somewhere in user-dir to ensure that
each test-suite will be executed with fresh DB location.
Comment 1 Andrei Badea 2006-05-26 17:53:47 UTC
I will add a property called netbeans.derby.system.home which will override the
default value, but will be overriden by the value (if any) set in Tools -
Options - Advanced - Server and External Tool Settings - Java DB Database -
Database Location.
Comment 2 Andrei Badea 2006-05-29 15:33:09 UTC
Introduced the property.

Checking in src/org/netbeans/modules/derby/DerbyOptions.java;
/cvs/db/derby/src/org/netbeans/modules/derby/DerbyOptions.java,v  <-- 
DerbyOptions.java
new revision: 1.5.2.2.2.4; previous revision: 1.5.2.2.2.3
done
Checking in src/org/netbeans/modules/derby/spi/support/DerbySupport.java;
/cvs/db/derby/src/org/netbeans/modules/derby/spi/support/DerbySupport.java,v 
<--  DerbySupport.java
new revision: 1.5.2.2.2.6; previous revision: 1.5.2.2.2.5
done
Checking in test/unit/src/org/netbeans/modules/derby/DerbyOptionsTest.java;
/cvs/db/derby/test/unit/src/org/netbeans/modules/derby/DerbyOptionsTest.java,v 
<--  DerbyOptionsTest.java
new revision: 1.1.2.2; previous revision: 1.1.2.1
done
RCS file:
/cvs/db/derby/test/unit/src/org/netbeans/modules/derby/spi/support/Attic/DerbySupportTest.java,v
done
Checking in
test/unit/src/org/netbeans/modules/derby/spi/support/DerbySupportTest.java;
/cvs/db/derby/test/unit/src/org/netbeans/modules/derby/spi/support/Attic/DerbySupportTest.java,v
 <--  DerbySupportTest.java
new revision: 1.1.2.1; previous revision: 1.1
done
Comment 3 Jiri Skrivanek 2006-05-30 12:36:48 UTC
XTest now sets property to ${userdir}/netbeans-javadb.

Checking in ide_plugin_targets.xml;
/cvs/xtest/plugins_src/ide/lib/ide_plugin_targets.xml,v  <--  ide_plugin_targets.xml
new revision: 1.42.8.1.2.2; previous revision: 1.42.8.1.2.1
done
Comment 4 Martin Schovanek 2006-05-30 12:42:40 UTC
VERIFIED