Permalink
Browse files

changed name to Liquibase from LiquiBase. Added ability to set dataDi…

…r in command line

git-svn-id: http://liquibase.jira.com/svn/CORE/trunk@1492 e6edf6fb-f266-4316-afb4-e53d95876a76
  • Loading branch information...
1 parent 04e74c7 commit 6c4082328d662070fe74bcf8e825a38773436ac3 nvoxland committed Jun 25, 2010
Showing with 406 additions and 221 deletions.
  1. +1 −1 BUILDING.txt
  2. +4 −4 RELEASING.txt
  3. +2 −2 changelog.txt
  4. +1 −1 liquibase-core/liquibase-core.iml
  5. +1 −1 liquibase-core/osgi.bnd
  6. +53 −21 liquibase-core/pom.xml
  7. +4 −4 liquibase-core/src/main/java/liquibase/Liquibase.java
  8. +1 −1 liquibase-core/src/main/java/liquibase/change/custom/CustomChangeWrapper.java
  9. +1 −1 liquibase-core/src/main/java/liquibase/database/AbstractDatabase.java
  10. +1 −1 liquibase-core/src/main/java/liquibase/dbdoc/HTMLWriter.java
  11. +1 −6 liquibase-core/src/main/java/liquibase/diff/DiffResult.java
  12. +1 −1 liquibase-core/src/main/java/liquibase/exception/LiquibaseException.java
  13. +1 −1 liquibase-core/src/main/java/liquibase/executor/jvm/JdbcExecutor.java
  14. +2 −2 liquibase-core/src/main/java/liquibase/jvm/integration/ant/BaseLiquibaseTask.java
  15. +11 −8 liquibase-core/src/main/java/liquibase/jvm/integration/commandline/Main.java
  16. +5 −5 liquibase-core/src/main/java/liquibase/jvm/integration/servlet/LiquibaseServletListener.java
  17. +5 −5 liquibase-core/src/main/java/liquibase/jvm/integration/servlet/LiquibaseStatusServlet.java
  18. +1 −1 liquibase-core/src/main/java/liquibase/jvm/integration/spring/SpringLiquibase.java
  19. +1 −1 liquibase-core/src/main/java/liquibase/lockservice/DatabaseChangeLogLock.java
  20. +1 −1 liquibase-core/src/main/java/liquibase/lockservice/LockService.java
  21. +1 −1 liquibase-core/src/main/java/liquibase/parser/core/xml/LiquibaseEntityResolver.java
  22. +1 −1 liquibase-core/src/main/java/liquibase/parser/core/xml/XMLChangeLogSAXHandler.java
  23. +8 −4 liquibase-core/src/main/java/liquibase/precondition/CustomPreconditionWrapper.java
  24. +6 −0 liquibase-core/src/main/java/liquibase/precondition/Precondition.java
  25. +10 −0 liquibase-core/src/main/java/liquibase/precondition/core/AndPrecondition.java
  26. +10 −0 liquibase-core/src/main/java/liquibase/precondition/core/ChangeLogPropertyDefinedPrecondition.java
  27. +10 −0 liquibase-core/src/main/java/liquibase/precondition/core/ChangeSetExecutedPrecondition.java
  28. +9 −3 liquibase-core/src/main/java/liquibase/precondition/core/ColumnExistsPrecondition.java
  29. +10 −0 liquibase-core/src/main/java/liquibase/precondition/core/DBMSPrecondition.java
  30. +9 −3 liquibase-core/src/main/java/liquibase/precondition/core/ForeignKeyExistsPrecondition.java
  31. +9 −3 liquibase-core/src/main/java/liquibase/precondition/core/IndexExistsPrecondition.java
  32. +9 −0 liquibase-core/src/main/java/liquibase/precondition/core/NotPrecondition.java
  33. +9 −0 liquibase-core/src/main/java/liquibase/precondition/core/OrPrecondition.java
  34. +9 −3 liquibase-core/src/main/java/liquibase/precondition/core/PrimaryKeyExistsPrecondition.java
  35. +9 −0 liquibase-core/src/main/java/liquibase/precondition/core/RunningAsPrecondition.java
  36. +9 −3 liquibase-core/src/main/java/liquibase/precondition/core/SequenceExistsPrecondition.java
  37. +9 −3 liquibase-core/src/main/java/liquibase/precondition/core/SqlPrecondition.java
  38. +9 −0 liquibase-core/src/main/java/liquibase/precondition/core/TableExistsPrecondition.java
  39. +9 −3 liquibase-core/src/main/java/liquibase/precondition/core/ViewExistsPrecondition.java
  40. +2 −2 liquibase-core/src/main/java/liquibase/servicelocator/ServiceLocator.java
  41. +3 −3 liquibase-core/src/main/java/liquibase/sqlgenerator/SqlGenerator.java
  42. +1 −1 liquibase-core/src/main/java/liquibase/statement/SqlStatement.java
  43. +1 −1 liquibase-core/src/main/resources/META-INF/MANIFEST.MF
  44. +1 −1 liquibase-core/src/main/resources/overview.html
  45. +10 −0 liquibase-core/src/test/java/liquibase/precondition/MockPrecondition.java
  46. +22 −0 liquibase-core/src/test/java/liquibase/util/StringUtilsTest.java
  47. +25 −18 liquibase-integration-tests/pom.xml
  48. +1 −1 ...se-integration-tests/src/test/java/liquibase/dbtest/unsupported/UnsupportedDBIntegrationTest.java
  49. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/asany/complete/root.changelog.xml
  50. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/cache/complete/root.changelog.xml
  51. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/common/schema.tests.changelog.xml
  52. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/db2/complete/root.changelog.xml
  53. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/derby/complete/root.changelog.xml
  54. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/firebird/complete/root.changelog.xml
  55. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/h2/complete/root.changelog.xml
  56. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/hsqldb/complete/root.changelog.xml
  57. +1 −1 ...integration-tests/src/test/resources/changelogs/informix/common-copied/schema.tests.changelog.xml
  58. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/informix/complete/root.changelog.xml
  59. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/maxdb/complete/root.changelog.xml
  60. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/mssql/complete/root.changelog.xml
  61. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/mysql/complete/root.changelog.xml
  62. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/oracle/complete/root.changelog.xml
  63. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/pgsql/complete/root.changelog.xml
  64. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/sqlite/complete/root.changelog.xml
  65. +1 −1 liquibase-integration-tests/src/test/resources/changelogs/sybase/complete/root.changelog.xml
  66. +1 −1 liquibase-maven-plugin/liquibase-maven-plugin.iml
  67. +20 −0 liquibase-maven-plugin/pom.xml
  68. +2 −2 liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/AbstractLiquibaseMojo.java
  69. +11 −0 liquibase.ipr
  70. +2 −57 pom.xml
  71. +10 −6 samples/liquibase-ext-change/pom.xml
  72. +10 −6 samples/liquibase-ext-changewithnestedtags/pom.xml
  73. +14 −10 samples/liquibase-ext-sqlgenerator/pom.xml
