Package com.esotericsoftware.scar

Examples of com.esotericsoftware.scar.Project


import com.esotericsoftware.wildcard.Paths;
import com.robotality.jarwrapper.JarWrapper;

public class JarWrapperBuild {
  public static void main(String[] args) throws IOException{
    Project project = Build.project(".");
   
    project.set("resources", null);
    project.set("target", "./target");
    project.set("main", "com.robotality.jarwrapper.JarWrapper");
        //project.set("classpath", "/libs|scar-1.09.jar|jsonbeans-0.5.jar");
       
    build(project);
    oneJAR(project);
   
    String onejar = project.path("$target$/onejar");
   
    // 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());
   
View Full Code Here

TOP

Related Classes of com.esotericsoftware.scar.Project

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.