Examples of GemsConfig


Examples of de.saumya.mojo.ruby.gems.GemsConfig

                    .replace("/${project.basedir}/", "/"));
            this.gemPath = new File(this.gemPath.getAbsolutePath()
                    .replace("/${project.basedir}/", "/"));
        }

        this.gemsConfig = new GemsConfig();
        try {
            this.gemsConfig.setGemHome(this.gemHome.getCanonicalFile());
            this.gemsConfig.addGemPath(this.gemPath.getCanonicalFile());
        }
        catch (IOException e) {
View Full Code Here

Examples of de.saumya.mojo.ruby.gems.GemsConfig

        classpathElements.add(".");

        // setup local rubygems repository
        this.home = new File("target");
        this.path = new File("target/rubygems");
        GemsConfig config = new GemsConfig();
        config.setGemHome(home);
        config.addGemPath(path);
       
        this.path.mkdirs();
        this.expected = "onetwothree" + SEP + this.home.getAbsolutePath() + SEP
                + this.path.getAbsolutePath() + SEP;
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.