Author: jpeterka
Date: 2011-03-25 08:55:46 -0400 (Fri, 25 Mar 2011)
New Revision: 30028
Modified:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testsuite/HibernateTest.java
Log:
hibernatebot: fixed problem with loading jdbc driver
Modified:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testsuite/HibernateTest.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testsuite/HibernateTest.java 2011-03-25
12:25:06 UTC (rev 30027)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testsuite/HibernateTest.java 2011-03-25
12:55:46 UTC (rev 30028)
@@ -169,7 +169,7 @@
in = util.getResourceFile(Activator.PLUGIN_ID,
"drv","hsqldb.jar");
}
else {
- in = util.getResourceFile(TestConfigurator.currentConfig.getDB().driverPath);
+ in = new File(TestConfigurator.currentConfig.getDB().driverPath);
}
File out = new File(Platform.getLocation() + File.separator + Project.PROJECT_NAME +
File.separator + "hsqldb.jar");