src/com/esotericsoftware/scar/Build.java
static public void build (Project project) throws IOException {
		if (project == null) throw new IllegalArgumentException("project cannot be null.");

		buildDependencies(project);

		if (INFO) info(project.toString(), "Target: " + project.path("$target$"));

		clean(project);
		try {
			Thread.sleep(100);
		} catch (InterruptedException ignored) {
		}
		compile(project);
		try {
			Thread.sleep(100);
		} catch (InterruptedException ignored) {
		}
		jar(project);
		dist(project);

		if (paths(project.path("$target$")).filesOnly().isEmpty()) {
			if (WARN) warn(project.toString(), "Empty target folder.");
			delete(project.path("$target$"));
		}

		builtProjects.add(project.get("name"));
	}
/** Executes the buildDependencies, clean, compile, jar, and dist utility metshods. */
Executes the buildDependencies, clean, compile, jar, and dist utility metshods.
Executes the buildDependencies clean compile jar and dist utility metshods .
static public void build (Project project) throws IOException {
		if (project == null) throw new IllegalArgumentException("project cannot be null.");
		buildDependencies(project);
		if (INFO) info(project.toString(), "Target: " + project.path("$target$"));
		clean(project);
		try {
			Thread.sleep(100);
		} catch (InterruptedException ignored) {
		}
		compile(project);
		try {
			Thread.sleep(100);
		} catch (InterruptedException ignored) {
		}
		jar(project);
		dist(project);
		if (paths(project.path("$target$")).filesOnly().isEmpty()) {
			if (WARN) warn(project.toString(), "Empty target folder.");
			delete(project.path("$target$"));
		}
		builtProjects.add(project.get("name"));
	}
static public void build ( Project project ) throws IOException { if ( project == null ) throw new IllegalArgumentException ( "project cannot be null." ) ; buildDependencies ( project ) ; if ( INFO ) info ( project . toString ( ) , "Target: " + project . path ( "$target$" ) ) ; clean ( project ) ; try { Thread . sleep ( 100 ) ; } catch ( InterruptedException ignored ) { } compile ( project ) ; try { Thread . sleep ( 100 ) ; } catch ( InterruptedException ignored ) { } jar ( project ) ; dist ( project ) ; if ( paths ( project . path ( "$target$" ) ) . filesOnly ( ) . isEmpty ( ) ) { if ( WARN ) warn ( project . toString ( ) , "Empty target folder." ) ; delete ( project . path ( "$target$" ) ) ; } builtProjects . add ( project . get ( "name" ) ) ; }
Executes the buildDependencies, clean, compile, jar, and dist utility metshods.
Executes the buildDependencies clean compile jar and dist utility metshods .