Package com.dbdeploy.scripts

Examples of com.dbdeploy.scripts.ChangeScriptCreator


     */
    private File scriptdirectory;

    public void execute() throws MojoExecutionException {
        try {
            final ChangeScriptCreator changeScriptCreator = getConfiguredChangeScriptCreator();
            final File newChangeScript = changeScriptCreator.go();

            getLog().info("Created new change script:\n\t" + newChangeScript.getAbsolutePath());
        } catch (Exception e) {
            getLog().error(e);
            throw new MojoExecutionException("create change script failed", e);
View Full Code Here


            throw new MojoExecutionException("create change script failed", e);
        }
    }

    private ChangeScriptCreator getConfiguredChangeScriptCreator() {
        final ChangeScriptCreator changeScriptCreator = new ChangeScriptCreator();
        changeScriptCreator.setScriptDescription(name);
        changeScriptCreator.setScriptDirectory(scriptdirectory);

        return changeScriptCreator;
    }
View Full Code Here

TOP

Related Classes of com.dbdeploy.scripts.ChangeScriptCreator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.