Examples of executeIn()


Examples of de.saumya.mojo.ruby.script.Script.executeIn()

            script.addArg(arg);
        }
        if(environment != null && environment.trim().length() > 0){
            script.addArg("RAILS_ENV=" + environment);
        }
        script.executeIn(launchDirectory);
    }

    public void generate(final GemsInstaller installer,
            final Object repositorySystemSession,
            final File launchDirectory, final String generator,
View Full Code Here

Examples of de.saumya.mojo.ruby.script.Script.executeIn()

                .addArg("generate")
                .addArg(generator);
        for (final String arg : args) {
            script.addArg(arg);
        }
        script.executeIn(launchDirectory);
    }

    public void installGems(final GemsInstaller gemsInstaller,
            final Object repositorySystemSession)
            throws IOException, ScriptException, GemException, RailsException {
View Full Code Here

Examples of de.saumya.mojo.ruby.script.Script.executeIn()

        if (this.args != null) {
            script.addArgs(this.args);
        }

        try {
            script.executeIn(launchDirectory());
        } catch (Exception e) {
            getLog().debug("exception in running tests", e);
        }

        return resultManager.generateReports(mode, version, outputfile);
View Full Code Here

Examples of de.saumya.mojo.ruby.script.Script.executeIn()

        }
        s.addArgs(this.execArgs);
        s.addArgs(this.args);
        if (s.isValid()) {
            if(outputFile != null){
                s.executeIn(launchDirectory(), outputFile);
            }
            else {
                s.executeIn(launchDirectory());
            }
        }
View Full Code Here

Examples of de.saumya.mojo.ruby.script.Script.executeIn()

        if (s.isValid()) {
            if(outputFile != null){
                s.executeIn(launchDirectory(), outputFile);
            }
            else {
                s.executeIn(launchDirectory());
            }
        }
        else {
            getLog().warn("no arguments given. use -Dexec.script=... or -Dexec.file=...");
        }
View Full Code Here

Examples of de.saumya.mojo.ruby.script.Script.executeIn()

                    .addArg("--ignore-dependencies")
                    .addArg("-l");
            for (final String gem : gems.keySet()) {
                script.addArg(gem);
            }
            script.executeIn(launchDirectory());
        }

    }

    private MavenProject projectFromArtifact(final Artifact artifact)
View Full Code Here

Examples of de.saumya.mojo.ruby.script.Script.executeIn()

    if (this.cucumberDirectory != null) {
      script.addArg(this.cucumberDirectory);
    }

        try {
            script.executeIn(launchDirectory());
        } catch (Exception e) {
            getLog().debug("exception in running tests", e);
        }

        return resultManager.generateReports(mode, version, outputfile);
View Full Code Here

Examples of de.saumya.mojo.ruby.script.Script.executeIn()

        if (this.args != null) {
            script.addArgs(this.args);
        }

        try {
            script.executeIn(launchDirectory());
        } catch (Exception e) {
            getLog().debug("exception in running specs", e);
        }

        return resultManager.generateReports(mode, version, outputfile);
View Full Code Here

Examples of de.saumya.mojo.ruby.script.Script.executeIn()

            script.addArg("--verbose");
        }
        // add current directory
        script.addArg(".");

        script.executeIn(this.rubyDirectory == null? this.rubySourceDirectory : this.rubyDirectory);
    }

    private String fixPathSeparator(final File f) {
        // http://jira.codehaus.org/browse/JRUBY-5065
        return f.getPath().replace(System.getProperty("file.separator"), "/");
View Full Code Here

Examples of de.saumya.mojo.ruby.script.Script.executeIn()

        }
        s.addArgs(this.args);
        s.addArgs(this.jrubyArgs);
        if (s.isValid()) {
            if(outputFile != null){
                s.executeIn(launchDirectory(), outputFile);
            }
            else {
                s.executeIn(launchDirectory());
            }
        } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.