Package com.redhat.ceylon.common.config

Examples of com.redhat.ceylon.common.config.Repositories


        }
        if (property == null) {
            throw new BuildException("'property' is a required attribute for 'ceylon-config-value'");
        }
        CeylonConfig config = getConfig();
        Repositories reps = Repositories.withConfig(config);
        Repository rep;
        String repdesc;
        if (name != null) {
            rep = reps.getRepository(name);
            repdesc = "of name '" + name + "'";
        } else {
            rep = reps.getRepositoryByTypeWithDefaults(type.name());
            repdesc = "of type '" + type.name() + "'";
        }
        if (rep != null) {
            String value = null;
            switch (key) {
View Full Code Here

TOP

Related Classes of com.redhat.ceylon.common.config.Repositories

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.