View
@@ -1,4 +1,4 @@
-LiquiBase core is currently built using Ant.
+Liquibase core is currently built using Ant.
The main end-builder Ant targets are:
View
@@ -49,7 +49,7 @@ POST MESSAGES TO:
--------------------------------------------------------
CORE
---------------------------------------------------------
- LiquiBase 1.4.0 has been released. Major features include:
+ Liquibase 1.4.0 has been released. Major features include:
- IntelliJ Plug-in Support
- Added support for specifying schemas in change log
@@ -67,17 +67,17 @@ xsi="http://www.w3.org/2001/XMLSchema-instance";
schemalocation="http://www.liquibase.org/xml/ns/dbchangelog/1.4
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.4.xsd";>
-Download LiquiBase 1.4 from:
+Download Liquibase 1.4 from:
http://www.liquibase.org/download
---------------------------------------------------------------
INTELLIJ
------------------------------------------------------------
-Version 1.4.1.0 of the LiquiBase IntelliJ plug-in is now available in the plug-in manager.
+Version 1.4.1.0 of the Liquibase IntelliJ plug-in is now available in the plug-in manager.
This release is primarily a bug fix release.
-The core LiquiBase library is a database refactoring and change management tool. The IntelliJ plug-in builds on the base library to make database refactoring as easy as code refactoring.
+The core Liquibase library is a database refactoring and change management tool. The IntelliJ plug-in builds on the base library to make database refactoring as easy as code refactoring.
Please let me know of any questions or comments you have
View
@@ -1,4 +1,4 @@
-LiquiBase Core Changelog
+Liquibase Core Changelog
==========================================
Change in version 2.0.M1 (2009.6.24)
@@ -287,7 +287,7 @@ Changes in version 0.7.0 (2007.3.16)
-------------------------------------
- Changed MD5Sum logic. !! Need to run 'update databasechangelog set md5sum=null' !!
- Added support for autoIncrement columns in createTableChange
-- Switched to LiquiBase name, including all package structures
+- Switched to Liquibase name, including all package structures
- Moved code to SourceForge
@@ -10,7 +10,7 @@
</configuration>
</facet>
</component>
- <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false">
+ <component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
View
@@ -43,7 +43,7 @@ Export-Package:\
# Embed-Transitive
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-LiquiBase-Package: liquibase.change,\
+Liquibase-Package: liquibase.change,\
liquibase.database,\
liquibase.diff,\
liquibase.executor,\
View
@@ -2,17 +2,32 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>liquibase-all</artifactId>
- <groupId>org.liquibase</groupId>
- <version>2.0-rc2-SNAPSHOT</version>
- </parent>
-
<modelVersion>4.0.0</modelVersion>
+ <groupId>org.liquibase</groupId>
<artifactId>liquibase</artifactId>
- <packaging>jar</packaging>
- <name>LiquiBase Library</name>
-
+ <name>Liquibase Library</name>
+ <version>2.0-rc2-SNAPSHOT</version>
+
+ <organization>
+ <name>Liquibase.org</name>
+ <url>http://www.liquibase.org</url>
+ </organization>
+
+ <licenses>
+ <license>
+ <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+ <name>Apache License, Version 2.0 </name>
+ </license>
+ </licenses>
+
+ <issueManagement>
+ <url>http://liquibase.jira.com/browse/CORE</url>
+ </issueManagement>
+
+ <scm>
+ <url>http://liquibase.jira.com/svn/CORE</url>
+ </scm>
+
<properties>
<bundle.namespace>liquibase.*</bundle.namespace>
</properties>
@@ -30,23 +45,40 @@
</dependency>
<dependency>
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- <scope>provided</scope>
- <optional>true</optional>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.easymock</groupId>
+ <artifactId>easymockclassextension</artifactId>
+ <version>2.2</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>1.6.5</version>
+ <scope>provided</scope>
+ <optional>true</optional>
</dependency>
<dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <scope>provided</scope>
- <optional>true</optional>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ <scope>provided</scope>
+ <optional>true</optional>
</dependency>
<dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring</artifactId>
- <scope>provided</scope>
- <optional>true</optional>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring</artifactId>
+ <version>2.0.6</version>
+ <scope>provided</scope>
+ <optional>true</optional>
</dependency>
+
</dependencies>
@@ -32,8 +32,8 @@
import java.util.*;
/**
- * Core LiquiBase facade.
- * Although there are several ways of executing LiquiBase (Ant, command line, etc.) they are all wrappers around this class.
+ * Core Liquibase facade.
+ * Although there are several ways of executing Liquibase (Ant, command line, etc.) they are all wrappers around this class.
*/
public class Liquibase {
@@ -199,7 +199,7 @@ private void outputHeader(String message) throws DatabaseException {
executor.comment("Change Log: " + changeLogFile);
executor.comment("Ran at: " + DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(new Date()));
executor.comment("Against: " + getDatabase().getConnection().getConnectionUserName() + "@" + getDatabase().getConnection().getURL());
- executor.comment("LiquiBase version: " + LiquibaseUtil.getBuildVersion());
+ executor.comment("Liquibase version: " + LiquibaseUtil.getBuildVersion());
executor.comment("*********************************************************************" + StreamUtil.getLineSeparator());
}
@@ -527,7 +527,7 @@ public void checkDatabaseChangeLogTable(boolean updateExistingNullChecksums, Dat
/**
* Returns true if it is "save" to migrate the database.
* Currently, "safe" is defined as running in an output-sql mode or against a database on localhost.
- * It is fine to run LiquiBase against a "non-safe" database, the method is mainly used to determine if the user
+ * It is fine to run Liquibase against a "non-safe" database, the method is mainly used to determine if the user
* should be prompted before continuing.
*/
public boolean isSafeToRunMigration() throws DatabaseException {
@@ -14,7 +14,7 @@
import java.util.TreeSet;
/**
- * Adapts CustomChange implementations to the standard change system used by LiquiBase.
+ * Adapts CustomChange implementations to the standard change system used by Liquibase.
* Custom change implementations should implement CustomSqlChange or CustomTaskChange
*
* @see liquibase.change.custom.CustomSqlChange
@@ -402,7 +402,7 @@ public void checkDatabaseChangeLogTable(boolean updateExistingNullChecksums, Dat
SqlStatement createTableStatement = new CreateDatabaseChangeLogTableStatement();
if (!canCreateChangeLogTable()) {
throw new DatabaseException("Cannot create " + escapeTableName(getDefaultSchemaName(), getDatabaseChangeLogTableName()) + " table for your database.\n\n" +
- "Please construct it manually using the following SQL as a base and re-run LiquiBase:\n\n" +
+ "Please construct it manually using the following SQL as a base and re-run Liquibase:\n\n" +
createTableStatement);
}
// If there is no table in the database for recording change history create one.
@@ -64,7 +64,7 @@ private void writeFooter(FileWriter fileWriter, String changeLog) throws IOExcep
fileWriter.append("<BR>Change Log: ");
fileWriter.append(changeLog);
fileWriter.append("<BR><BR>Generated By: ");
- fileWriter.append("<a href='http://www.liquibase.org' target='_TOP'>LiquiBase ").append(LiquibaseUtil.getBuildVersion()).append("</a>");
+ fileWriter.append("<a href='http://www.liquibase.org' target='_TOP'>Liquibase ").append(LiquibaseUtil.getBuildVersion()).append("</a>");
}
protected void writeBody(FileWriter fileWriter, Object object, List<Change> ranChanges, List<Change> changesToRun) throws IOException, DatabaseHistoryException, DatabaseException {
@@ -980,12 +980,7 @@ private void addInsertDataChanges(List<ChangeSet> changeSets, String dataDir)
String schema = referenceSnapshot.getSchema();
for (Table table : referenceSnapshot.getTables()) {
List<Change> changes = new ArrayList<Change>();
- List<Map> rs = ExecutorService.getInstance().getExecutor(
- referenceSnapshot.getDatabase()).queryForList(
- new RawSqlStatement("SELECT * FROM "
- + referenceSnapshot.getDatabase()
- .escapeTableName(schema,
- table.getName())));
+ List<Map> rs = ExecutorService.getInstance().getExecutor(referenceSnapshot.getDatabase()).queryForList(new RawSqlStatement("SELECT * FROM "+ referenceSnapshot.getDatabase().escapeTableName(schema,table.getName())));
if (rs.size() == 0) {
continue;
@@ -1,7 +1,7 @@
package liquibase.exception;
/**
- * Base class for all LiquiBase exceptions.
+ * Base class for all Liquibase exceptions.
*/
public class LiquibaseException extends Exception{
@@ -29,7 +29,7 @@
/**
* Class to simplify execution of SqlStatements. Based heavily on <a href="http://static.springframework.org/spring/docs/2.0.x/reference/jdbc.html">Spring's JdbcTemplate</a>.
* <br><br>
- * <b>Note: This class is currently intended for LiquiBase-internal use only and may change without notice in the future</b>
+ * <b>Note: This class is currently intended for Liquibase-internal use only and may change without notice in the future</b>
*/
@SuppressWarnings({"unchecked"})
public class JdbcExecutor extends AbstractExecutor implements Executor {
@@ -28,7 +28,7 @@
import java.util.logging.LogRecord;
/**
- * Base class for all Ant LiquiBase tasks. This class sets up LiquiBase and defines parameters
+ * Base class for all Ant Liquibase tasks. This class sets up Liquibase and defines parameters
* that are common to all tasks.
*/
public class BaseLiquibaseTask extends Task {
@@ -308,7 +308,7 @@ protected int mapLevelToAntLevel(Level level) {
protected boolean shouldRun() {
String shouldRunProperty = System.getProperty(Liquibase.SHOULD_RUN_SYSTEM_PROPERTY);
if (shouldRunProperty != null && !Boolean.valueOf(shouldRunProperty)) {
- log("LiquiBase did not run because '" + Liquibase.SHOULD_RUN_SYSTEM_PROPERTY + "' system property was set to false");
+ log("Liquibase did not run because '" + Liquibase.SHOULD_RUN_SYSTEM_PROPERTY + "' system property was set to false");
return false;
}
return true;
@@ -31,7 +31,7 @@
import java.util.jar.JarFile;
/**
- * Class for executing LiquiBase via the command line.
+ * Class for executing Liquibase via the command line.
*/
public class Main {
protected ClassLoader classLoader;
@@ -68,7 +68,7 @@ public static void main(String args[]) throws CommandLineParsingException, IOExc
try {
String shouldRunProperty = System.getProperty(Liquibase.SHOULD_RUN_SYSTEM_PROPERTY);
if (shouldRunProperty != null && !Boolean.valueOf(shouldRunProperty)) {
- System.out.println("LiquiBase did not run because '" + Liquibase.SHOULD_RUN_SYSTEM_PROPERTY + "' system property was set to false");
+ System.out.println("Liquibase did not run because '" + Liquibase.SHOULD_RUN_SYSTEM_PROPERTY + "' system property was set to false");
return;
}
@@ -77,7 +77,7 @@ public static void main(String args[]) throws CommandLineParsingException, IOExc
main.printHelp(System.out);
return;
} else if (args.length == 1 && "--version".equals(args[0])) {
- System.out.println("LiquiBase Version: " + LiquibaseUtil.getBuildVersion() + StreamUtil.getLineSeparator());
+ System.out.println("Liquibase Version: " + LiquibaseUtil.getBuildVersion() + StreamUtil.getLineSeparator());
return;
}
@@ -115,19 +115,19 @@ public static void main(String args[]) throws CommandLineParsingException, IOExc
if (e.getCause() instanceof ValidationFailedException) {
((ValidationFailedException) e.getCause()).printDescriptiveError(System.out);
} else {
- System.out.println("LiquiBase Update Failed: " + message + generateLogLevelWarningMessage());
+ System.out.println("Liquibase Update Failed: " + message + generateLogLevelWarningMessage());
LogFactory.getLogger().info(message, e);
}
System.exit(-1);
}
if ("update".equals(main.command)) {
- System.out.println("LiquiBase Update Successful");
+ System.out.println("Liquibase Update Successful");
} else if (main.command.startsWith("rollback") && !main.command.endsWith("SQL")) {
- System.out.println("LiquiBase Rollback Successful");
+ System.out.println("Liquibase Rollback Successful");
}
} catch (Throwable e) {
- String message = "Unexpected error running LiquiBase: " + e.getMessage();
+ String message = "Unexpected error running Liquibase: " + e.getMessage();
System.out.println(message);
LogFactory.getLogger().severe(message, e);
System.exit(-3);
@@ -345,7 +345,7 @@ protected void printHelp(PrintStream stream) {
stream.println(" --defaultsFile=</path/to/file.properties> File with default option values");
stream.println(" (default: ./liquibase.properties)");
stream.println(" --includeSystemClasspath=<true|false> Include the system classpath");
- stream.println(" in the LiquiBase classpath");
+ stream.println(" in the Liquibase classpath");
stream.println(" (default: true)");
stream.println(" --promptForNonLocalDatabase=<true|false> Prompt if non-localhost");
stream.println(" databases (default: false)");
@@ -366,6 +366,7 @@ protected void printHelp(PrintStream stream) {
stream.println("");
stream.println("Optional Diff Parameters:");
stream.println(" --referenceDriver=<jdbc.driver.ClassName> Reference Database driver class name");
+ stream.println(" --dataOutputDirectory=DIR Output data as CSV in the given directory");
stream.println("");
stream.println("Change Log Properties:");
stream.println(" -D<property.name>=<property.value> Pass a name/value pair for");
@@ -767,6 +768,8 @@ private Database createReferenceDatabaseFromCommandParams(Set<String> commandPar
password = value;
} else if ("referenceDefaultSchemaName".equalsIgnoreCase(attributeName)) {
defaultSchemaName = value;
+ } else if ("dataOutputDirectory".equalsIgnoreCase(attributeName)) {
+ dataDir = value;
}
}
@@ -20,10 +20,10 @@
import java.sql.Connection;
/**
- * Servlet listener than can be added to web.xml to allow LiquiBase to run on every application server startup.
+ * Servlet listener than can be added to web.xml to allow Liquibase to run on every application server startup.
* Using this listener allows users to know that they always have the most up to date database, although it will
* slow down application server startup slightly.
- * See the <a href="http://www.liquibase.org/manual/latest/servlet_listener_migrator.html">LiquiBase documentation</a> for
+ * See the <a href="http://www.liquibase.org/manual/latest/servlet_listener_migrator.html">Liquibase documentation</a> for
* more information.
*/
public class LiquibaseServletListener implements ServletContextListener {
@@ -69,7 +69,7 @@ public void contextInitialized(ServletContextEvent servletContextEvent) {
String shouldRunProperty = System.getProperty(Liquibase.SHOULD_RUN_SYSTEM_PROPERTY);
if (shouldRunProperty != null && !Boolean.valueOf(shouldRunProperty)) {
- LogFactory.getLogger().info("LiquiBase did not run on " + hostName + " because '" + Liquibase.SHOULD_RUN_SYSTEM_PROPERTY + "' system property was set to false");
+ LogFactory.getLogger().info("Liquibase did not run on " + hostName + " because '" + Liquibase.SHOULD_RUN_SYSTEM_PROPERTY + "' system property was set to false");
return;
}
@@ -108,10 +108,10 @@ public void contextInitialized(ServletContextEvent servletContextEvent) {
setContexts(servletContextEvent.getServletContext().getInitParameter("LIQUIBASE_CONTEXTS"));
this.defaultSchema = StringUtils.trimToNull(servletContextEvent.getServletContext().getInitParameter("LIQUIBASE_DEFAULT_SCHEMA"));
if (getChangeLogFile() == null) {
- throw new RuntimeException("Cannot run LiquiBase, LIQUIBASE_CHANGELOG is not set");
+ throw new RuntimeException("Cannot run Liquibase, LIQUIBASE_CHANGELOG is not set");
}
if (getDataSource() == null) {
- throw new RuntimeException("Cannot run LiquiBase, LIQUIBASE_DATA_SOURCE is not set");
+ throw new RuntimeException("Cannot run Liquibase, LIQUIBASE_DATA_SOURCE is not set");
}
try {
Oops, something went wrong.

0 comments on commit 6c40823

Please sign in to comment.