Package de.mdsdacp.workflow.config

Examples of de.mdsdacp.workflow.config.ACPWorkflowConfig


            final String snippetPath, final String fileEncoding) {
        if (DEBUG) {
            System.out.println("DEBUG: " + TAG);
        }

        ACPWorkflowConfig config = ACPWorkflowConfig.getInstance();

        config.setFileEncoding(fileEncoding);
        config.setGenPath(genPath);
        config.setGenPathCodeSnippet(snippetPath);

        /*
         * Windows requires another path format as unix/linux and mac os
         */
        String osName = System.getProperty("os.name");
        if (osName.contains("Windows")) {
            config.setEcorePath(ecorePath.replaceAll("\\\\", "/"));
        } else {
            config.setEcorePath(ecorePath);
        }

        new ACPWorkflowImpl(config).run(monitor);
    }
View Full Code Here

TOP

Related Classes of de.mdsdacp.workflow.config.ACPWorkflowConfig

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.