package liquibase.ext.wildfly.config;

import java.io.File;
import java.io.IOException;
import liquibase.exception.UnexpectedLiquibaseException;

/**
 *
 * @author Andrej Petras
 */
public class Config {
   
    public static final String CONFIG_BASE = "org.lorislab.liquibase.wildfly";

    private Config() {
    }

    public static File getChangeLogHistoryFile() {
        String fileProperty = System.getProperty(CONFIG_BASE + ".file", "./databasechangelog.csv");
        try {
            return new File(fileProperty).getCanonicalFile();
        } catch (IOException e) {
            throw new UnexpectedLiquibaseException(e);
        }
    }

    public static String getLockProperty() {
        return System.getProperty(CONFIG_BASE + ".property", "org.lorislab.liquibase.wildfly.lock.tmp");
    }

}

@@ -247,29 +247,16 @@
 BASE = %22
-org.lorislab.
 liquibas
@@ -742,21 +742,8 @@
 %22, %22
-org.lorislab.
 liqu
@@ -764,12 +764,8 @@
 lock
-.tmp
 %22);%0A

Create liquibase wildfly extension.