Package com.esotericsoftware.wildcard

Examples of com.esotericsoftware.wildcard.Paths


        File dirFile = new File(dirPath);
        if (!dirFile.exists() || !dirFile.isDirectory()) {
            throw new CedarRuntimeException("Directory does not exist.");
        }

        Paths paths = new Paths(dirPath, glob);
        for (String path : paths.getRelativePaths()) {
            contents.add(normalize(path));
        }

        return contents;
    }
View Full Code Here


    // Output ane executable jar to the output folder
    String outputPath = project.path("$target$/../dist/" + JarWrapper.version);
    paths(outputPath).delete();
   
    String jar = outputPath + "/JarWrapper-"+JarWrapper.version+".jar";
    Scar.jar(jar, paths(onejar), "com.robotality.jarwrapper.JarWrapper", new Paths());
   
    paths(".", wrapperResources.toArray(new String[0])).copyTo(outputPath);
   
    new File(outputPath + "/mac/jre").mkdir();
    new File(outputPath + "/linux/jre/32").mkdirs();
View Full Code Here

TOP

Related Classes of com.esotericsoftware.wildcard.Paths

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.