Package com.redhat.ceylon.common.tool

Examples of com.redhat.ceylon.common.tool.ToolUsageError


        addJavacArguments(arguments);
       
        List<File> srcs = applyCwd(this.sources);
        List<String> expandedModulesOrFiles = ModuleWildcardsHelper.expandWildcards(srcs , this.modulesOrFiles);
        if (expandedModulesOrFiles.isEmpty()) {
            throw new ToolUsageError("No modules or source files to compile");
        }
       
        JavacOption sourceFileOpt = getJavacOpt(OptionName.SOURCEFILE.toString());
        if (sourceFileOpt != null) {
            for (String moduleOrFile : expandedModulesOrFiles) {
View Full Code Here


               
                msg("info.published", this.module.toString(), repoString.substring(1, repoString.length()-1));
            }
            append(".").newline();
        } else {
            throw new ToolUsageError(Messages.msg(ImportJarMessages.RESOURCE_BUNDLE, "error.problemsFound"));
        }
    }
View Full Code Here

TOP

Related Classes of com.redhat.ceylon.common.tool.ToolUsageError

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.