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.
[#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.
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.
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
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
VERIFIED