Index: trunk/ibatis-3-core/src/main/java/org/apache/ibatis/migration/commands/BaseCommand.java =================================================================== --- trunk/ibatis-3-core/src/main/java/org/apache/ibatis/migration/commands/BaseCommand.java (revision 828216) +++ trunk/ibatis-3-core/src/main/java/org/apache/ibatis/migration/commands/BaseCommand.java (working copy) @@ -228,6 +228,10 @@ private void lazyInitializeDrivers() { try { + String customDriverPath = environmentProperties().getProperty("driverPath"); + if(customDriverPath != null && customDriverPath.length()>0){ + driverPath = new File(customDriverPath); + } if (driverClassLoader == null && driverPath.exists()) { List urlList = new ArrayList(); for (File file : driverPath.listFiles()) {